From 57cc5fc31d452f8cd88ddaf8ec51b40c2e24ccdba1316e82f4e29d0a0ea4e60c Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 29 Jan 2009 22:16:31 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxslt?expand=0&rev=10 --- libxslt-python.spec | 4 ++-- libxslt.changes | 7 +++++++ libxslt.spec | 14 +++++++++----- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/libxslt-python.spec b/libxslt-python.spec index 0ca4f62..b66d3f7 100644 --- a/libxslt-python.spec +++ b/libxslt-python.spec @@ -1,7 +1,7 @@ # # spec file for package libxslt-python (Version 1.1.24) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: libxslt-python BuildRequires: libxml2-python libxslt-devel python-devel Summary: Python Bindings for libxslt Version: 1.1.24 -Release: 19 +Release: 20 License: X11/MIT Group: Development/Libraries/Python Source: libxslt-%{version}.tar.bz2 diff --git a/libxslt.changes b/libxslt.changes index 6746189..4806599 100644 --- a/libxslt.changes +++ b/libxslt.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jan 26 18:18:17 CET 2009 - crrodriguez@suse.de + +- remove useless "la" file +- remove static libraries, if something breaks, move libraries to /%{_lib} + instead of restoring them + ------------------------------------------------------------------- Wed Dec 10 12:34:56 CET 2008 - olh@suse.de diff --git a/libxslt.spec b/libxslt.spec index 8e823fb..7790806 100644 --- a/libxslt.spec +++ b/libxslt.spec @@ -1,7 +1,7 @@ # # spec file for package libxslt (Version 1.1.24) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: libxslt BuildRequires: libgcrypt libgcrypt-devel libgpg-error libgpg-error-devel libxml2-devel Summary: XSL Transformation Library Version: 1.1.24 -Release: 18 +Release: 19 License: X11/MIT Group: System/Libraries # bug437293 @@ -86,8 +86,8 @@ to develop applications that require these. %build autoreconf --force --install CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ -%configure --without-python -make +%configure --disable-static --with-pic --without-python +%{__make} %{?jobs:-j%jobs} %check make check @@ -96,6 +96,7 @@ make check make DESTDIR=$RPM_BUILD_ROOT install # Unwanted doc stuff rm -fr $RPM_BUILD_ROOT%{_datadir}/doc +%{__rm} -f %{buildroot}%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT @@ -114,7 +115,6 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-, root, root) %{_libdir}/lib*.so -%{_libdir}/*a %{_libdir}/*.sh %{_libdir}/pkgconfig/*.pc %{_includedir}/* @@ -125,6 +125,10 @@ rm -rf $RPM_BUILD_ROOT %doc doc/*.html doc/html doc/tutorial doc/*.gif %changelog +* Mon Jan 26 2009 crrodriguez@suse.de +- remove useless "la" file +- remove static libraries, if something breaks, move libraries to /%%{_lib} + instead of restoring them * Wed Dec 10 2008 olh@suse.de - use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade (bnc#437293)