- package base tests infrastructure; release 2 master auto/th/python-keyring-10.3.2-2
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 20 Apr 2017 20:25:10 +0000 (22:25 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 20 Apr 2017 20:25:10 +0000 (22:25 +0200)
python-keyring.spec

index 64a23c4..2aa45e0 100644 (file)
@@ -10,7 +10,7 @@ Summary:      Python 2 library to access the system keyring service
 Summary(pl.UTF-8):     Biblioteka Pythona 2 do dostępu do systemowego pęku kluczy
 Name:          python-%{module}
 Version:       10.3.2
-Release:       1
+Release:       2
 License:       MIT, PSF
 Group:         Libraries/Python
 #Source0Download: https://pypi.python.org/simple/keyring
@@ -110,7 +110,8 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python3}
 %py3_install
 
-%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/%{module}/tests
+# keep base tests classes (for e.g. python-keyrings.alt tests), remove just backends unit tests
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/keyring/tests/backends
 # "keyring" name is too generic, add -py[version] suffix
 %{__mv} $RPM_BUILD_ROOT%{_bindir}/keyring{,-py3}
 %endif
@@ -119,7 +120,9 @@ rm -rf $RPM_BUILD_ROOT
 %py_install
 
 %py_postclean
-%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
+
+# keep base tests classes (for e.g. python-keyrings.alt tests), remove just backends unit tests
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/keyring/tests/backends
 # "keyring" name is too generic, add -py[version] suffix
 %{__mv} $RPM_BUILD_ROOT%{_bindir}/keyring{,-py2}
 ln -sf keyring-py2 $RPM_BUILD_ROOT%{_bindir}/keyring-py
This page took 0.08829 seconds and 4 git commands to generate.