[packages/python-shortuuid] cleanup template leftovers
glen
glen at pld-linux.org
Wed May 25 22:42:23 CEST 2016
commit 7a61d0f8b85b9c9425097e7b9ba8dea735f3a967
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed May 25 23:42:17 2016 +0300
cleanup template leftovers
python-shortuuid.spec | 9 ---------
1 file changed, 9 deletions(-)
---
diff --git a/python-shortuuid.spec b/python-shortuuid.spec
index b4ed42a..954cf6b 100644
--- a/python-shortuuid.spec
+++ b/python-shortuuid.spec
@@ -1,19 +1,12 @@
#
-# This is template for pure python modules (noarch)
-# use template-specs/python-ext.spec for binary python packages
-#
-#
# Conditional build:
-# %%bcond_with doc # don't build doc
%bcond_without tests # do not perform "make test"
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
-# NOTE: 'module' should match the python import path, not the egg name
%define module shortuuid
Summary: Generator library for concise, unambiguous and URL-safe UUIDs
Summary(pl.UTF-8): Biblioteka generacji jednoznacznych UUIDów dla URLi
-# Name must match the python module/package name (as on pypi or in 'import' statement)
Name: python-%{module}
Version: 0.4.3
Release: 1
@@ -112,10 +105,8 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README.rst
%{py_sitescriptdir}/%{module}
-%if "%{py_ver}" > "2.4"
%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
%endif
-%endif
%if %{with python3}
%files -n python3-%{module}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-shortuuid.git/commitdiff/7a61d0f8b85b9c9425097e7b9ba8dea735f3a967
More information about the pld-cvs-commit
mailing list