Own %{_pkgdocdir}.

- Fix *-python egg version numbering.
epel9
Ralf Corsépius 11 years ago
parent 39747836d4
commit fb16fc623b

@ -4,7 +4,7 @@
Name: gumbo-parser
Version: 1.0
Release: 0.4.%{snapdate}git%{shortcommit}%{?dist}
Release: 0.5.%{snapdate}git%{shortcommit}%{?dist}
Summary: A HTML5 parser
License: ASL 2.0
@ -69,6 +69,9 @@ sed -i -e 's,\$generatedby,Generated on $date for $projectname by,' footer.html
# Update Doxyfile
doxygen -u Doxyfile
# Propagate the version number into setup.py
# to fix egg version number
sed -i -e 's,{{VERSION}},%version,' setup.py
%build
%configure --disable-static --disable-silent-rules --docdir=%{_pkgdocdir}
@ -103,7 +106,7 @@ install -m 644 {COPYING,*.md} ${RPM_BUILD_ROOT}%{_pkgdocdir}
%files
%doc %{_pkgdocdir}/COPYING
%{_pkgdocdir}
%exclude %{_pkgdocdir}/html
%exclude %{_pkgdocdir}/*.md
%{_libdir}/*.so.*
@ -120,6 +123,10 @@ install -m 644 {COPYING,*.md} ${RPM_BUILD_ROOT}%{_pkgdocdir}
%{python3_sitelib}/*
%changelog
* Fri Jun 27 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.0-0.5.20131204git87b99f2
- Own %%{_pkgdocdir}.
- Fix *-python egg version numbering.
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.4.20131204git87b99f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

Loading…
Cancel
Save