SHA256
1
0
forked from pool/rrdtool
OBS User unknown 2008-08-02 03:32:30 +00:00 committed by Git OBS Bridge
parent 73e464a9e2
commit bb465ed747
2 changed files with 17 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 28 21:31:41 CEST 2008 - coolo@suse.de
- remove la files and static libs (to fix depending packages)
-------------------------------------------------------------------
Mon Jun 30 17:18:41 CEST 2008 - schwab@suse.de

View File

@ -17,7 +17,7 @@ Group: Productivity/Scientific/Math
AutoReqProv: on
Requires: perl = %{perl_version}
Version: 1.3.0
Release: 1
Release: 10
Source: %{name}-%{version}.tar.bz2
Source1: cgilib-0.5.tar.bz2
Patch: %{name}-%{version}.diff
@ -95,10 +95,11 @@ make DESTDIR=$RPM_BUILD_ROOT install_vendor
popd
%perl_process_packlist
#fix build (it would be better to split cgilib)
sed 's/[[:space:]]*-L\/usr\/src\/packages\/BUILD\/%{name}-%{version}\/lb\/lib[[:space:]]*/ /' $RPM_BUILD_ROOT/%{_libdir}/librrd.la > tmp
mv tmp $RPM_BUILD_ROOT/%{_libdir}/librrd.la
sed 's/[[:space:]]*-L\/usr\/src\/packages\/BUILD\/%{name}-%{version}\/lb\/lib[[:space:]]*/ /' $RPM_BUILD_ROOT/%{_libdir}/librrd_th.la > tmp
mv tmp $RPM_BUILD_ROOT/%{_libdir}/librrd_th.la
#sed 's/[[:space:]]*-L\/usr\/src\/packages\/BUILD\/%{name}-%{version}\/lb\/lib[[:space:]]*/ /' $RPM_BUILD_ROOT/%{_libdir}/librrd.la > tmp
#mv tmp $RPM_BUILD_ROOT/%{_libdir}/librrd.la
#sed 's/[[:space:]]*-L\/usr\/src\/packages\/BUILD\/%{name}-%{version}\/lb\/lib[[:space:]]*/ /' $RPM_BUILD_ROOT/%{_libdir}/librrd_th.la > tmp
#mv tmp $RPM_BUILD_ROOT/%{_libdir}/librrd_th.la
rm $RPM_BUILD_ROOT/%{_libdir}/librrd_th.la $RPM_BUILD_ROOT/%{_libdir}/librrd.la $RPM_BUILD_ROOT/%{_libdir}/librrd_th.a $RPM_BUILD_ROOT/%{_libdir}/librrd.a
# documentation
install -m 644 CHANGES CONTRIBUTORS COPYING COPYRIGHT README TODO $RPM_BUILD_ROOT/%{_docdir}/%{name}
# Script libraries for Tcl extensions should be in a package-specific
@ -152,11 +153,11 @@ Authors:
%defattr(-, root, root)
/usr/include/*
%{_libdir}/librrd_th.so
%{_libdir}/librrd.a
%{_libdir}/librrd.la
#%{_libdir}/librrd.a
#%{_libdir}/librrd.la
%{_libdir}/librrd.so
%{_libdir}/librrd_th.a
%{_libdir}/librrd_th.la
#%{_libdir}/librrd_th.a
#%{_libdir}/librrd_th.la
%package -n python-rrdtool
License: GPL v2 or later
@ -184,6 +185,8 @@ Authors:
%{py_sitedir}/*
%changelog
* Mon Jul 28 2008 coolo@suse.de
- remove la files and static libs (to fix depending packages)
* Mon Jun 30 2008 schwab@suse.de
- Fix configure script and use of libtool.
* Fri Jun 27 2008 anicka@suse.cz