| |
@@ -12,7 +12,7 @@
|
| |
|
| |
Name: python-%{pypi_name}
|
| |
Version: 0.8.3
|
| |
- Release: 3%{?dist}
|
| |
+ Release: 4%{?dist}
|
| |
# Set Epoch to avoid being obsoleted by graphviz-python
|
| |
Epoch: 1
|
| |
Summary: Simple Python interface for Graphviz
|
| |
@@ -21,7 +21,7 @@
|
| |
URL: https://github.com/xflr6/graphviz
|
| |
Source0: https://files.pythonhosted.org/packages/source/g/%{pypi_name}/%{pypi_name}-%{version}.zip
|
| |
BuildArch: noarch
|
| |
-
|
| |
+
|
| |
%{?python_enable_dependency_generator}
|
| |
|
| |
%description
|
| |
@@ -33,15 +33,12 @@
|
| |
%{?python_provide:%python_provide python2-%{pypi_name}}
|
| |
|
| |
BuildRequires: python2-devel
|
| |
- BuildRequires: python2dist(flake8)
|
| |
BuildRequires: python2dist(mock) >= 2
|
| |
- BuildRequires: python2dist(pep8-naming)
|
| |
BuildRequires: python2dist(pytest) >= 3.3
|
| |
BuildRequires: python2dist(pytest-cov)
|
| |
BuildRequires: python2dist(pytest-mock)
|
| |
BuildRequires: python2dist(setuptools)
|
| |
- BuildRequires: python2dist(twine)
|
| |
- BuildRequires: python2dist(wheel)
|
| |
+ BuildRequires: graphviz
|
| |
Requires: graphviz
|
| |
|
| |
%description -n python2-%{pypi_name}
|
| |
@@ -53,16 +50,13 @@
|
| |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
| |
|
| |
BuildRequires: python3-devel
|
| |
- BuildRequires: python3dist(flake8)
|
| |
BuildRequires: python3dist(mock) >= 2
|
| |
- BuildRequires: python3dist(pep8-naming)
|
| |
BuildRequires: python3dist(pytest) >= 3.3
|
| |
BuildRequires: python3dist(pytest-cov)
|
| |
BuildRequires: python3dist(pytest-mock)
|
| |
BuildRequires: python3dist(setuptools)
|
| |
- BuildRequires: python3dist(twine)
|
| |
- BuildRequires: python3dist(wheel)
|
| |
BuildRequires: python3dist(sphinx)
|
| |
+ BuildRequires: graphviz
|
| |
Requires: graphviz
|
| |
|
| |
%description -n python3-%{pypi_name}
|
| |
@@ -101,8 +95,8 @@
|
| |
|
| |
|
| |
%check
|
| |
- %{__python2} setup.py test
|
| |
- %{__python3} setup.py test
|
| |
+ %{__python2} -m pytest
|
| |
+ %{__python3} -m pytest
|
| |
|
| |
|
| |
%files -n python2-%{pypi_name}
|
| |
@@ -125,6 +119,10 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Mon Sep 24 2018 Miro Hrončok <mhroncok@redhat.com> - 1:0.8.3-4
|
| |
+ - Drop unneeded build dependencies
|
| |
+ - Run the tests
|
| |
+
|
| |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.8.3-3
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
| |
|
| |