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) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@ Name: libxslt-python
BuildRequires: libxml2-python libxslt-devel python-devel BuildRequires: libxml2-python libxslt-devel python-devel
Summary: Python Bindings for libxslt Summary: Python Bindings for libxslt
Version: 1.1.24 Version: 1.1.24
Release: 19 Release: 20
License: X11/MIT License: X11/MIT
Group: Development/Libraries/Python Group: Development/Libraries/Python
Source: libxslt-%{version}.tar.bz2 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 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) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 BuildRequires: libgcrypt libgcrypt-devel libgpg-error libgpg-error-devel libxml2-devel
Summary: XSL Transformation Library Summary: XSL Transformation Library
Version: 1.1.24 Version: 1.1.24
Release: 18 Release: 19
License: X11/MIT License: X11/MIT
Group: System/Libraries Group: System/Libraries
# bug437293 # bug437293
@ -86,8 +86,8 @@ to develop applications that require these.
%build %build
autoreconf --force --install autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
%configure --without-python %configure --disable-static --with-pic --without-python
make %{__make} %{?jobs:-j%jobs}
%check %check
make check make check
@ -96,6 +96,7 @@ make check
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
# Unwanted doc stuff # Unwanted doc stuff
rm -fr $RPM_BUILD_ROOT%{_datadir}/doc rm -fr $RPM_BUILD_ROOT%{_datadir}/doc
%{__rm} -f %{buildroot}%{_libdir}/*.la
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -114,7 +115,6 @@ rm -rf $RPM_BUILD_ROOT
%files devel %files devel
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_libdir}/*a
%{_libdir}/*.sh %{_libdir}/*.sh
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_includedir}/* %{_includedir}/*
@ -125,6 +125,10 @@ rm -rf $RPM_BUILD_ROOT
%doc doc/*.html doc/html doc/tutorial doc/*.gif %doc doc/*.html doc/html doc/tutorial doc/*.gif
%changelog %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 * Wed Dec 10 2008 olh@suse.de
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade - use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
(bnc#437293) (bnc#437293)