SHA256
8
0
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:
2012-01-20 14:35:24 +00:00
committed by Git OBS Bridge
parent 774b584b6c
commit c20f32da6d
2 changed files with 6 additions and 5 deletions

View File

@@ -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

View File

@@ -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