[ffc] 07/12: Clean up d/rules (CMake and pkgconfig files are no longer used)

Johannes Ring johannr-guest at moszumanska.debian.org
Thu Dec 1 20:27:37 UTC 2016


This is an automated email from the git hooks/post-receive script.

johannr-guest pushed a commit to branch master
in repository ffc.

commit 4b6d909e5cc1d4c60b692b1c3c90e704870f2672
Author: Johannes Ring <johannr at simula.no>
Date:   Thu Dec 1 20:51:08 2016 +0100

    Clean up d/rules (CMake and pkgconfig files are no longer used)
---
 debian/changelog |  3 +++
 debian/rules     | 16 +++-------------
 2 files changed, 6 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1a33ea9..b3fa2cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,9 @@ ffc (2016.2.0-1) UNRELEASED; urgency=medium
     - Remove Christophe Prud'homme from Uploaders (closes: #835006).
     - Add python-setuptools and dh-python to Build-Depends.
   * Remove patch (fixed in new upstream release).
+  * d/rules:
+    - Cleanup (CMake and pkgconfig files are no longer shipped
+      with ffc).
 
  -- Johannes Ring <johannr at simula.no>  Thu, 01 Dec 2016 20:16:46 +0100
 
diff --git a/debian/rules b/debian/rules
index e188cb3..0a35cfb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,21 +10,11 @@ override_dh_python2:
 	dh_python2
 
 override_dh_compress:
-	dh_compress -X.py -X.pdf -X.ufl
+	dh_compress -X.py -X.ufl
 
 override_dh_auto_clean:
-	rm -f cmake/templates/UFCConfig.cmake
-	rm -f cmake/templates/UFCConfigVersion.cmake
-	rm -f cmake/templates/UseUFC.cmake
-	rm -f cmake/templates/ufc-1.pc
-
-override_dh_auto_install:
-	dh_auto_install
-	sed -i "s/-Werror=format-security//g" $(CURDIR)/debian/python-ffc/usr/lib/pkgconfig/ufc-1.pc
-	sed -i "s/-g//g" $(CURDIR)/debian/python-ffc/usr/lib/pkgconfig/ufc-1.pc
-	sed -i "s/-O2//g" $(CURDIR)/debian/python-ffc/usr/lib/pkgconfig/ufc-1.pc
-	sed -i "s/-Wformat//g" $(CURDIR)/debian/python-ffc/usr/lib/pkgconfig/ufc-1.pc
-	sed -i "s|-I/usr/local/include||g" $(CURDIR)/debian/python-ffc/usr/lib/pkgconfig/ufc-1.pc
+	dh_clean
+	rm -f ffc/git_commit_hash.py
 
 .PHONY: get-orig-source
 get-orig-source:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/fenics/ffc.git



More information about the debian-science-commits mailing list