]> git.pld-linux.org Git - packages/faqtor.git/commitdiff
- tags, python epoch, simplified install
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 22 Dec 2004 19:58:43 +0000 (19:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    faqtor.spec -> 1.2

faqtor.spec

index e6d4e34f924b824809f9caf3beb0daeba4714c25..72c29ea9c65905f3a1fcb8a05c9c6e1920bccba7 100644 (file)
@@ -1,16 +1,14 @@
-# $Revision: 1.1 $
-
 Summary:       FAQtor - a FAQ generator
 Summary(pl):   FAQtor - generaor FAQ
 Name:          faqtor
 Version:       0.7
 Release:       1
-License:       GPLv2
+License:       GPL v2
 Group:         Applications/Text
 Source0:       http://dl.sourceforge.net/faqtor/%{name}-%{version}.tgz
 # Source0-md5: 32c3aa742fc5fca90ea4cc2739ed9069
 URL:           http://faqtor.sourceforge.net/
-Requires:      python >= 2.3
+Requires:      python >= 1:2.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,15 +28,13 @@ dokument.
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
 
-cat faqtor.py | sed -e 's!/bin/env!/usr/bin/env!' > faqtor.py.pld
-mv faqtor.py.pld faqtor.py
-
-cp -a faqtor.py $RPM_BUILD_ROOT%{_bindir}
+sed -e 's!/bin/env python!/usr/bin/python!' faqtor.py > $RPM_BUILD_ROOT%{_bindir}/faqtor.py
+chmod 755 $RPM_BUILD_ROOT%{_bindir}/faqtor.py
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/faqtor.py
 %doc README* sample*
+%attr(755,root,root) %{_bindir}/faqtor.py
This page took 0.055248 seconds and 4 git commands to generate.