rpms/postgresql-odbcng/devel postgresql-odbcng.spec,1.7,1.8

Michael Schwendt mschwendt at fedoraproject.org
Wed Nov 18 08:38:03 UTC 2009


Author: mschwendt

Update of /cvs/pkgs/rpms/postgresql-odbcng/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6324

Modified Files:
	postgresql-odbcng.spec 
Log Message:
* Wed Nov 18 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 0.99.101-0.4.test1
- Fix library symlinks installation (#460900).
  Use "make install ..." and delete unused files.



Index: postgresql-odbcng.spec
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql-odbcng/devel/postgresql-odbcng.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- postgresql-odbcng.spec	26 Jul 2009 19:16:04 -0000	1.7
+++ postgresql-odbcng.spec	18 Nov 2009 08:38:03 -0000	1.8
@@ -3,7 +3,7 @@
 Name:		postgresql-%{sname}
 Summary:	PostgreSQL ODBCng driver
 Version:	0.99.101
-Release:	0.3.test1%{?dist}
+Release:	0.4.test1%{?dist}
 License:	LGPLv2
 Group:		Applications/Databases
 Url:		http://projects.commandprompt.com/public/%{sname}
@@ -32,18 +32,16 @@ libtoolize --force
 autoconf
 
 %build
-
+# warning: unrecognized option --with-ssl
 %configure --with-ssl
 
 make
 
 %install
 rm -rf %{buildroot}
-install -m 755 -d %{buildroot}/%{_libdir}
-install -m 755 ./.libs/libmodbc.so* %{buildroot}/%{_libdir}
+make destdir=%{buildroot} DESTDIR=%{buildroot} install
+rm -f %{buildroot}%{_libdir}/*{.a,.la}
 
-pushd %{buildroot}/%{_libdir}
-popd
 
 %clean
 rm -rf %{buildroot}
@@ -53,10 +51,14 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root)
-%attr(755,root,root) %{_libdir}/libmodbc.so*
+%{_libdir}/libmodbc.so*
 %doc COPYING COPYRIGHT LICENSE.txt
 
 %changelog
+* Wed Nov 18 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 0.99.101-0.4.test1
+- Fix library symlinks installation (#460900).
+  Use "make install ..." and delete unused files.
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.99.101-0.3.test1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the scm-commits mailing list