- Change license to BSD-3-Clause (SPDX style)

- Removed %clean section (has sane default)
- Added python-distribute requirement

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=4
This commit is contained in:
Sascha Peilicke 2011-09-11 15:58:21 +00:00 committed by Git OBS Bridge
parent 15a0b06637
commit bd79a113bd
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Sep 11 15:57:31 UTC 2011 - saschpe@gmx.de
- Change license to BSD-3-Clause (SPDX style)
- Removed %clean section (has sane default)
- Added python-distribute requirement
-------------------------------------------------------------------
Sun Jul 3 11:06:36 UTC 2011 - saschpe@gmx.de

View File

@ -22,12 +22,13 @@ Version: 1.4
Release: 1
Url: http://pygments.org
Summary: Pygments is a syntax highlighting package written in Python
License: BSD
License: BSD-3-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
Requires: python-distribute
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
@ -64,9 +65,6 @@ python setup.py build
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
install -Dm0644 docs/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGES TODO docs/build