OBS User unknown 2009-01-29 22:16:31 +00:00 committed by Git OBS Bridge
parent 70a40bf243
commit 57cc5fc31d
3 changed files with 18 additions and 7 deletions

View File

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

View File

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

View File

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