r46987 - in /packages/fenics/ffc/trunk/debian: changelog rules

johannr-guest at users.alioth.debian.org johannr-guest at users.alioth.debian.org
Tue Jan 13 11:32:39 UTC 2015


Author: johannr-guest
Date: Tue Jan 13 11:32:39 2015
New Revision: 46987

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=46987
Log:
* debian/rules: Remove bad directives in pkg-config file ufc-1.pc to
  keep lintian happy.


Modified:
    packages/fenics/ffc/trunk/debian/changelog
    packages/fenics/ffc/trunk/debian/rules

Modified: packages/fenics/ffc/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/ffc/trunk/debian/changelog?rev=46987&op=diff
==============================================================================
--- packages/fenics/ffc/trunk/debian/changelog	(original)
+++ packages/fenics/ffc/trunk/debian/changelog	Tue Jan 13 11:32:39 2015
@@ -1,3 +1,10 @@
+ffc (1.5.0-2) unstable; urgency=medium
+
+  * debian/rules: Remove bad directives in pkg-config file ufc-1.pc to
+    keep lintian happy.
+
+ -- Johannes Ring <johannr at simula.no>  Tue, 13 Jan 2015 09:18:41 +0100
+
 ffc (1.5.0-1) unstable; urgency=medium
 
   * New upstream release.

Modified: packages/fenics/ffc/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/fenics/ffc/trunk/debian/rules?rev=46987&op=diff
==============================================================================
--- packages/fenics/ffc/trunk/debian/rules	(original)
+++ packages/fenics/ffc/trunk/debian/rules	Tue Jan 13 11:32:39 2015
@@ -18,6 +18,14 @@
 	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
+
 .PHONY: get-orig-source
 get-orig-source:
 	uscan --force-download --verbose --destdir $(USCAN_DESTDIR)




More information about the debian-science-commits mailing list