Attached is the diff for the NMU I'm about to do for trac to fix bug
#366827 (trac: FTBFS: Clean rule fails on clean package).

-- 
When in doubt, use brute force.
diff -u trac-0.9.5/debian/control trac-0.9.5/debian/control
--- trac-0.9.5/debian/control
+++ trac-0.9.5/debian/control
@@ -1,7 +1,7 @@
 Source: trac
 Section: web
 Priority: optional
-Build-Depends-Indep: debhelper (>= 4.0.0), python2.3-dev, cdbs, python
+Build-Depends-Indep: debhelper (>= 4.1.0), python2.3-dev, cdbs, python
 Maintainer: Jesus Climent <[EMAIL PROTECTED]>
 Uploaders: Otavio Salvador <[EMAIL PROTECTED]>
 Standards-Version: 3.6.2
diff -u trac-0.9.5/debian/changelog trac-0.9.5/debian/changelog
--- trac-0.9.5/debian/changelog
+++ trac-0.9.5/debian/changelog
@@ -1,3 +1,14 @@
+trac (0.9.5-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix debian/rules clean target so it doesn't break by trying to remove
+    files even when they don't exist. Closes: #366827.
+  * Updated build dependency for debhelper to be at leat 4.1.0, since that
+    is required for cdbs's debhelper.mk to work (according to linda, at
+    least).
+
+ -- Lars Wirzenius <[EMAIL PROTECTED]>  Sun, 21 May 2006 07:41:47 +0300
+
 trac (0.9.5-1) unstable; urgency=high
 
   * New upstream release.
diff -u trac-0.9.5/debian/rules trac-0.9.5/debian/rules
--- trac-0.9.5/debian/rules
+++ trac-0.9.5/debian/rules
@@ -7,7 +7,7 @@
 DEB_INSTALL_DOCS_ALL=$(filter-out $(DEB_INSTALL_CHANGELOGS_ALL),$(shell for f in contrib README RELEASE UPGRADE AUTHORS THANKS; do if test -s $(DEB_SRCDIR)/$$f; then echo $(DEB_SRCDIR)/$$f; fi; done))
 
 clean::
-	rm trac/__init__.pyc
+	rm -f trac/__init__.pyc
 
 binary-post-install/trac::
 	chmod 755 debian/trac/usr/lib/python2.3/site-packages/trac/test.py

Reply via email to