[Python-modules-commits] r4632 - in packages/pyclamd/trunk/debian (rules)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sun Feb 24 23:00:29 UTC 2008


    Date: Sunday, February 24, 2008 @ 23:00:27
  Author: piotr
Revision: 4632

well, changelog contains licence info as well

Modified:
  packages/pyclamd/trunk/debian/rules

Modified: packages/pyclamd/trunk/debian/rules
===================================================================
--- packages/pyclamd/trunk/debian/rules	2008-02-24 22:53:50 UTC (rev 4631)
+++ packages/pyclamd/trunk/debian/rules	2008-02-24 23:00:27 UTC (rev 4632)
@@ -27,16 +27,14 @@
 	sed -i "s/\/var\/run\/clamd/\/var\/run\/clamav\/clamd.ctl/g" $(STMPDIR)/pyclamd.py
 	wget --quiet -O $(STMPDIR)/TMPCHANGELOG http://xael.org/norman/python/pyclamd/CHANGELOG
 	grep -A99999 "CHANGELOG" $(STMPDIR)/TMPCHANGELOG > $(STMPDIR)/CHANGELOG
-	rm $(STMPDIR)/TMPCHANGELOG
-	wget --quiet -O $(STMPDIR)/TMPLICENCE http://xael.org/norman/python/pyclamd/
-	if grep -qs '>GNU General Public License<' $(STMPDIR)/TMPLICENCE ; then \
+	if grep -qs 'GNU General Public License' $(STMPDIR)/TMPCHANGELOG; then \
 		cp /usr/share/common-licenses/GPL $(STMPDIR)/COPYING; \
-		rm $(STMPDIR)/TMPLICENCE;\
 	else \
-		@echo "Licence or webpage change detected, aborting...";\
+		@echo "Possible licence change detected, aborting...";\
 		rm -rf $(BTMPDIR);\
 		exit 1;\
 	fi
+	rm $(STMPDIR)/TMPCHANGELOG
 	cd $(BTMPDIR); tar -czvf $(CURDIR)/../pyclamd_$(VERSION).orig.tar.gz pyclamd-$(VERSION)
 	rm -r $(BTMPDIR)
 	# Tarball generated successfully.




More information about the Python-modules-commits mailing list