setup: rebase to 5.0

- macros are now automatically generated
- there are convenient macros for testing other
  packages against postgresql-server

Resolves: rhbz#1368477, rhbz#1368480
Version: 9.6.0-1
This commit is contained in:
Pavel Raiskup 2016-10-04 12:39:42 +02:00
parent 041e748b02
commit bb1db959b3
3 changed files with 8 additions and 8 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
/postgresql-setup-4.0.tar.gz
/postgresql-setup-5.0.tar.gz
/postgresql-9.5.4.tar.bz2
/postgresql-9.5.4.tar.bz2.sha256
/postgresql-9.6.0-US.pdf

View File

@ -85,7 +85,7 @@ Url: http://www.postgresql.org/
%global prevversion 9.5.4
%global prevmajorversion 9.5
%global setup_version 4.0
%global setup_version 5.0
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
# The PDF file is generated by generate-pdf.sh, which see for comments
@ -100,7 +100,7 @@ Source11: postgresql-bashprofile
# Temporary location of postgresql-setup. Development git:
# http://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup.git/
Source12: http://praiskup.fedorapeople.org/proj/postgresql-setup/postgresql-setup-%{setup_version}.tar.gz
Source12: https://github.com/devexp-db/postgresql-setup/releases/download/v%{setup_version}/postgresql-setup-%{setup_version}.tar.gz
# Those here are just to enforce packagers check that the tarball was downloaded
# correctly. Also, this allows us check that packagers-only tarballs do not
@ -675,10 +675,6 @@ make DESTDIR=$RPM_BUILD_ROOT install-world
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/contrib
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/extension
echo "%%%{name}_major %{majorversion}" > macros.%{name}
install -D -m 644 macros.%{name} \
$RPM_BUILD_ROOT%{macrosdir}/macros.%{name}
# multilib header hack; some headers are installed in two places!
for header in \
%{_includedir}/pg_config.h \
@ -1118,6 +1114,7 @@ fi
%{_datadir}/pgsql/tsearch_data/
%dir %{_datadir}/postgresql-setup
%{_datadir}/postgresql-setup/library.sh
%{_datadir}/postgresql-setup/postgresql_pkg_tests.sh
%{_libdir}/pgsql/*_and_*.so
%{_libdir}/pgsql/dict_snowball.so
%{_libdir}/pgsql/euc2004_sjis2004.so
@ -1213,6 +1210,9 @@ fi
%endif
%changelog
* Tue Oct 04 2016 Pavel Raiskup <praiskup@redhat.com> - 9.6.0-1
- rebase the postgresql-setup tarball
* Fri Sep 30 2016 Pavel Raiskup <praiskup@redhat.com> - 9.6.0-1
- update to 9.6.0 per release notes:
https://www.postgresql.org/docs/9.6/static/release-9-6.html

View File

@ -1,4 +1,4 @@
3cd80dbdb03dba0131d7b6a11ae1a24c postgresql-setup-4.0.tar.gz
155acd3ada68b20f4ee0fa918ef0e912 postgresql-setup-5.0.tar.gz
ad36fcf624748b8ed67783ad04529f43 postgresql-9.5.4.tar.bz2
791291e31348bf4619048a8b06e2231d postgresql-9.5.4.tar.bz2.sha256
3e0ebaec6809351b3ed66bf8fb39d0db postgresql-9.6.0-US.pdf