]> git.pld-linux.org Git - packages/python-gflags.git/commitdiff
- don't hide python dependency behind /usr/bin/env; release 3 auto/th/python-gflags-2.0-3
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 3 Aug 2015 15:14:43 +0000 (17:14 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 3 Aug 2015 15:14:43 +0000 (17:14 +0200)
python-gflags.spec

index c01d269f1fe3bcd97ef1013b13c1595a300c0d23..703d79fde541267cede87c28ce59e83c9c5fd2ec 100644 (file)
@@ -3,7 +3,7 @@ Summary:        Commandline flags module for Python
 Summary(pl.UTF-8):     Moduł flag linii poleceń dla Pythona
 Name:          python-%{module}
 Version:       2.0
-Release:       2
+Release:       3
 License:       BSD
 Group:         Development/Languages/Python
 #Source0Download: https://github.com/gflags/python-gflags
@@ -51,6 +51,8 @@ ostatnie to główna różnica względem OptParse).
 # Fix non-executable-script error
 %{__sed} -i '/^#!\%{_prefix}\/bin\/env python$/,+1 d' %{module}.py
 
+%{__sed} -i '1s,/usr/bin/env python,/usr/bin/python,' gflags2man.py
+
 %build
 %{__python} setup.py build
 
@@ -73,6 +75,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog COPYING README
 %attr(755,root,root) %{_bindir}/gflags2man
-%{py_sitescriptdir}/%{module}.py[co]
-%{py_sitescriptdir}/%{module}_validators.py[co]
+%{py_sitescriptdir}/gflags.py[co]
+%{py_sitescriptdir}/gflags_validators.py[co]
 %{py_sitescriptdir}/python_gflags-%{version}-py*.egg-info
This page took 0.07906 seconds and 4 git commands to generate.