Skip to content

Commit

Permalink
Debian: Upload for PostgreSQL 13.
Browse files Browse the repository at this point in the history
* Use dh --with pgxs.
* R³: no.
* DH 13.
* debian/tests: Use 'make' instead of postgresql-server-dev-all.
  • Loading branch information
df7cb committed Oct 19, 2020
1 parent 862908c commit 974cfe6
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 29 deletions.
12 changes: 10 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
pg-snakeoil (1.3-2) UNRELEASED; urgency=medium
pg-snakeoil (1.3-2) unstable; urgency=medium

[ Debian Janitor ]
* Bump debhelper from deprecated 9 to 10.
* Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
Repository-Browse.

-- Debian Janitor <[email protected]> Tue, 28 Apr 2020 22:50:31 +0000
[ Christoph Berg ]
* Upload for PostgreSQL 13.
* Use dh --with pgxs.
* R³: no.
* DH 13.
* debian/tests: Use 'make' instead of postgresql-server-dev-all.

-- Christoph Berg <[email protected]> Mon, 19 Oct 2020 11:45:56 +0200

pg-snakeoil (1.3-1) unstable; urgency=medium

Expand Down
1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

11 changes: 6 additions & 5 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ Priority: optional
Maintainer: Debian PostgreSQL Maintainers <[email protected]>
Uploaders: Christoph Berg <[email protected]>
Build-Depends:
debhelper (>= 10~),
debhelper-compat (= 13),
libclamav-dev,
postgresql-server-dev-all (>= 153~),
Standards-Version: 4.2.1
postgresql-all (>= 217~),
Standards-Version: 4.5.0
Rules-Requires-Root: no
Vcs-Browser: https://github.com/credativ/pg_snakeoil
Vcs-Git: https://github.com/credativ/pg_snakeoil.git

Package: postgresql-12-snakeoil
Package: postgresql-13-snakeoil
Architecture: any
Depends:
postgresql-12,
postgresql-13,
${misc:Depends},
${shlibs:Depends},
Recommends:
Expand Down
7 changes: 4 additions & 3 deletions debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ Priority: optional
Maintainer: Debian PostgreSQL Maintainers <[email protected]>
Uploaders: Christoph Berg <[email protected]>
Build-Depends:
debhelper (>= 10~),
debhelper-compat (= 13),
libclamav-dev,
postgresql-server-dev-all (>= 153~),
Standards-Version: 4.2.1
postgresql-all (>= 217~),
Standards-Version: 4.5.0
Rules-Requires-Root: no
Vcs-Browser: https://github.com/credativ/pg_snakeoil
Vcs-Git: https://github.com/credativ/pg_snakeoil.git

Expand Down
17 changes: 3 additions & 14 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
#!/usr/bin/make -f

include /usr/share/postgresql-common/pgxs_debian_control.mk

override_dh_auto_build:
+pg_buildext build build-%v

override_dh_auto_test:
# nothing to do here, see debian/tests/* instead

override_dh_auto_install:
+pg_buildext install build-%v postgresql-%v-snakeoil

override_dh_installdocs:
dh_installdocs --all README.*

override_dh_auto_clean:
+pg_buildext clean build-%v
override_dh_pgxs_test:
pg_buildext -o "pg_snakeoil.signature_dir=$(CURDIR)/testfiles" installcheck . . postgresql-%v-snakeoil

%:
dh $@
dh $@ --with pgxs
3 changes: 0 additions & 3 deletions debian/source/lintian-overrides

This file was deleted.

2 changes: 1 addition & 1 deletion debian/tests/control
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Depends: @, postgresql-server-dev-all
Depends: @, make
Tests: installcheck
Restrictions: allow-stderr

0 comments on commit 974cfe6

Please sign in to comment.