]> git.pld-linux.org Git - packages/python-subunit.git/commitdiff
- separated subunit-python* packages with tools; release 2 auto/th/python-subunit-1.2.0-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 26 Mar 2016 09:23:37 +0000 (10:23 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 26 Mar 2016 09:23:37 +0000 (10:23 +0100)
python-subunit.spec

index 3d15137e973aa562aeb79e7caa029ef3f8756313..4226d85cde98fdb2546c6de5eb6ed6d15e9b14ce 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Conditional build:
-%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
+%bcond_without python2 # CPython 2.x module and tools
+%bcond_without python3 # CPython 3.x module and tools
 %bcond_without tests   # test target
 
 %define        module  template
@@ -9,7 +9,7 @@ Summary:        subunit - streaming protocol for test results
 Summary(pl.UTF-8):     subunit - protokół strumieniowy do wyników testów
 Name:          python-subunit
 Version:       1.2.0
-Release:       1
+Release:       2
 License:       Apache v2.0 or BSD
 Group:         Libraries/Python
 #Source0Download: https://pypi.python.org/simple/python-subunit/
@@ -47,9 +47,39 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Subunit is a streaming protocol for test results.
 
+This package contains Python 2.x modules.
+
 %description -l pl.UTF-8
 Subunit to protokół strumieniowy przeznaczony do wyników testów.
 
+Ten pakiet zawiera moduły Pythona 2.x.
+
+%package -n subunit-python
+Summary:       Python tools for subunit streaming protocol for test results
+Summary(pl.UTF-8):     Pythonowe narzędzia dla protokołu strumieniowego do wyników testów subunit
+Group:         Development/Tools
+Requires:      subunit-python2 = %{version}-%{release}
+
+%description -n subunit-python
+Python tools for subunit streaming protocol for test results.
+
+%description -n subunit-python -l pl.UTF-8
+Pythonowe narzędzia dla protokołu strumieniowego do wyników testów
+subunit.
+
+%package -n subunit-python2
+Summary:       Python 2 tools for subunit streaming protocol for test results
+Summary(pl.UTF-8):     Narzędzia Pythona 2 dla protokołu strumieniowego do wyników testów subunit
+Group:         Development/Tools
+Requires:      python-subunit = %{version}-%{release}
+
+%description -n subunit-python2
+Python 2 tools for subunit streaming protocol for test results.
+
+%description -n subunit-python2 -l pl.UTF-8
+Narzędzia Pythona 2 dla protokołu strumieniowego do wyników testów
+subunit.
+
 %package -n python3-subunit
 Summary:       subunit - streaming protocol for test results
 Summary(pl.UTF-8):     subunit - protokół strumieniowy do wyników testów
@@ -61,9 +91,26 @@ Requires:    python3-testtools >= 0.9.34
 %description -n python3-subunit
 Subunit is a streaming protocol for test results.
 
+This package contains Python 2.x modules.
+
 %description -n python3-subunit -l pl.UTF-8
 Subunit to protokół strumieniowy przeznaczony do wyników testów.
 
+Ten pakiet zawiera moduły Pythona 2.x.
+
+%package -n subunit-python3
+Summary:       Python 3 tools for subunit streaming protocol for test results
+Summary(pl.UTF-8):     Narzędzia Pythona 3 dla protokołu strumieniowego do wyników testów subunit
+Group:         Development/Tools
+Requires:      python3-subunit = %{version}-%{release}
+
+%description -n subunit-python3
+Python 3 tools for subunit streaming protocol for test results.
+
+%description -n subunit-python3 -l pl.UTF-8
+Narzędzia Pythona 3 dla protokołu strumieniowego do wyników testów
+subunit.
+
 %prep
 %setup -q
 
@@ -108,6 +155,11 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc NEWS README.rst
+%{py_sitescriptdir}/subunit
+%{py_sitescriptdir}/python_subunit-%{version}-py*.egg-info
+
+%files -n subunit-python
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/subunit-1to2
 %attr(755,root,root) %{_bindir}/subunit-2to1
 %attr(755,root,root) %{_bindir}/subunit-filter
@@ -121,6 +173,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/subunit2junitxml
 %attr(755,root,root) %{_bindir}/subunit2pyunit
 %attr(755,root,root) %{_bindir}/tap2subunit
+
+%files -n subunit-python2
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/subunit-1to2-2
 %attr(755,root,root) %{_bindir}/subunit-2to1-2
 %attr(755,root,root) %{_bindir}/subunit-filter-2
@@ -134,14 +189,17 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/subunit2junitxml-2
 %attr(755,root,root) %{_bindir}/subunit2pyunit-2
 %attr(755,root,root) %{_bindir}/tap2subunit-2
-%{py_sitescriptdir}/subunit
-%{py_sitescriptdir}/python_subunit-%{version}-py*.egg-info
 %endif
 
 %if %{with python3}
 %files -n python3-subunit
 %defattr(644,root,root,755)
 %doc NEWS README.rst
+%{py3_sitescriptdir}/subunit
+%{py3_sitescriptdir}/python_subunit-%{version}-py*.egg-info
+
+%files -n subunit-python3
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/subunit-1to2-3
 %attr(755,root,root) %{_bindir}/subunit-2to1-3
 %attr(755,root,root) %{_bindir}/subunit-filter-3
@@ -155,6 +213,4 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/subunit2junitxml-3
 %attr(755,root,root) %{_bindir}/subunit2pyunit-3
 %attr(755,root,root) %{_bindir}/tap2subunit-3
-%{py3_sitescriptdir}/subunit
-%{py3_sitescriptdir}/python_subunit-%{version}-py*.egg-info
 %endif
This page took 0.224393 seconds and 4 git commands to generate.