Add missing files, also make sure that utils and extensions are installed, too.

This commit is contained in:
Devrim GUNDUZ 2013-09-12 09:55:39 +03:00
parent e654dba514
commit 1b51352113

View File

@ -97,11 +97,8 @@ popd
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
#install -d %{buildroot}%{_libdir}/pgsql/ make -C utils install
#install -d %{buildroot}%{_bindir}/ make -C extensions install
#install -d %{buildroot}%{_datadir}/pgsql/contrib/
#install -m 644 *.sql %{buildroot}%{_datadir}/pgsql/contrib/
#install -m 755 loader/shp2pgsql loader/shp2pgsql-gui %{buildroot}%{_bindir}/
rm -f %{buildroot}%{_datadir}/*.sql rm -f %{buildroot}%{_datadir}/*.sql
if [ "%{_libdir}" = "/usr/lib64" ] ; then if [ "%{_libdir}" = "/usr/lib64" ] ; then
@ -144,6 +141,8 @@ rm -rf %{buildroot}
%{_datadir}/pgsql/extension/postgis_topology*.sql %{_datadir}/pgsql/extension/postgis_topology*.sql
%{_datadir}/pgsql/extension/postgis.control %{_datadir}/pgsql/extension/postgis.control
%{_datadir}/pgsql/extension/postgis_topology.control %{_datadir}/pgsql/extension/postgis_topology.control
%{_datadir}/pgsql/extension/postgis_tiger_geocoder*.sql
%{_datadir}/pgsql/extension/postgis_tiger.control
%{_datadir}/postgis/svn_repo_revision.pl %{_datadir}/postgis/svn_repo_revision.pl
%{_includedir}/liblwgeom.h %{_includedir}/liblwgeom.h
%{_libdir}/liblwgeom* %{_libdir}/liblwgeom*