diff --git a/gumbo-parser.spec b/gumbo-parser.spec index dba7837..0e1a3db 100644 --- a/gumbo-parser.spec +++ b/gumbo-parser.spec @@ -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 - 1.0-0.5.20131204git87b99f2 +- Own %%{_pkgdocdir}. +- Fix *-python egg version numbering. + * Sat Jun 07 2014 Fedora Release Engineering - 1.0-0.4.20131204git87b99f2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild