- Fix build by not using %exclude
- Fix build on SLE OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxslt?expand=0&rev=14
This commit is contained in:
parent
b29054d958
commit
f301b514bc
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
10
libxslt.spec
10
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user