move pg_config from devel to main package

postgresql-server: require postgresql-contrib [release 13.2-2mamba;Mon Mar 29 2021]
This commit is contained in:
Silvan Calarco 2024-01-06 10:27:02 +01:00
parent 3275106bdf
commit 25d1d9f9e6

View File

@ -4,7 +4,7 @@
Name: postgresql
Version: 13.2
Release: 1mamba
Release: 2mamba
Summary: An object-relational database management system (ORDBMS)
Group: Applications/Databases
Vendor: openmamba
@ -19,16 +19,22 @@ Patch0: postgresql-13.1-run-socket.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libicu-devel
BuildRequires: libkrb5-devel
BuildRequires: libllvm-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libpam-devel
BuildRequires: libperl
BuildRequires: libpython3-devel
BuildRequires: libreadline-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsystemd-devel
BuildRequires: libtcl-devel
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: flex
@ -36,7 +42,6 @@ Requires(pre): /usr/sbin/groupadd
Requires(pre): /usr/sbin/useradd
%systemd_requires
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department.
@ -58,7 +63,7 @@ Summary: Devel files for PostgreSQL
Group: Development/Libraries
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-devel
Obsoletes: %{name}-devel < 13.2
%description -n lib%{name}-devel
PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department.
@ -69,6 +74,7 @@ This package contains static libraries and header files needed for development.
Summary: PostgreSQL DBMS server
Group: System/Database
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-contrib = %{?epoch:%epoch:}%{version}-%{release}
%description server
PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department.
@ -138,6 +144,12 @@ The postgresql-docs package includes some additional documentation for PostgreSQ
--with-ldap \
--with-krb5 \
--with-gssapi \
--with-libxslt \
--with-llvm \
--with-icu \
--with-uuid=e2fs \
--with-system-tzdata=/usr/share/zoneinfo \
--with-libxml \
--with-systemd \
PYTHON=%{__python3}
@ -221,7 +233,6 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%{_bindir}/init*
#%{_bindir}/ipcclean
%{_bindir}/pg_*
%exclude %{_bindir}/pg_config
%{_bindir}/psql
%{_bindir}/reindexdb
%{_bindir}/vacuumdb
@ -244,6 +255,7 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%{_libdir}/*.so.*
%dir %{_libdir}/postgresql
%{_libdir}/postgresql/*.so
%{_libdir}/postgresql/llvmjit_types.bc
%exclude %{_libdir}/postgresql/_int.so
%exclude %{_libdir}/postgresql/adminpack.so
%exclude %{_libdir}/postgresql/autoinc.so
@ -271,12 +283,13 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%exclude %{_libdir}/postgresql/seg.so
%exclude %{_libdir}/postgresql/sslinfo.so
%exclude %{_libdir}/postgresql/tablefunc.so
%dir %{_libdir}/postgresql/bitcode
%{_libdir}/postgresql/bitcode/*
%{_datadir}/postgresql/*
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/ecpg
%{_bindir}/pg_config
%dir %{_includedir}/postgresql
%{_includedir}/postgresql/*
%dir %{_includedir}/libpq
@ -300,7 +313,6 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%files contrib
%defattr(-,root,root)
%dir %{_libdir}/postgresql
%{_libdir}/postgresql/_int.so
%{_libdir}/postgresql/adminpack.so
%{_libdir}/postgresql/autoinc.so
@ -345,6 +357,10 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%{_libdir}/postgresql/tutorial/*
%changelog
* Mon Mar 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 13.2-2mamba
- move pg_config from devel to main package
- postgresql-server: require postgresql-contrib
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 13.2-1mamba
- automatic version update by autodist