X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=blobdiff_plain;f=Zope-Deprecation.spec;h=25a1d25175f5f420fdebf418a6ca05f1b6993ba3;hb=853d4e59d77ab36a1351e782c53b0ffdf1425254;hp=6167789776da013e828b5473644a60d00e6b8bfa;hpb=727fd8f27a20447f78f64ac93d2c219dc53e134d;p=packages%2FZope-Deprecation.git diff --git a/Zope-Deprecation.spec b/Zope-Deprecation.spec index 6167789..25a1d25 100644 --- a/Zope-Deprecation.spec +++ b/Zope-Deprecation.spec @@ -1,4 +1,5 @@ Summary: Deprecation library for Python code +Summary(pl.UTF-8): Biblioteka odradzająca dla kodu w Pythonie Name: Zope-Deprecation Version: 3.4.0 Release: 1 @@ -7,15 +8,21 @@ Group: Libraries/Python Source0: http://download.zope.org/distribution/zope.deprecation-%{version}.tar.gz # Source0-md5: cc5814063505f217c6df3fc93ec8b2df URL: http://www.zope.org/ -BuildRequires: python -BuildRequires: python-devel +BuildRequires: python >= 1:2.5 +BuildRequires: python-devel >= 1:2.5 +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.219 %pyrequires_eq python-modules Requires: Zope-Testing +BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Deprecation library for Python code. +%description -l pl.UTF-8 +Biblioteka odradzająca dla kodu w Pythonie. + %prep %setup -q -n zope.deprecation-%{version} @@ -29,7 +36,7 @@ python ./setup.py install \ --optimize 2 \ --root=$RPM_BUILD_ROOT -%{py_postclean} +%py_postclean %clean rm -rf $RPM_BUILD_ROOT @@ -37,5 +44,5 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %{py_sitescriptdir}/zope/deprecation -%{py_sitescriptdir}/zope*egg* -%{py_sitescriptdir}/zope*pth +%{py_sitescriptdir}/zope.deprecation-*.egg-info +%{py_sitescriptdir}/zope.deprecation-*-nspkg.pth