[packages/python-zope.testing] renamed to python-zope.testing
jajcus
jajcus at pld-linux.org
Tue Dec 27 14:22:58 CET 2016
commit 5626eed166384fe0960492b38c33ea599a7f4eb5
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Tue Dec 27 14:22:40 2016 +0100
renamed to python-zope.testing
Zope-Testing.spec => python-zope.testing.spec | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/Zope-Testing.spec b/python-zope.testing.spec
similarity index 88%
rename from Zope-Testing.spec
rename to python-zope.testing.spec
index 1e802fb..f9c1902 100644
--- a/Zope-Testing.spec
+++ b/python-zope.testing.spec
@@ -1,8 +1,9 @@
+%define module zope.testing
Summary: Support for different testing frameworks
Summary(pl.UTF-8): Obsługa różnych szkieletów testowych
-Name: Zope-Testing
+Name: python-%{module}
Version: 3.10.2
-Release: 4
+Release: 1
License: ZPL 2.1
Group: Libraries/Python
Source0: http://pypi.python.org/packages/source/z/zope.testing/zope.testing-%{version}.tar.gz
@@ -13,6 +14,7 @@ BuildRequires: python-devel >= 1:2.5
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.710
%pyrequires_eq python-modules
+Obsoletes: Zope-Testing
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -25,7 +27,7 @@ narzędzie do uruchamiania testów, obsługuje zarówno doctest jak i
unittest.
%prep
-%setup -q -n zope.testing-%{version}
+%setup -q -n %{module}-%{version}
%build
%py_build
@@ -34,9 +36,7 @@ unittest.
rm -rf $RPM_BUILD_ROOT
%py_install \
- --install-purelib=%{py_sitedir} \
- --optimize 2 \
- --root=$RPM_BUILD_ROOT
+ --install-purelib=%{py_sitedir}
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-zope.testing.git/commitdiff/5626eed166384fe0960492b38c33ea599a7f4eb5
More information about the pld-cvs-commit
mailing list