[Pkg-ocaml-maint-commits] [SCM] dose3 packaging branch, master, updated. upstream/0.7-76-gedd643c
Ralf Treinen
treinen at free.fr
Fri Dec 3 19:10:10 UTC 2010
The following commit has been merged in the master branch:
commit fd6dedb5d81932051c71709e87b26dce637d927b
Author: Ralf Treinen <treinen at free.fr>
Date: Sat Nov 27 12:48:28 2010 +0100
versioning is no longer needed. Compile with rpm.
diff --git a/debian/rules b/debian/rules
index e0bfa93..462c59d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,10 @@
#!/usr/bin/make -f
-SHELL=/bin/bash
-
-SRCV := $(shell dpkg-parsechangelog | sed -n '/^Version:/{s|Version: *||p;q}')
-
-# binary packages that have their version with epoch 1
-EPOCHED = ":edos-distcheck:edos-builddebcheck:ceve:"
%:
dh $@ --with ocaml
override_dh_auto_configure:
- ./configure --with-xml --with-ocamlgraph -- with-zip --with-bz2
+ ./configure --with-xml --with-ocamlgraph \
+ -- with-zip --with-bz2 --with-rpm
-override_dh_gencontrol:
- for pkg in `dh_listpackages`; do\
- if [[ $(EPOCHED) =~ .*:$$pkg:.* ]];\
- then dh_gencontrol -p$$pkg -- -v1:$(SRCV);\
- else dh_gencontrol -p$$pkg;\
- fi;\
- done
--
dose3 packaging
More information about the Pkg-ocaml-maint-commits
mailing list