diff --git a/.gitignore b/.gitignore index 7d983ea..b64ce71 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /diff_cover-0.9.8.tar.gz /diff_cover-0.9.9.tar.gz /python-diff-cover-0.9.12.tar.gz +/diff-cover-1.0.5.tar.gz diff --git a/python-diff-cover.spec b/python-diff-cover.spec index 9b975a5..56c312c 100644 --- a/python-diff-cover.spec +++ b/python-diff-cover.spec @@ -9,22 +9,27 @@ diff. Name: python-diff-cover -Version: 0.9.12 -Release: 5%{?dist} +Version: 1.0.5 +Release: 1%{?dist} BuildArch: noarch License: ASL 2.0 Summary: Automatically find diff lines that need test coverage URL: https://github.com/Bachmann1234/diff-cover/ -Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Source0: %{url}/archive/v%{version}/diff-cover-%{version}.tar.gz # Some of the python3 BuildRequires are needed so we can run the entry point scripts for help2man +BuildRequires: /usr/bin/flake8 +BuildRequires: /usr/bin/pycodestyle +BuildRequires: /usr/bin/pylint BuildRequires: git BuildRequires: help2man BuildRequires: python3-devel BuildRequires: python3-jinja2 >= 2.7.1 BuildRequires: python3-jinja2_pluralize +BuildRequires: python3-mock +BuildRequires: python3-nose BuildRequires: python3-pygments >= 2.0.1 BuildRequires: python3-setuptools BuildRequires: python3-six >= 1.6.1 @@ -79,9 +84,13 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ %{buildroot}%{_bindir}/diff-quality +%check +nosetests-3 + + %files -n python3-diff-cover %license LICENSE -%doc AUTHORS README.rst +%doc README.rst %{_bindir}/diff-cover %{_bindir}/diff-quality %{_mandir}/man1/diff-cover.1* @@ -91,6 +100,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ %changelog +* Thu Nov 29 2018 Randy Barlow - 1.0.5-1 +- Update to 1.0.5. + * Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 0.9.12-5 - Subpackage python2-diff-cover has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal diff --git a/sources b/sources index 4e2d846..e622f23 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-diff-cover-0.9.12.tar.gz) = 185bb33cdd577f4c02cc64486b06030c4fd49b66e6d5b0ff168c4a08bad33f0ff677ac1ccb44efc5423c2251f5b0005e9a0d0cc557527470f1f228c6a8e87f1a +SHA512 (diff-cover-1.0.5.tar.gz) = 68d3b50b2c50d599c50eec3b6988d143a4703ea13a543ac66e3d072a9d064fa524f75cc69fb2e65dc323fdfabcf575cb7b799a7d85b55f8358b2777d131bda91