Change-Id: I79f191ff26dbc053e60cb0f1b3948406c1ee9d37
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2432
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
| ... | ... |
@@ -1,22 +1,22 @@ |
| 1 |
-Summary: The Apache Portable Runtime Utility Library |
|
| 2 |
-Name: apr-util |
|
| 3 |
-Version: 1.5.4 |
|
| 4 |
-Release: 7%{?dist}
|
|
| 5 |
-License: Apache License 2.0 |
|
| 6 |
-URL: https://apr.apache.org/ |
|
| 7 |
-Group: System Environment/Libraries |
|
| 8 |
-Vendor: VMware, Inc. |
|
| 9 |
-Distribution: Photon |
|
| 10 |
-Source0: http://archive.apache.org/dist/apr/%{name}-%{version}.tar.gz
|
|
| 1 |
+Summary: The Apache Portable Runtime Utility Library |
|
| 2 |
+Name: apr-util |
|
| 3 |
+Version: 1.5.4 |
|
| 4 |
+Release: 8%{?dist}
|
|
| 5 |
+License: Apache License 2.0 |
|
| 6 |
+URL: https://apr.apache.org/ |
|
| 7 |
+Group: System Environment/Libraries |
|
| 8 |
+Vendor: VMware, Inc. |
|
| 9 |
+Distribution: Photon |
|
| 10 |
+Source0: http://archive.apache.org/dist/apr/%{name}-%{version}.tar.gz
|
|
| 11 | 11 |
%define sha1 apr-util=72cc3ac693b52fb831063d5c0de18723bc8e0095 |
| 12 |
-%define apuver 1 |
|
| 13 |
- |
|
| 14 |
-BuildRequires: apr-devel |
|
| 15 |
-BuildRequires: openssl |
|
| 16 |
-BuildRequires: openssl-devel |
|
| 17 |
-BuildRequires: nss-devel |
|
| 18 |
-Requires: apr |
|
| 19 |
-Requires: openssl |
|
| 12 |
+%define apuver 1 |
|
| 13 |
+ |
|
| 14 |
+BuildRequires: apr-devel |
|
| 15 |
+BuildRequires: openssl |
|
| 16 |
+BuildRequires: openssl-devel |
|
| 17 |
+BuildRequires: nss-devel |
|
| 18 |
+Requires: apr |
|
| 19 |
+Requires: openssl |
|
| 20 | 20 |
%description |
| 21 | 21 |
The Apache Portable Runtime Utility Library. |
| 22 | 22 |
|
| ... | ... |
@@ -42,7 +42,7 @@ This package provides the LDAP support for the apr-util. |
| 42 | 42 |
%package pgsql |
| 43 | 43 |
Group: Development/Libraries |
| 44 | 44 |
Summary: APR utility library PostgreSQL DBD driver |
| 45 |
-BuildRequires: postgresql |
|
| 45 |
+BuildRequires: postgresql-devel |
|
| 46 | 46 |
Requires: apr-util |
| 47 | 47 |
Requires: postgresql |
| 48 | 48 |
|
| ... | ... |
@@ -111,12 +111,14 @@ rm -rf $RPM_BUILD_ROOT |
| 111 | 111 |
%{_libdir}/apr-util-%{apuver}/apr_dbd_sqlite*
|
| 112 | 112 |
|
| 113 | 113 |
%changelog |
| 114 |
-* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.5.4-7 |
|
| 115 |
-- GA - Bump release of all rpms |
|
| 114 |
+* Thu Apr 13 2017 Xiaolin Li <xiaolinl@vmware.com> 1.5.4-8 |
|
| 115 |
+- BuildRequires postgresql-devel. |
|
| 116 |
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.5.4-7 |
|
| 117 |
+- GA - Bump release of all rpms |
|
| 116 | 118 |
* Wed Apr 13 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.5.4-6 |
| 117 | 119 |
- remove libexpat files |
| 118 |
-* Tue Sep 22 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.5.4-5 |
|
| 119 |
-- Updated build-requires after creating devel package for apr. |
|
| 120 |
+* Tue Sep 22 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.5.4-5 |
|
| 121 |
+- Updated build-requires after creating devel package for apr. |
|
| 120 | 122 |
* Wed Sep 16 2015 Xiaolin Li <xiaolinl@vmware.com> 1.5.4-4 |
| 121 | 123 |
- Seperate Separate apr-util to apr-util, apr-util-devel, aprutil-ldap, apr-util-pgsql, and apr-utilsqlite. |
| 122 | 124 |
* Wed Jul 15 2015 Sarah Choi <sarahc@vmware.com> 1.5.4-4 |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: PostgreSQL database engine |
| 2 | 2 |
Name: postgresql |
| 3 | 3 |
Version: 9.5.4 |
| 4 |
-Release: 1%{?dist}
|
|
| 4 |
+Release: 2%{?dist}
|
|
| 5 | 5 |
License: PostgreSQL |
| 6 | 6 |
URL: www.postgresql.org |
| 7 | 7 |
Group: Applications/Databases |
| ... | ... |
@@ -44,6 +44,15 @@ PostgreSQL client program or interface. You will need to install this package |
| 44 | 44 |
to use any other PostgreSQL package or any clients that need to connect to a |
| 45 | 45 |
PostgreSQL server. |
| 46 | 46 |
|
| 47 |
+%package devel |
|
| 48 |
+Summary: Development files for postgresql. |
|
| 49 |
+Group: Development/Libraries |
|
| 50 |
+Requires: postgresql = %{version}-%{release}
|
|
| 51 |
+ |
|
| 52 |
+%description devel |
|
| 53 |
+The postgresql-devel package contains libraries and header files for |
|
| 54 |
+developing applications that use postgresql. |
|
| 55 |
+ |
|
| 47 | 56 |
%prep |
| 48 | 57 |
%setup -q |
| 49 | 58 |
%build |
| ... | ... |
@@ -94,18 +103,11 @@ rm -rf %{buildroot}/*
|
| 94 | 94 |
%{_bindir}/postgres
|
| 95 | 95 |
%{_bindir}/postmaster
|
| 96 | 96 |
%{_bindir}/vacuumlo
|
| 97 |
-%{_datadir}/postgresql/*
|
|
| 98 |
-%{_libdir}/libpgcommon.a
|
|
| 99 |
-%{_libdir}/libpgport.a
|
|
| 100 |
-%{_libdir}/libpq.a
|
|
| 101 | 97 |
%{_libdir}/postgresql/*
|
| 102 | 98 |
%{_docdir}/postgresql/extension/*.example
|
| 103 |
-%{_includedir}/postgresql/*
|
|
| 104 |
-%exclude %{_includedir}/postgresql/informix/*
|
|
| 105 |
-%exclude %{_includedir}/postgresql/internal/*
|
|
| 106 |
-%exclude %{_libdir}/debug/
|
|
| 107 | 99 |
%exclude %{_datadir}/postgresql/pg_service.conf.sample
|
| 108 | 100 |
%exclude %{_datadir}/postgresql/psqlrc.sample
|
| 101 |
+%{_datadir}/postgresql/*
|
|
| 109 | 102 |
|
| 110 | 103 |
%files libs |
| 111 | 104 |
%{_bindir}/clusterdb
|
| ... | ... |
@@ -124,39 +126,28 @@ rm -rf %{buildroot}/*
|
| 124 | 124 |
%{_bindir}/psql
|
| 125 | 125 |
%{_bindir}/reindexdb
|
| 126 | 126 |
%{_bindir}/vacuumdb
|
| 127 |
-%{_includedir}/ecpg_config.h
|
|
| 128 |
-%{_includedir}/ecpg_informix.h
|
|
| 129 |
-%{_includedir}/ecpgerrno.h
|
|
| 130 |
-%{_includedir}/ecpglib.h
|
|
| 131 |
-%{_includedir}/ecpgtype.h
|
|
| 132 |
-%{_includedir}/libpq-events.h
|
|
| 133 |
-%{_includedir}/libpq-fe.h
|
|
| 134 |
-%{_includedir}/libpq/libpq-fs.h
|
|
| 135 |
-%{_includedir}/pg_config.h
|
|
| 136 |
-%{_includedir}/pg_config_ext.h
|
|
| 137 |
-%{_includedir}/pg_config_manual.h
|
|
| 138 |
-%{_includedir}/pg_config_os.h
|
|
| 139 |
-%{_includedir}/pgtypes_date.h
|
|
| 140 |
-%{_includedir}/pgtypes_error.h
|
|
| 141 |
-%{_includedir}/pgtypes_interval.h
|
|
| 142 |
-%{_includedir}/pgtypes_numeric.h
|
|
| 143 |
-%{_includedir}/pgtypes_timestamp.h
|
|
| 144 |
-%{_includedir}/postgres_ext.h
|
|
| 145 |
-%{_includedir}/postgresql/informix/*
|
|
| 146 |
-%{_includedir}/postgresql/internal/*
|
|
| 147 |
-%{_includedir}/sql3types.h
|
|
| 148 |
-%{_includedir}/sqlca.h
|
|
| 149 |
-%{_includedir}/sqlda-compat.h
|
|
| 150 |
-%{_includedir}/sqlda-native.h
|
|
| 151 |
-%{_includedir}/sqlda.h
|
|
| 152 |
-%{_libdir}/libecpg*
|
|
| 153 |
-%{_libdir}/libpgtypes*
|
|
| 154 |
-%{_libdir}/libpq*
|
|
| 155 |
-%{_libdir}/pkgconfig/*
|
|
| 127 |
+%{_libdir}/libecpg*.so.*
|
|
| 128 |
+%{_libdir}/libpgtypes*.so.*
|
|
| 129 |
+%{_libdir}/libpq*.so.*
|
|
| 156 | 130 |
%{_datadir}/postgresql/pg_service.conf.sample
|
| 157 | 131 |
%{_datadir}/postgresql/psqlrc.sample
|
| 158 | 132 |
|
| 133 |
+%files devel |
|
| 134 |
+%defattr(-,root,root) |
|
| 135 |
+%{_includedir}/*
|
|
| 136 |
+%{_libdir}/pkgconfig/*
|
|
| 137 |
+%{_libdir}/libpgcommon.a
|
|
| 138 |
+%{_libdir}/libpgport.a
|
|
| 139 |
+%{_libdir}/libpq.a
|
|
| 140 |
+%{_libdir}/libecpg*.a
|
|
| 141 |
+%{_libdir}/libpgtypes*.a
|
|
| 142 |
+%{_libdir}/libecpg*.so
|
|
| 143 |
+%{_libdir}/libpgtypes*.so
|
|
| 144 |
+%{_libdir}/libpq*.so
|
|
| 145 |
+ |
|
| 159 | 146 |
%changelog |
| 147 |
+* Thu Apr 13 2017 Xiaolin Li <xiaolinl@vmware.com> 9.5.4-2 |
|
| 148 |
+- Added postgresql-devel. |
|
| 160 | 149 |
* Wed Apr 05 2017 Xiaolin Li <xiaolinl@vmware.com> 9.5.4-1 |
| 161 | 150 |
- Updated to version 9.5.4. |
| 162 | 151 |
* Thu Dec 15 2016 Xiaolin Li <xiaolinl@vmware.com> 9.5.3-4 |