Use %license
- BR python-flake8-import-order for tests
This commit is contained in:
parent
fcd9a01d65
commit
09554fb695
15
rpmlint.spec
15
rpmlint.spec
@ -1,4 +1,4 @@
|
|||||||
%if 0%{?fedora} > 22
|
%if 0%{?fedora}
|
||||||
%bcond_without python3
|
%bcond_without python3
|
||||||
%else
|
%else
|
||||||
%bcond_with python3
|
%bcond_with python3
|
||||||
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
Name: rpmlint
|
Name: rpmlint
|
||||||
Version: 1.9
|
Version: 1.9
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Tool for checking common errors in RPM packages
|
Summary: Tool for checking common errors in RPM packages
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -39,14 +39,14 @@ BuildArch: noarch
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: rpm-python3 >= 4.4.2.2
|
BuildRequires: rpm-python3 >= 4.4.2.2
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-flake8
|
BuildRequires: python3-flake8-import-order
|
||||||
Requires: python3
|
Requires: python3
|
||||||
Requires: rpm-python3 >= 4.4.2.2
|
Requires: rpm-python3 >= 4.4.2.2
|
||||||
%else
|
%else
|
||||||
BuildRequires: python >= 2.6
|
BuildRequires: python >= 2.6
|
||||||
BuildRequires: rpm-python >= 4.4.2.2
|
BuildRequires: rpm-python >= 4.4.2.2
|
||||||
BuildRequires: pytest
|
BuildRequires: pytest
|
||||||
BuildRequires: python2-flake8
|
BuildRequires: python2-flake8-import-order
|
||||||
Requires: python >= 2.6
|
Requires: python >= 2.6
|
||||||
Requires: rpm-python >= 4.4.2.2
|
Requires: rpm-python >= 4.4.2.2
|
||||||
%endif
|
%endif
|
||||||
@ -116,7 +116,8 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8}
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING README.md config.example
|
%license COPYING
|
||||||
|
%doc README.md config.example
|
||||||
%config(noreplace) %{_sysconfdir}/rpmlint/
|
%config(noreplace) %{_sysconfdir}/rpmlint/
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
%{_datadir}/bash-completion/
|
%{_datadir}/bash-completion/
|
||||||
@ -133,6 +134,10 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8}
|
|||||||
%{_mandir}/man1/rpmlint.1*
|
%{_mandir}/man1/rpmlint.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 24 2016 Orion Poplawski <orion@cora.nwra.com> - 1.9-4
|
||||||
|
- Use %%license
|
||||||
|
- BR python-flake8-import-order for tests
|
||||||
|
|
||||||
* Fri Aug 26 2016 Tom Callaway <spot@fedoraproject.org> - 1.9-3
|
* Fri Aug 26 2016 Tom Callaway <spot@fedoraproject.org> - 1.9-3
|
||||||
- ignore long description lines for debuginfo packages
|
- ignore long description lines for debuginfo packages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user