Accepting request 84564 from devel:languages:python

- Disable tests again, breaks i586 build

- Fixed license to BSD-2-Clause

- Change license to BSD-3-Clause (SPDX style)
- Removed %clean section (has sane default)
- Added python-distribute requirement

OBS-URL: https://build.opensuse.org/request/show/84564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=3
This commit is contained in:
Sascha Peilicke
2011-09-26 08:12:56 +00:00
committed by Git OBS Bridge
2 changed files with 23 additions and 4 deletions

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Fri Sep 23 07:23:34 UTC 2011 - saschpe@suse.de
- Disable tests again, breaks i586 build
-------------------------------------------------------------------
Thu Sep 22 12:47:50 UTC 2011 - saschpe@suse.de
- Fixed license to BSD-2-Clause
-------------------------------------------------------------------
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

@@ -19,15 +19,17 @@
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
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
%if 0%{?suse_version} > 1110
@@ -64,8 +66,8 @@ 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}
#%%check
#nosetests
%files
%defattr(-,root,root,-)