]> git.pld-linux.org Git - packages/python-shortuuid.git/commitdiff
cleanup template leftovers
authorElan Ruusamäe <glen@delfi.ee>
Wed, 25 May 2016 20:42:17 +0000 (23:42 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 25 May 2016 20:42:17 +0000 (23:42 +0300)
python-shortuuid.spec

index b4ed42a1be385b557cf7afbcf79e217414e7d374..954cf6bf67b0ca768c9e70552eaf603f7783b49f 100644 (file)
@@ -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}
This page took 0.10602 seconds and 4 git commands to generate.