]> git.pld-linux.org Git - projects/template-specs.git/blobdiff - python.spec
- .egg-info is python version specific (and sometimes setup.py), not distro line
[projects/template-specs.git] / python.spec
index 9cec1b677cd54900bf4346ee6c06bd8ab18a51c1..bd1fe8ca140b474c7ce25abe12cc39d06305742c 100644 (file)
@@ -20,6 +20,8 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 
+%description -l pl.UTF-8
+
 %prep
 %setup -q -n %{module}-%{version}
 
@@ -45,6 +47,6 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
 %{py_sitedir}/*.py[co]
 %attr(755,root,root) %{py_sitedir}/*.so
-%if "%{pld_release}" != "ac"
+%if "%{py_ver}" > "2.4"
 %{py_sitedir}/TEMPLATE-*.egg-info
 %endif
This page took 0.036756 seconds and 4 git commands to generate.