This commit is contained in:
parent
7fe8770c0b
commit
c6b00c8004
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 7 19:39:45 CEST 2009 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- remove static libraries, see bnc#509945 for details
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Feb 22 18:37:26 CET 2009 - ro@suse.de
|
Sun Feb 22 18:37:26 CET 2009 - ro@suse.de
|
||||||
|
|
||||||
|
17
xz.spec
17
xz.spec
@ -20,7 +20,7 @@
|
|||||||
Name: xz
|
Name: xz
|
||||||
Summary: A Program for Compressing Files
|
Summary: A Program for Compressing Files
|
||||||
Version: 4.999.8beta
|
Version: 4.999.8beta
|
||||||
Release: 4
|
Release: 5
|
||||||
Group: Productivity/Archiving/Compression
|
Group: Productivity/Archiving/Compression
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Url: http://tukaani.org/lzma/
|
Url: http://tukaani.org/lzma/
|
||||||
@ -102,17 +102,15 @@ Authors:
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
AUTOPOINT=true autoreconf -fi
|
AUTOPOINT=true autoreconf -fi
|
||||||
./configure CFLAGS="$RPM_OPT_FLAGS" \
|
%configure --libdir=/%{_lib} --disable-static --with-pic
|
||||||
--prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir}
|
|
||||||
make %{?jobs:-j%jobs}
|
make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_lib}
|
%{__mkdir_p} %{buildroot}%{_libdir}
|
||||||
mv $RPM_BUILD_ROOT%{_libdir}/liblzma.so.* $RPM_BUILD_ROOT/%{_lib}
|
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/liblzma.so) %{buildroot}%{_libdir}/liblzma.so
|
||||||
ln -sf /%{_lib}/liblzma.so.0 $RPM_BUILD_ROOT%{_libdir}/liblzma.so
|
%{__mv} -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
|
||||||
#empty dependency_libs
|
%{__rm} -v %{buildroot}/%{_lib}/liblzma.{so,la}
|
||||||
rm -f $RPM_BUILD_ROOT/%{_lib}/*.la
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -fr $RPM_BUILD_ROOT
|
rm -fr $RPM_BUILD_ROOT
|
||||||
@ -136,10 +134,11 @@ rm -fr $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
%{_includedir}/lzma
|
%{_includedir}/lzma
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%{_libdir}/lib*.*a
|
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jun 07 2009 crrodriguez@suse.de
|
||||||
|
- remove static libraries, see bnc#509945 for details
|
||||||
* Sun Feb 22 2009 ro@suse.de
|
* Sun Feb 22 2009 ro@suse.de
|
||||||
- added baselibs.conf (for rpm-32bit)
|
- added baselibs.conf (for rpm-32bit)
|
||||||
* Mon Feb 16 2009 coolo@suse.de
|
* Mon Feb 16 2009 coolo@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user