Update for upstream release.

This commit is contained in:
Steve Milner 2015-08-24 09:56:58 -04:00
parent fabe34d6cc
commit 3a11b6cb93
3 changed files with 17 additions and 13 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
Pygments-1.3.1.tar.gz
/Pygments-1.4.tar.gz
/Pygments-1.6.tar.gz
/Pygments-2.0.2.tar.gz

View File

@ -21,8 +21,8 @@
%global upstream_name Pygments
Name: python-pygments
Version: 1.6
Release: 4%{?dist}
Version: 2.0.2
Release: 1%{?dist}
Summary: Syntax highlighting engine written in Python
Group: Development/Libraries
@ -146,17 +146,17 @@ popd
%if 0%{?with_python26}
pushd %{py26dir}
%{__python26} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%{__python26} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
popd
%endif # with_python26
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
pushd docs
%{__python} setup.py build_sphinx
pushd doc
install -d %{buildroot}%{_mandir}/man1
mv pygmentize.1 $RPM_BUILD_ROOT%{_mandir}/man1/pygmentize.1
mv build html
mv src reST
popd
cp -r doc/docs doc/reST
%clean
rm -rf $RPM_BUILD_ROOT
@ -184,7 +184,7 @@ popd
%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGES docs/html docs/reST LICENSE TODO
%doc AUTHORS CHANGES build/sphinx/html doc/reST LICENSE TODO
# For noarch packages: sitelib
%{python_sitelib}/*
%{_bindir}/pygmentize
@ -193,19 +193,22 @@ popd
%if 0%{?with_python3}
%files -n python3-pygments
%defattr(-,root,root,-)
%doc AUTHORS CHANGES docs/html docs/reST LICENSE TODO
%doc AUTHORS CHANGES build/sphinx/html doc/reST LICENSE TODO
%{python3_sitelib}/*
%endif # with_python3
%if 0%{?with_python26}
%files -n python26-pygments
%defattr(-,root,root,-)
%doc AUTHORS CHANGES docs/ LICENSE TODO
%doc AUTHORS CHANGES doc/ LICENSE TODO
%{python26_sitelib}/*
%endif # with_python26
%changelog
* Mon Aug 24 2015 Steve Milner <smilner@redhat.com> - 2.0.2-1
- update for upstream release.
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
@ -274,7 +277,7 @@ popd
* Fri Apr 23 2010 David Malcolm <dmalcolm@redhat.com> - 1.3.1-3
- add python3 subpackage (BZ#537244), ignoring soft-dep on imaging for now
* Sat Apr 13 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.1-2
* Tue Apr 13 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.1-2
- added python-imaging as a dependency per BZ#581663.
* Sat Mar 6 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.1-1
@ -295,7 +298,7 @@ popd
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0-2
- Rebuild for Python 2.6
* Fri Nov 27 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.0-1
* Thu Nov 27 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.0-1
- Updated for upstream 1.0.
* Sun Sep 14 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.11.1-1
@ -310,7 +313,7 @@ popd
* Mon Nov 12 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.9-1
- Updated for upstream 0.9.
* Thu Aug 17 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.8.1-2
* Fri Aug 17 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.8.1-2
- Removed the dos2unix build dependency.
* Thu Jun 28 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.8.1-1

View File

@ -1 +1 @@
a18feedf6ffd0b0cc8c8b0fbdb2027b1 Pygments-1.6.tar.gz
238587a1370d62405edabd0794b3ec4a Pygments-2.0.2.tar.gz