r46738 - in /packages/slepc/trunk/debian: changelog rules

trophime-guest at users.alioth.debian.org trophime-guest at users.alioth.debian.org
Tue Jun 24 11:30:28 UTC 2014


Author: trophime-guest
Date: Tue Jun 24 11:30:28 2014
New Revision: 46738

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=46738
Log:
fix #751245

Modified:
    packages/slepc/trunk/debian/changelog
    packages/slepc/trunk/debian/rules

Modified: packages/slepc/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/changelog?rev=46738&op=diff
==============================================================================
--- packages/slepc/trunk/debian/changelog	(original)
+++ packages/slepc/trunk/debian/changelog	Tue Jun 24 11:30:28 2014
@@ -1,3 +1,14 @@
+slepc (3.4.2.dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rebuild against gcc 4.9 (Closes: #751245).
+  * Add debian/source
+  * debian/rules:
+    - simplify clean target 
+    - remove patch target
+
+ -- Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>  Tue, 24 Jun 2014 10:13:59 +0200
+
 slepc (3.4.2.dfsg-2) unstable; urgency=low
 
   [ Anton Gladky ]
@@ -19,7 +30,7 @@
 
   [ Johannes Ring ]
   * Team upload.
-  * Add symlink to the configuration header (Closes: #675039).
+  * Add symlink to the configuration header (Closes: #675039
 
   [ Sylvestre Ledru ]
   * remove -dbg packages from the build dep

Modified: packages/slepc/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/slepc/trunk/debian/rules?rev=46738&op=diff
==============================================================================
--- packages/slepc/trunk/debian/rules	(original)
+++ packages/slepc/trunk/debian/rules	Tue Jun 24 11:30:28 2014
@@ -34,41 +34,28 @@
 
 clean:
 	dh_testdir
-	-if [ -e patch ]; then \
-	  debian/rules unpatch; \
-	fi
-	-mv tags thetags
-	dh_clean
-	-mv thetags tags
-	rm -f build* install* $(ARCH_GENERATED_FILES)
-	-$(MAKE) PETSC_ARCH=$(PETSC_ARCH)-c-debug PETSC_DIR=$(PETSC_DIR) \
-	  SLEPC_DIR=$(CURDIR) allclean
-	-$(MAKE) PETSC_ARCH=$(PETSC_ARCH)-c-opt PETSC_DIR=$(PETSC_DIR) \
-	  SLEPC_DIR=$(CURDIR) allclean
+	if [ -f TAGS.backup ]; then mv -f TAGS.backup TAGS; fi
+	dh_quilt_unpatch
+	dh_clean -XTAGS
+	-rm -f build* install* $(ARCH_GENERATED_FILES)
+#	-$(MAKE) PETSC_ARCH=$(PETSC_ARCH)-c-debug PETSC_DIR=$(PETSC_DIR) \
+#	  SLEPC_DIR=$(CURDIR) allclean
+#	-$(MAKE) PETSC_ARCH=$(PETSC_ARCH)-c-opt PETSC_DIR=$(PETSC_DIR) \
+#	  SLEPC_DIR=$(CURDIR) allclean
 # These probably should be removed by `make clean' but aren't
-	rm -f `find . -name \*.pyc -print`
-	rm -rf $(PETSC_ARCH)-c-debug $(PETSC_ARCH)-c-opt
-	rm -rf lib debian/extemp
-
-patch:
-	if [ ! -e $@ ]; then \
-	  QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2; \
-	fi
-	touch $@
-
-unpatch:
-	if [ -e patch ]; then \
-	  QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2; \
-	  rm -rf patch .pc; \
-	fi
-
-build-indep: patch
+	-rm -f `find . -name \*.pyc -print`
+	-rm -rf $(PETSC_ARCH)-c-debug $(PETSC_ARCH)-c-opt
+	-rm -rf lib debian/extemp
+
+build-indep: 
 # We have nothing to do by default.
+	dh_quilt_patch
 	touch $@
 
 # With debugging=1, only static libraries are generated.
 # Build optimized libs second so files are consistent with optimized.
-build-arch: patch
+build-arch: 
+	dh_quilt_patch
 	PETSC_ARCH=$(PETSC_ARCH)-c-debug PETSC_DIR=$(PETSC_DIR) \
 	  SLEPC_DIR=$(CURDIR) ./configure --with-arpack-dir=/usr/lib/debug/usr/lib \
 	  --with-arpack-flags=-lparpack,-larpack




More information about the debian-science-commits mailing list