packages: python-WebTest/python-WebTest.spec - up to 1.3.3; noarch; cleanup
zbyniu
zbyniu at pld-linux.org
Sun Jan 22 17:37:21 CET 2012
Author: zbyniu Date: Sun Jan 22 16:37:21 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 1.3.3; noarch; cleanup
---- Files affected:
packages/python-WebTest:
python-WebTest.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/python-WebTest/python-WebTest.spec
diff -u packages/python-WebTest/python-WebTest.spec:1.2 packages/python-WebTest/python-WebTest.spec:1.3
--- packages/python-WebTest/python-WebTest.spec:1.2 Wed Feb 2 19:16:32 2011
+++ packages/python-WebTest/python-WebTest.spec Sun Jan 22 17:37:16 2012
@@ -2,21 +2,18 @@
%define module WebTest
Summary: WebTest helps you test your WSGI-based web applications
Name: python-%{module}
-Version: 1.2.3
+Version: 1.3.3
Release: 0.1
License: MIT
Group: Development/Languages/Python
Source0: http://pypi.python.org/packages/source/W/WebTest/%{module}-%{version}.tar.gz
-# Source0-md5: 585f9331467e6d99acaba4051c1c5878
+# Source0-md5: a35a8b6207a66e232a0fa7ee254dac76
URL: http://pythonpaste.org/webtest/
-BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: rpm-pythonprov
-# if py_postclean is used
BuildRequires: rpmbuild(macros) >= 1.219
-#Requires: python-libs
Requires: python-modules
-#BuildArch: noarch
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -30,8 +27,6 @@
%setup -q -n %{module}-%{version}
%build
-# CFLAGS is only for arch packages - remove on noarch packages
-export CFLAGS="%{rpmcflags}"
%{__python} setup.py build
%install
@@ -40,8 +35,7 @@
--optimize=2 \
--root=$RPM_BUILD_ROOT
-# change %{py_sitedir} to %{py_sitescriptdir} for 'noarch' packages!
-%py_ocomp $RPM_BUILD_ROOT%{py_siteiscriptdir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_postclean
@@ -51,7 +45,6 @@
%files
%defattr(644,root,root,755)
%doc docs
-# change %{py_sitedir} to %{py_sitescriptdir} for 'noarch' packages!
%dir %{py_sitescriptdir}/webtest
%{py_sitescriptdir}/webtest/*.py[co]
%if "%{py_ver}" > "2.4"
@@ -64,9 +57,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2012/01/22 16:37:16 zbyniu
+- up to 1.3.3; noarch; cleanup
+
Revision 1.2 2011/02/02 18:16:32 sparky
- BR: python-setuptools
Revision 1.1 2011/01/29 23:44:11 zbyniu
- new
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-WebTest/python-WebTest.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list