[med-svn] [Git][med-team/kleborate][master] 2 commits: d/{rules, *.prerm}: cleanup .fasta.{ndb, ntf} files
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Thu May 25 13:49:20 BST 2023
Étienne Mollier pushed to branch master at Debian Med / kleborate
Commits:
ac419a5d by Étienne Mollier at 2023-05-25T11:51:27+02:00
d/{rules,*.prerm}: cleanup .fasta.{ndb,ntf} files
kleborate binary package used to embed autogenerated files depending
on makeblastdb version at both build time and postinst time. When
there is a discrepancy of makeblastdb version between the package
build and the package installation, for instance during a major
operating system upgrade, there can be a mismatch of int the
.fasta.ndb and .fasta.ntf files produced and expected. This change
gets rid of the build time artifacts to solely rely on the
post-installation artifacts, which will be more consistent and won't
break the package consistency.
Closes: #1036743
- - - - -
1559bcd3 by Étienne Mollier at 2023-05-25T14:48:35+02:00
ready to upload to unstable
- - - - -
3 changed files:
- debian/changelog
- debian/kleborate.prerm
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,18 @@
+kleborate (2.3.1-2) unstable; urgency=medium
+
+ * d/{rules,*.prerm}: cleanup .fasta.{ndb,ntf} files
+ kleborate binary package used to embed autogenerated files depending
+ on makeblastdb version at both build time and postinst time. When
+ there is a discrepancy of makeblastdb version between the package
+ build and the package installation, for instance during a major
+ operating system upgrade, there can be a mismatch of int the
+ .fasta.ndb and .fasta.ntf files produced and expected. This change
+ gets rid of the build time artifacts to solely rely on the
+ post-installation artifacts, which will be more consistent and won't
+ break the package consistency. (Closes: #1036743)
+
+ -- Étienne Mollier <emollier at debian.org> Thu, 25 May 2023 14:48:18 +0200
+
kleborate (2.3.1-1) unstable; urgency=medium
* New upstream version
=====================================
debian/kleborate.prerm
=====================================
@@ -5,6 +5,8 @@ set -e
case "$1" in
remove|purge|upgrade|deconfigure)
rm -f /usr/lib/python3/dist-packages/kleborate/data/*.fasta.nin
+ rm -f /usr/lib/python3/dist-packages/kleborate/data/*.fasta.ndb
+ rm -f /usr/lib/python3/dist-packages/kleborate/data/*.fasta.ntf
;;
failed-upgrade)
;;
=====================================
debian/rules
=====================================
@@ -7,8 +7,14 @@ export LC_ALL=C
override_dh_install:
dh_install
- # fasta.nin files will be (re)build at package installation time to not contain build path
+ # fasta.nin files will be (re)build at package installation time to not
+ # contain build path. Other fasta.* are rebuilt by makeblastdb and may
+ # cause inconsistencies in the package itself when makeblastdb is
+ # upgraded and changes format, e.g. during a major operating system
+ # upgrade. See Bug#1036743.
find debian -name "*.fasta.nin" -delete
+ find debian -name "*.fasta.ndb" -delete
+ find debian -name "*.fasta.ntf" -delete
override_dh_fixperms:
dh_fixperms
View it on GitLab: https://salsa.debian.org/med-team/kleborate/-/compare/2df0e4a4644e734bbf7f5304d29bdba482ceda1c...1559bcd3f7314029ee6d8b879de665b1416ae474
--
View it on GitLab: https://salsa.debian.org/med-team/kleborate/-/compare/2df0e4a4644e734bbf7f5304d29bdba482ceda1c...1559bcd3f7314029ee6d8b879de665b1416ae474
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20230525/dd18e5e5/attachment-0001.htm>
More information about the debian-med-commit
mailing list