]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- rel 2; add libpq.so.3 hack auto/ac/postgresql-8_0_3-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 13 May 2005 19:53:42 +0000 (19:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postgresql.spec -> 1.327

postgresql.spec

index fd061ac2292bb746ed4d1aae8fbd89c30945b2ca..8dc0c4f30a16e34a594140435019f8be96e0d621 100644 (file)
@@ -16,7 +16,7 @@
 %bcond_without slony1                  # disable Slony-I replication system
 
 %define                postgresql_version      8.0.3
-%define                postgresql_release      1
+%define                postgresql_release      2
 %define                slony1_version  1.0.5
 %define                slony1_release  1
 
@@ -817,6 +817,7 @@ tar zxf doc/postgres.tar.gz -C doc/unpacked
 %{__make} -C contrib/tsearch2
 %{__make} -C src/tutorial \
        NO_PGXS=1
+
 %ifnarch sparc sparcv9 sparc64 alpha
 %{?with_tests:%{__make} check}
 %endif
@@ -849,6 +850,8 @@ install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{__cc} -shared -Wl,-soname,libpq.so.3 -o $RPM_BUILD_ROOT%{_libdir}/libpq.so.3 -L$RPM_BUILD_ROOT%{_libdir} -lpq
+
 %if %{with perl}
 %{__make} install -C src/pl/plperl \
        DESTDIR=$RPM_BUILD_ROOT
@@ -1042,7 +1045,7 @@ fi
 
 %files libs -f libpq.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libpq.so.*.*
+%attr(755,root,root) %{_libdir}/libpq.so.*
 %dir %{_pgmoduledir}
 
 %files ecpg
This page took 0.222956 seconds and 4 git commands to generate.