[packages/pyp2rpm] cleanup deps; enable tests
glen
glen at pld-linux.org
Sun Mar 17 02:08:10 CET 2013
commit c1f920374ff0297fccd9ceff7ac2e3d36dcc68b7
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Mar 17 03:07:58 2013 +0200
cleanup deps; enable tests
pyp2rpm.spec | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/pyp2rpm.spec b/pyp2rpm.spec
index b7737ac..81444ff 100644
--- a/pyp2rpm.spec
+++ b/pyp2rpm.spec
@@ -1,6 +1,6 @@
#
# Conditional build:
-%bcond_with tests # do not perform "make test"
+%bcond_without tests # do not perform "make test"
Summary: Convert Python packages to RPM .spec files
Name: pyp2rpm
@@ -14,11 +14,9 @@ Source0: http://pypi.python.org/packages/source/p/pyp2rpm/%{name}-%{version}.tar
# git clone git at bitbucket.org:bkabrda/pyp2rpm.git && cd pyp2rpm
# git checkout v1.0.1 && tar czf pyp2rpm-1.0.1-tests.tgz tests/
Source1: %{name}-%{version}-tests.tgz
+# Source1-md5: d6ffe3cd0acb10af01c99a77e6bd51f3
URL: https://pypi.python.org/pypi/pyp2rpm
-BuildRequires: python-devel
-BuildRequires: python-distribute
BuildRequires: python-flexmock >= 0.9.3
-BuildRequires: python-jinja2
BuildRequires: python-pytest
BuildRequires: python-setuptools
BuildRequires: rpm-pythonprov
@@ -37,7 +35,7 @@ PyPI or from local filesystem (local file doesn't provide that much
information though).
%prep
-%setup -q -a1
+%setup -q
# Remove bundled egg-info
rm -r %{name}.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pyp2rpm.git/commitdiff/c1f920374ff0297fccd9ceff7ac2e3d36dcc68b7
More information about the pld-cvs-commit
mailing list