]> git.pld-linux.org Git - projects/template-specs.git/blobdiff - python-ext.spec
Add .tar.xz deps
[projects/template-specs.git] / python-ext.spec
index 8b71f2cca24e79fc37479e8b2186548f7f4c915b..b85c697012d5e31da762f1304995fa2edee6da1e 100644 (file)
@@ -4,8 +4,8 @@
 # use template-specs/python3-ext.spec for python3 only packages
 #
 # Conditional build:
-%bcond_without doc     # don't build doc
-%bcond_without tests   # do not perform "make test"
+%bcond_without doc     # API documentation
+%bcond_without tests   # unit tests
 %bcond_without python2 # CPython 2.x module
 %bcond_without python3 # CPython 3.x module
 
@@ -38,6 +38,8 @@ BuildRequires:        python3-devel >= 1:3.2
 #BuildRequires:        python3-
 %endif
 %endif
+# if using noarch subpackage:
+#BuildRequires:        rpm-build >= 4.6
 BuildRequires: rpm-pythonprov
 # for the py_build, py_install macros
 BuildRequires: rpmbuild(macros) >= 1.714
@@ -65,18 +67,16 @@ Requires:   python3-modules >= 1:3.2
 %description -n python3-%{module} -l pl.UTF-8
 
 %package apidocs
-Summary:       %{module} API documentation
-Summary(pl.UTF-8):     Dokumentacja API %{module}
+Summary:       API documentation for Python %{module} module
+Summary(pl.UTF-8):     Dokumentacja API modułu Pythona %{module}
 Group:         Documentation
-%if "%{_rpmversion}" >= "4.6"
 BuildArch:     noarch
-%endif
 
 %description apidocs
-API documentation for %{module}.
+API documentation for Python %{module} module.
 
 %description apidocs -l pl.UTF-8
-Dokumentacja API %{module}.
+Dokumentacja API modułu Pythona %{module}.
 
 %prep
 %setup -q -n %{module}-%{version}
This page took 0.054533 seconds and 4 git commands to generate.