Skip to content

Commit 6fd48d7

Browse files
author
Chris Johnson
committed
Removes debug and testing from pip SPEC files.
1 parent 5ccf751 commit 6fd48d7

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

rpm/specfiles/python2-redis.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ rm -rf %{pypi_name}.egg-info
4848
%install
4949
%py2_install
5050

51-
%check
52-
%{__python2} setup.py test
51+
#%check
52+
#%{__python2} setup.py test
5353

5454
%files -n python2-%{pypi_name}
5555
%license LICENSE

rpm/specfiles/python2-snmpsim.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ physical devices, from SNMP Manager's point of view. Simulator builds and uses
2121
a database of physical devices' SNMP footprints to respond like their original
2222
counterparts do.
2323

24+
%global debug_package %{nil}
25+
2426
%package -n python2-%{pypi_name}
2527
Summary: %{summary}
2628
%{?python_provide:%python_provide python2-%{pypi_name}}
@@ -51,6 +53,7 @@ rm -rf html/.{doctrees,buildinfo}
5153

5254
%install
5355
%py2_install
56+
exit 0
5457

5558
%files -n python2-%{pypi_name}
5659
%license docs/source/license.rst LICENSE.txt

rpm/specfiles/python3-circuits.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ BuildRequires: python3dist(setuptools-scm)
2020
Network: .. _Python Standard Library: .. _MIT License: .. _Create an Issue: ..
2121
_Mailing List: .. _Website: .. _PyPi: .. _Documentation: .. _Downloads:
2222

23+
%global debug_package %{nil}
24+
2325
%package -n python3-%{pypi_name}
2426
Summary: %{summary}
2527
%{?python_provide:%python_provide python3-%{pypi_name}}
@@ -41,9 +43,10 @@ rm -rf %{pypi_name}.egg-info
4143

4244
%install
4345
%py3_install
46+
#exit 0
4447

45-
%check
46-
%{__python3} setup.py test
48+
#%check
49+
#%{__python3} setup.py test
4750

4851
%files -n python3-%{pypi_name}
4952
%license LICENSE

rpm/specfiles/python3-neo4j-driver.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ block:: python from neo4j.v1 import GraphDatabase driver
2121
GraphDatabase.driver(":7687", auth("neo4j", "password")) def add_friends(tx,
2222
name, friend_name): tx.run("MERGE (a:Person...
2323

24+
%global debug_package %{nil}
25+
2426
%package -n python3-%{pypi_name}
2527
Summary: %{summary}
2628
%{?python_provide:%python_provide python3-%{pypi_name}}

0 commit comments

Comments
 (0)