Commit 0913bc0d authored by Christoph Berg's avatar Christoph Berg

Remove dependency on dctrl-tools; rewrite control file updating in perl. As a...

Remove dependency on dctrl-tools; rewrite control file updating in perl. As a side effect, generated debian/control files will no longer have a trailing empty line.
parent fbbb8e86
Pipeline #78617 passed with stage
in 7 minutes and 43 seconds
......@@ -5,6 +5,9 @@ postgresql-common (208) UNRELEASED; urgency=medium
* README.Debian: Redirect reference to architecture.html to README.md.gz.
(Closes: #942021)
* README.Devel: Remove, bzr is long obsolete.
* Remove dependency on dctrl-tools; rewrite control file updating in perl.
As a side effect, generated debian/control files will no longer have a
trailing empty line.
-- Christoph Berg <myon@debian.org> Fri, 27 Sep 2019 11:08:30 +0200
......
......@@ -81,7 +81,6 @@ Description: manager for multiple PostgreSQL client versions
Package: postgresql-server-dev-all
Architecture: all
Depends:
dctrl-tools,
make,
postgresql-common (>= 117~),
${misc:Depends},
......
......@@ -177,9 +177,9 @@ gencontrol() {
fi
trap "rm -f $tmpcontrol ${tmptestscontrol:-}" 0 2 3 15
grep-dctrl -vP PGVERSION debian/control.in > $tmpcontrol
perl -000 -ne 'print unless /PGVERSION/' debian/control.in > $tmpcontrol
for v in $(versions); do
grep-dctrl -P PGVERSION debian/control.in | sed -e "s:PGVERSION:$v:g" >> $tmpcontrol
perl -000 -ne 'print if /PGVERSION/' debian/control.in | sed -e "s:PGVERSION:$v:g" >> $tmpcontrol
done
if [ -f debian/tests/control.in ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment