[packages/pwdb] package ghost soname symlink
glen
glen at pld-linux.org
Thu May 8 23:30:02 CEST 2014
commit 92f7011396c71fff31a04357767a9fc580d5fefb
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri May 9 00:29:55 2014 +0300
package ghost soname symlink
pwdb.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/pwdb.spec b/pwdb.spec
index 78d6623..8c18cb9 100644
--- a/pwdb.spec
+++ b/pwdb.spec
@@ -5,7 +5,7 @@ Summary(pl.UTF-8): Biblioteka danych o użytkownikach
Summary(tr.UTF-8): Parola veri tabanı arşivi
Name: pwdb
Version: 0.62
-Release: 1
+Release: 2
License: BSD or GPL
Group: Base
Source0: http://pkgs.fedoraproject.org/repo/pkgs/compat-pwdb/pwdb-0.62.tar.gz/1a1fd0312040ef37aa741d09465774b4/%{name}-%{version}.tar.gz
@@ -92,12 +92,13 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_includedir}/pwdb,%{_libdir
INCLUDED=$RPM_BUILD_ROOT%{_includedir}/pwdb \
LIBDIR=$RPM_BUILD_ROOT/%{_lib}
-install conf/pwdb.conf $RPM_BUILD_ROOT%{_sysconfdir}/pwdb.conf
+cp -p conf/pwdb.conf $RPM_BUILD_ROOT%{_sysconfdir}/pwdb.conf
mv -f $RPM_BUILD_ROOT/%{_lib}/libpwdb.a $RPM_BUILD_ROOT%{_libdir}
%{__rm} $RPM_BUILD_ROOT/%{_lib}/libpwdb.so
ln -sf /%{_lib}/libpwdb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libpwdb.so
+/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -110,6 +111,7 @@ rm -rf $RPM_BUILD_ROOT
%doc CHANGES CREDITS Copyright README doc/pwdb.txt doc/html/*.html
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pwdb.conf
%attr(755,root,root) /%{_lib}/libpwdb.so.*.*
+%attr(755,root,root) /%{_lib}/libpwdb.so.0
%files devel
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pwdb.git/commitdiff/92f7011396c71fff31a04357767a9fc580d5fefb
More information about the pld-cvs-commit
mailing list