forked from pool/log4cxx
Remove redundant sections (cf. specfile guidelines)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/log4cxx?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 20 14:09:43 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant sections (cf. specfile guidelines)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 20 13:13:40 UTC 2012 - toddrme2178@gmail.com
|
||||
|
||||
|
@@ -124,16 +124,13 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
find %{buildroot}%{_libdir} -name *.la -exec rm {} \;
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
mkdir -p %{buildroot}%{_docdir}/liblog4cxx
|
||||
mv %{buildroot}%{_datadir}/log4cxx %{buildroot}%{_docdir}/liblog4cxx
|
||||
|
||||
%post -n liblog4cxx%{soname} -p /sbin/ldconfig
|
||||
%postun -n liblog4cxx%{soname} -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
test %{buildroot} != "/" && rm -rf %{buildroot}
|
||||
|
||||
%files -n liblog4cxx%{soname}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/liblog4cxx.so.*
|
||||
@@ -146,4 +143,3 @@ test %{buildroot} != "/" && rm -rf %{buildroot}
|
||||
%{_docdir}/liblog4cxx
|
||||
|
||||
%changelog
|
||||
|
||||
|
Reference in New Issue
Block a user