diff --git a/libxslt-python.changes b/libxslt-python.changes index 5890da9..00c562a 100644 --- a/libxslt-python.changes +++ b/libxslt-python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 29 09:37:15 UTC 2011 - idonmez@novell.com + +- Fix build by not using %exclude + ------------------------------------------------------------------- Fri Jul 29 03:46:57 UTC 2011 - crrodriguez@opensuse.org diff --git a/libxslt-python.spec b/libxslt-python.spec index 73c1c2f..6314c8b 100644 --- a/libxslt-python.spec +++ b/libxslt-python.spec @@ -69,20 +69,17 @@ rm -fr $RPM_BUILD_ROOT%{_datadir}/doc # #223696 find %{buildroot} -type f -name "*.la" -print -delete +# Stuff we won't package +rm -rf %{buildroot}/%{_bindir}/* %{buildroot}/%{_libdir}/lib** %{buildroot}/%{_includedir}/* +rm -rf %{buildroot}/%{_mandir}/* %{buildroot}/%{_libdir}/pkgconfig/* +rm -rf %{buildroot}/%{_libdir}/xsltConf.sh %{buildroot}/%{_datadir}/aclocal/libxslt.m4 + %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) -%exclude %{_bindir}/* -%exclude %{_libdir}/lib** -%exclude %{_includedir}/* -%exclude %{_mandir}/* -%exclude %{_libdir}/pkgconfig/* -%exclude %{_libdir}/xsltConf.sh -%exclude /usr/share/aclocal/libxslt.m4 %{py_sitedir}/* -%doc python/TODO %doc python/libxslt-python-api.xml %doc python/tests/*.py %doc python/tests/*.xml diff --git a/libxslt.changes b/libxslt.changes index d0d902f..0f780ce 100644 --- a/libxslt.changes +++ b/libxslt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 29 09:37:02 UTC 2011 - idonmez@novell.com + +- Fix build on SLE + ------------------------------------------------------------------- Fri Jul 29 01:53:38 UTC 2011 - crrodriguez@opensuse.org diff --git a/libxslt.spec b/libxslt.spec index 66fe893..d7382d6 100644 --- a/libxslt.spec +++ b/libxslt.spec @@ -26,7 +26,7 @@ Group: System/Libraries BuildRequires: libgcrypt-devel BuildRequires: libgpg-error-devel BuildRequires: pkg-config -BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: libxml2-devel # bug437293 %ifarch ppc64 Obsoletes: libxslt-64bit @@ -56,9 +56,10 @@ present in other XSLT engines. The package comes with xsltproc, a command line interface to the XSLT engine. -%package -n %{name}1 +%package -n libxslt1 Summary: XSL Transformation Library +Group: System/Libraries Provides: libxslt = %{version} Obsoletes: %{name} < %{version} Provides: xsltproc = %{version} @@ -109,11 +110,14 @@ make %{?_smp_mflags} make check %install -%make_install +%makeinstall + # Unwanted doc stuff rm -fr %{buildroot}%{_datadir}/doc + # the manual page is required install -ma=r '-t%{buildroot}%{_mandir}/man1' '%{SOURCE3}' + #kill all "la" files find %{buildroot} -type f -name "*.la" -print -delete