15
0

Accepting request 120936 from home:TheBlackCat:branches:devel:languages:python

- Removed files with non-oss license, see bnc#760344
- Cleanups in python 2 and python 3 spec files

OBS-URL: https://build.opensuse.org/request/show/120936
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=15
This commit is contained in:
Todd R
2012-05-14 12:40:45 +00:00
committed by Git OBS Bridge
parent d9dd15fe85
commit 1d7925c0f0
4 changed files with 36 additions and 11 deletions

View File

@@ -15,15 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-Pygments
%define modname Pygments
Name: python-%{modname}
Version: 1.5
Release: 0
Url: http://pygments.org
Summary: Pygments is a syntax highlighting package written in Python
License: BSD-2-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
Source: http://pypi.python.org/packages/source/P/%{modname}/%{modname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
@@ -53,7 +53,12 @@ source code. Highlights are:
* ... and it highlights even Brainfuck!
%prep
%setup -q -n Pygments-%{version}
%setup -q -n %{modname}-%{version}
# remove non-oss licensed files, see bnc# 760344
rm tests/examplefiles/Sorting.mod
rm tests/examplefiles/test.mod
rm tests/examplefiles/output/Sorting.mod
rm tests/examplefiles/output/test.mod
%build
python setup.py build
@@ -69,7 +74,8 @@ nosetests
%defattr(-,root,root,-)
%doc AUTHORS CHANGES TODO docs/build
%{_bindir}/pygmentize
%{python_sitelib}/*
%{_mandir}/man1/pygmentize.1*
%{python_sitelib}/pygments/
%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info/
%changelog