postgresql-test-rpm-macros subpackage
We used to provide the functionality under postgresql-devel subpackage, but that one has already too much purposes (we build against that both client tools and server modules, using that for tests is too much). Newly, the postgresql-server package is automatically added as transitive dependency, so the typical fix for dependant packages would be: - BuildRequires: postgresql-devel - BuildRequires: postgresql-server + BuildRequires: postgresql-test-rpm-macros (when the package doesn't need header files from postgresql-devel) Version: 10.3-2
This commit is contained in:
parent
fa3717b8d2
commit
50065a2277
@ -259,6 +259,15 @@ Embedded C Postgres preprocessor. You need to install this package if you want
|
|||||||
to develop applications which will interact with a PostgreSQL server.
|
to develop applications which will interact with a PostgreSQL server.
|
||||||
|
|
||||||
|
|
||||||
|
%package test-rpm-macros
|
||||||
|
Summary: Convenience RPM macros for build-time testing against PostgreSQL server
|
||||||
|
Requires: %{name}-server = %precise_version
|
||||||
|
|
||||||
|
%description test-rpm-macros
|
||||||
|
This package is meant to be added as BuildRequires: dependency of other packages
|
||||||
|
that want to run build-time testsuite against running PostgreSQL server.
|
||||||
|
|
||||||
|
|
||||||
%package static
|
%package static
|
||||||
Summary: Statically linked PostgreSQL libraries
|
Summary: Statically linked PostgreSQL libraries
|
||||||
Requires: %{name}-devel%{?_isa} = %precise_version
|
Requires: %{name}-devel%{?_isa} = %precise_version
|
||||||
@ -1011,7 +1020,6 @@ make -C postgresql-setup-%{setup_version} check
|
|||||||
%{_datadir}/pgsql/tsearch_data/
|
%{_datadir}/pgsql/tsearch_data/
|
||||||
%dir %{_datadir}/postgresql-setup
|
%dir %{_datadir}/postgresql-setup
|
||||||
%{_datadir}/postgresql-setup/library.sh
|
%{_datadir}/postgresql-setup/library.sh
|
||||||
%{_datadir}/postgresql-setup/postgresql_pkg_tests.sh
|
|
||||||
%{_libdir}/pgsql/*_and_*.so
|
%{_libdir}/pgsql/*_and_*.so
|
||||||
%{_libdir}/pgsql/dict_snowball.so
|
%{_libdir}/pgsql/dict_snowball.so
|
||||||
%{_libdir}/pgsql/euc2004_sjis2004.so
|
%{_libdir}/pgsql/euc2004_sjis2004.so
|
||||||
@ -1064,6 +1072,12 @@ make -C postgresql-setup-%{setup_version} check
|
|||||||
%{_mandir}/man3/SPI_*
|
%{_mandir}/man3/SPI_*
|
||||||
%{macrosdir}/macros.%name
|
%{macrosdir}/macros.%name
|
||||||
|
|
||||||
|
|
||||||
|
%files test-rpm-macros
|
||||||
|
%{macrosdir}/macros.%name-test
|
||||||
|
%{_datadir}/postgresql-setup/postgresql_pkg_tests.sh
|
||||||
|
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
%{_libdir}/libpgcommon.a
|
%{_libdir}/libpgcommon.a
|
||||||
%{_libdir}/libpgport.a
|
%{_libdir}/libpgport.a
|
||||||
@ -1120,6 +1134,7 @@ make -C postgresql-setup-%{setup_version} check
|
|||||||
- define %%precise_version helper macro
|
- define %%precise_version helper macro
|
||||||
- drop explicit libpq.so provide from *-libs
|
- drop explicit libpq.so provide from *-libs
|
||||||
- update postgresql-setup tarball
|
- update postgresql-setup tarball
|
||||||
|
- add postgresql-test-rpm-macros package
|
||||||
|
|
||||||
* Thu Mar 01 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-1
|
* Thu Mar 01 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-1
|
||||||
- update to 10.3 per release notes:
|
- update to 10.3 per release notes:
|
||||||
|
Loading…
Reference in New Issue
Block a user