forked from pool/python-Pygments
Accepting request 834354 from home:benoit_monin:branches:devel:languages:python
- update to version 2.7.0 - remove unnecessary executable bit on all source files OBS-URL: https://build.opensuse.org/request/show/834354 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=66
This commit is contained in:
committed by
Git OBS Bridge
parent
a2330ab5d6
commit
0e1f838be3
@@ -19,7 +19,7 @@
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Pygments
|
||||
Version: 2.6.1
|
||||
Version: 2.7.0
|
||||
Release: 0
|
||||
Summary: A syntax highlighting package written in Python
|
||||
License: BSD-2-Clause
|
||||
@@ -62,6 +62,9 @@ rm tests/examplefiles/firefox.mak tests/examplefiles/example.webidl
|
||||
# Remove unnecessary shebang
|
||||
sed -i '1 { /^#!/ d }' pygments/lexers/_usd_builtins.py
|
||||
|
||||
# Remove unnecessary executable bit
|
||||
find . -type f -print0 | xargs -0 chmod -x
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user