Fix build with unversioned %{_docdir_fmt}, ship Python examples only once.

This commit is contained in:
Ville Skyttä 2013-08-06 09:59:29 +03:00
parent 9b93662a38
commit 17dd0eb914

View File

@ -1,7 +1,7 @@
Summary: Library providing the Gnome XSLT engine
Name: libxslt
Version: 1.1.28
Release: 4%{?dist}%{?extra_release}
Release: 5%{?dist}%{?extra_release}
License: MIT
Group: Development/Libraries
Source: ftp://xmlsoft.org/XSLT/libxslt-%{version}.tar.gz
@ -74,7 +74,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
# multiarch crazyness on timestamp differences
touch -m --reference=$RPM_BUILD_ROOT/%{_includedir}/libxslt/xslt.h $RPM_BUILD_ROOT/%{_bindir}/xslt-config
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}{,-python}-%{version}
%check
make tests
@ -122,6 +122,9 @@ make tests
%doc python/tests/*.xsl
%changelog
* Tue Aug 6 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.1.28-5
- Fix build with unversioned %%{_docdir_fmt}, ship Python examples only once.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.28-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild