forked from pool/python-Pygments
- Fixed license to BSD-2-Clause
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
bd79a113bd
commit
1fe3836453
@@ -19,15 +19,16 @@
|
||||
|
||||
Name: python-Pygments
|
||||
Version: 1.4
|
||||
Release: 1
|
||||
Release: 0
|
||||
Url: http://pygments.org
|
||||
Summary: Pygments is a syntax highlighting package written in Python
|
||||
License: BSD-3-Clause
|
||||
License: BSD-2-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
|
||||
BuildRequires: python-nose
|
||||
Requires: python-distribute
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
@@ -65,6 +66,9 @@ python setup.py build
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
install -Dm0644 docs/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1
|
||||
|
||||
%check
|
||||
nosetests
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS CHANGES TODO docs/build
|
||||
|
||||
Reference in New Issue
Block a user