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
|
||||
%else
|
||||
%bcond_with python3
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
Name: rpmlint
|
||||
Version: 1.9
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Tool for checking common errors in RPM packages
|
||||
Group: Development/Tools
|
||||
License: GPLv2
|
||||
@ -39,14 +39,14 @@ BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: rpm-python3 >= 4.4.2.2
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-flake8
|
||||
BuildRequires: python3-flake8-import-order
|
||||
Requires: python3
|
||||
Requires: rpm-python3 >= 4.4.2.2
|
||||
%else
|
||||
BuildRequires: python >= 2.6
|
||||
BuildRequires: rpm-python >= 4.4.2.2
|
||||
BuildRequires: pytest
|
||||
BuildRequires: python2-flake8
|
||||
BuildRequires: python2-flake8-import-order
|
||||
Requires: python >= 2.6
|
||||
Requires: rpm-python >= 4.4.2.2
|
||||
%endif
|
||||
@ -116,7 +116,8 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8}
|
||||
|
||||
|
||||
%files
|
||||
%doc COPYING README.md config.example
|
||||
%license COPYING
|
||||
%doc README.md config.example
|
||||
%config(noreplace) %{_sysconfdir}/rpmlint/
|
||||
%if 0%{?fedora}
|
||||
%{_datadir}/bash-completion/
|
||||
@ -133,6 +134,10 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8}
|
||||
%{_mandir}/man1/rpmlint.1*
|
||||
|
||||
%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
|
||||
- ignore long description lines for debuginfo packages
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user