]> git.pld-linux.org Git - packages/empy.git/commitdiff
- python BRs, added .egg-info for python 2.5
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 24 Dec 2006 13:00:56 +0000 (13:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    empy.spec -> 1.20

empy.spec

index 3d98b8fc4211f4d6ab3da8e55aa82e7bf840281e..3c3063197e375be78c4661885ec2785d50ec6894 100644 (file)
--- a/empy.spec
+++ b/empy.spec
@@ -8,6 +8,8 @@ Group:          Applications/Text
 Source0:       http://www.alcyone.com/software/empy/%{name}-%{version}.tar.gz
 # Source0-md5: e7b518a6fc4fd28fef87726cdb003118
 URL:           http://www.alcyone.com/software/empy/
+BuildRequires: python >= 1:2.5
+BuildRequires: rpm-pythonprov
 %pyrequires_eq python-modules
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -39,7 +41,7 @@ import em
 em.invoke(sys.argv[1:])
 EOF
 
-rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.py
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -47,5 +49,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README *.em doc
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/em.py
 %{py_sitescriptdir}/*.py[co]
+%{py_sitescriptdir}/empy-*.egg-info
This page took 0.128035 seconds and 4 git commands to generate.