mirror of
https://abf.rosa.ru/djam/python-pygments.git
synced 2025-02-23 15:02:48 +00:00
Sync with cooker
This commit is contained in:
parent
2322b98499
commit
91f44f515b
2 changed files with 15 additions and 9 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
"Pygments-1.4.tar.gz": d34f96421a86004aa5d26ecf975edefd09f948b1
|
||||
"Pygments-1.5.tar.gz": 4fbd937fd5cebc79fa4b26d4cce0868c4eec5ec5
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
%define tarname Pygments
|
||||
%define module pygments
|
||||
%define name python-%{module}
|
||||
%define version 1.4
|
||||
%define release %mkrel 2
|
||||
%define version 1.5
|
||||
%define release %mkrel 1
|
||||
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
|
@ -15,7 +15,7 @@ Source0: http://pypi.python.org/packages/source/P/%{tarname}/%{tarname}-%
|
|||
%py_requires -d
|
||||
Requires: python-pkg-resources
|
||||
BuildRequires: python-setuptools
|
||||
BuildArch: noarch
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
|
||||
%description
|
||||
|
@ -40,7 +40,7 @@ prettify source code. Highlights are:
|
|||
|
||||
%install
|
||||
%__rm -rf %{buildroot}
|
||||
PYTHONDONTWRITEBYTECODE= %{__python} setup.py install --skip-build --root=%{buildroot} --record=FILELIST
|
||||
PYTHONDONTWRITEBYTECODE= %{__python} setup.py install --skip-build --root=%{buildroot}
|
||||
mv docs/build html
|
||||
|
||||
%__mkdir -p %{buildroot}%{_mandir}/man1
|
||||
|
@ -50,16 +50,22 @@ mv docs/build html
|
|||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
%files -f FILELIST
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS CHANGES LICENSE TODO html/
|
||||
%dir %py_puresitedir/pygments/
|
||||
%_bindir/pygmentize
|
||||
%py_sitedir/pygments/*
|
||||
%py_sitedir/Pygments-*
|
||||
%_mandir/man1/pygmentize.*
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu May 05 2011 Oden Eriksson <oeriksson@mandriva.com> 1.4-2mdv2011.0
|
||||
* Sun Mar 11 2012 Lev Givon <lev@mandriva.org> 1.5-1mdv2012.0
|
||||
+ Revision: 784062
|
||||
- Update to 1.5.
|
||||
|
||||
* Thu May 05 2011 Oden Eriksson <oeriksson@mandriva.com> 1.4-2
|
||||
+ Revision: 668025
|
||||
- mass rebuild
|
||||
|
||||
|
@ -130,7 +136,7 @@ mv docs/build html
|
|||
- kill re-definition of %%buildroot on Pixel's request
|
||||
- fix summary-ended-with-dot
|
||||
|
||||
+ Olivier Blin <oblin@mandriva.com>
|
||||
+ Olivier Blin <blino@mandriva.org>
|
||||
- restore BuildRoot
|
||||
|
||||
* Sun Oct 21 2007 Colin Guthrie <cguthrie@mandriva.org> 0.9-1mdv2008.1
|
||||
|
|
Loading…
Add table
Reference in a new issue