[SCM] Debian packaging for suitesparse branch, master, updated. debian/1%4.2.1-1-4-g6987870

Sébastien Villemot sebastien at debian.org
Wed May 15 15:30:54 UTC 2013


The following commit has been merged in the master branch:
commit e3825aa2b0173481a897d21fd73df768d4516737
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Wed May 15 17:19:51 2013 +0200

    d/rules: do not regenerate d/control automatically, this is forbidden

diff --git a/debian/changelog b/debian/changelog
index d13134c..64b8eb1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ suitesparse (1:4.2.1-2) UNRELEASED; urgency=low
     - add libopenblas-dev as a BLAS alternative (Closes: #645844)
   * Remove Daniel Rus Morales from Uploaders, with his consent. Thanks
     Daniel for your work!
+  * d/rules: do not regenerate d/control automatically, this is
+    forbidden
 
  -- Sébastien Villemot <sebastien at debian.org>  Wed, 08 May 2013 18:16:03 +0200
 
diff --git a/debian/rules b/debian/rules
index b2fddc6..4d71ce9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,9 +18,11 @@ $(foreach lib, $(LIBRARIES), $(eval $(lib) = $(shell perl debian/library-soname.
 # Lists of lib*.install files
 INSTALL_FILES = $(foreach lib, $(LIBRARIES), debian/$($(lib)).install)
 
-# This is for debian/control
-%: %.in debian/library-soname.pl
-	sed "$(foreach lib, $(LIBRARIES), s/@$(lib)@/$($(lib))/g;)" < $< > $@
+# Rule for regenerating debian/control from debian/control.in
+# Note that this should not be automatized, see http://ftp-master.debian.org/REJECT-FAQ.html
+generate-debian-control: debian/control.in debian/library-soname.pl
+	sed "$(foreach lib, $(LIBRARIES), s/@$(lib)@/$($(lib))/g;)" < debian/control.in > debian/control
+.PHONY: generate-debian-control
 
 # Generate rules for debian/lib*.install
 $(foreach lib, $(LIBRARIES), $(eval debian/$($(lib)).%: debian/%/$(lib) ; cp $$< $$@))

-- 
Debian packaging for suitesparse



More information about the debian-science-commits mailing list