diff --git a/python-graphviz.spec b/python-graphviz.spec index d0054f9..a778518 100644 --- a/python-graphviz.spec +++ b/python-graphviz.spec @@ -9,7 +9,7 @@ drawing software.} Name: python-graphviz Version: 0.8.3 -Release: 4 +Release: 5 # Set Epoch to avoid being obsoleted by graphviz-python Epoch: 1 Summary: Simple Python interface for Graphviz @@ -23,19 +23,6 @@ BuildArch: noarch %{common_description} -%package -n python2-graphviz -Summary: %{summary} -%{?python_provide:%python_provide python2-graphviz} - -BuildRequires: python2-devel python2dist(flake8) python2dist(mock) >= 2 python2dist(pep8-naming) -BuildRequires: python2dist(pytest) >= 3.3 python2dist(pytest-cov) python2dist(pytest-mock) -BuildRequires: python2dist(setuptools) python2dist(twine) python2dist(wheel) -Requires: graphviz - -%description -n python2-graphviz -%{common_description} - - %package -n python3-graphviz Summary: %{summary} %{?python_provide:%python_provide python3-graphviz} @@ -66,7 +53,6 @@ sed -i 's/\r//' README.rst %build -%py2_build %py3_build # generate html docs @@ -76,22 +62,13 @@ rm -rf html/.{doctrees,buildinfo} %install -%py2_install %py3_install %check -%{__python2} setup.py test %{__python3} setup.py test -%files -n python2-graphviz -%license LICENSE.txt -%doc README.rst -%{python2_sitelib}/graphviz -%{python2_sitelib}/graphviz-%{version}-py?.?.egg-info - - %files -n python3-graphviz %license LICENSE.txt %doc README.rst @@ -105,5 +82,8 @@ rm -rf html/.{doctrees,buildinfo} %changelog +* Thu Oct 22 2020 maminjie - 1:0.8.3-5 +- Drop python2 support + * Fri Mar 13 2020 yinzhenling - 1:0.8.3-4 - Initial package. diff --git a/python-graphviz.yaml b/python-graphviz.yaml new file mode 100644 index 0000000..a8b9d53 --- /dev/null +++ b/python-graphviz.yaml @@ -0,0 +1,4 @@ +version_control: pypi +src_repo: graphviz +tag_prefix: "^" +separator: "."