[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: boa (updated package)



Hi!

On 8/10/07, Francois-Denis Gonthier <neumann@lostwebsite.net> wrote:
> I have reuploaded the package on mendors.debian.net.

You don't need these lines on debian/rules. Patches are automagically
handled by /usr/share/quilt/quilt.make.

diff -urN debian.old/rules debian/rules
--- debian.old/rules	2007-08-10 23:22:09.000000000 -0300
+++ debian/rules	2007-08-10 23:26:09.000000000 -0300
@@ -11,21 +11,17 @@

 #export DH_VERBOSE=1

-export QUILT_PATCHES=debian/patches
-
 package=boa

 patch: patch-stamp
 patch-stamp:
 	dh_testdir
 	$(MAKE) -f /usr/share/quilt/quilt.make patch
-	quilt push -a
 	touch patch-stamp

 unpatch:
 	dh_testdir
-	$(MAKE) -f /usr/share/quilt/quilt.make patch
-	-quilt pop -a
+	$(MAKE) -f /usr/share/quilt/quilt.make unpatch

 build: patch-stamp build-stamp

See the build log here:
http://people.debian.org/~naoliv/misc/boa_0.94.14rc21-2_i386.build
Patches are being applied correctly:
(...)
QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch config.diff
patching file examples/boa.conf
(...)

So you just need to use /usr/share/quilt/quilt.make :-)
Take care to call it with "unpatch" instead "patch", on the unpatch
target, and it will works correctly.

Best regards,
Nelson



Reply to: