[Git][debian-proftpd-team/proftpd-mod-fsync][master] normalize debian/*, do not ship static lib

Hilmar Preuße gitlab at salsa.debian.org
Thu May 3 18:26:05 BST 2018


Hilmar Preuße pushed to branch master at Debian ProFTPD Team / proftpd-mod-fsync


Commits:
8ad8d0c6 by Hilmar Preuße at 2018-05-03T19:25:36+02:00
normalize debian/*, do not ship static lib

- - - - -


3 changed files:

- debian/changelog
- debian/copyright
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+proftpd-mod-fsync (0.3-3) UNRELEASED; urgency=medium
+
+  * Do not ship .a and .la files in final package.
+
+ -- Francesco Paolo Lovergine <frankie at debian.org>  Thu, 03 May 2018 18:10:26 +0200
+
 proftpd-mod-fsync (0.3-2) unstable; urgency=medium
 
   * Policy bumped to 4.1.4. No changes required.


=====================================
debian/copyright
=====================================
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,7 +4,7 @@ Upstream-Contact: TJ Saunders
 Source: http://www.castaglia.org/proftpd/modules/mod_fsync.html
 
 Files: *
-Copyright: 	2007-2010, TJ Saunders
+Copyright: 2007-2010, TJ Saunders
 License: GPL-2+
 
 License: GPL-2+


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -2,21 +2,22 @@
 # -*- makefile -*-
 
 export DH_VERBOSE=1
-VERSION=$(shell grep PROFTPD_VERSION_TEXT /usr/include/proftpd/version.h|cut -d\" -f2)
 MODULE_NAME=mod_fsync
 DEBNAME=proftpd-mod-fsync
 
 %:
-	dh $@ --without python-support
+	dh $@
 
 override_dh_auto_build:
 	DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -c $(MODULE_NAME).c
-	
+
 override_dh_auto_install:
 	DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -i -c $(MODULE_NAME).c
+	rm -f $(CURDIR)/debian/$(DEBNAME)/usr/lib/proftpd/*.la \
+		$(CURDIR)/debian/$(DEBNAME)/usr/lib/proftpd/*.a
 
 override_dh_gencontrol:
-	cat /usr/share/proftpd/proftpd-substvars >>$(CURDIR)/debian/$(DEBNAME).substvars
+	cat /usr/share/proftpd/proftpd-substvars >> $(CURDIR)/debian/$(DEBNAME).substvars
 	dh_gencontrol
 
 override_dh_auto_clean:



View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd-mod-fsync/commit/8ad8d0c6a7d5244f1ae22ab98522f90aa20d30f6

---
View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd-mod-fsync/commit/8ad8d0c6a7d5244f1ae22ab98522f90aa20d30f6
You're receiving this email because of your account on salsa.debian.org.


More information about the Pkg-proftpd-maintainers mailing list