diff --git a/linkchecker.spec b/linkchecker.spec index ed7bb09..7f05673 100644 --- a/linkchecker.spec +++ b/linkchecker.spec @@ -1,6 +1,6 @@ Name: linkchecker Version: 9.4.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Check HTML documents for broken links License: GPLv2 URL: https://linkcheck.github.io/linkchecker/ @@ -9,11 +9,11 @@ Source0: https://github.com/linkcheck/%{name}/archive/v%{version}/%{name} BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: python2-devel -BuildRequires: python-setuptools +BuildRequires: python2-setuptools BuildRequires: qt4-devel -Requires: python-requests -Requires: python-dns -Requires: python-pyxdg +Requires: python2-requests +Requires: python2-dns +Requires: python2-pyxdg %description LinkChecker is a website validator. LinkChecker checks links in web documents or full websites. @@ -39,10 +39,10 @@ support %setup -q %build -CFLAGS="%{optflags}" %{__python2} setup.py build +%py2_build %install -%{__python2} setup.py install -O1 --skip-build --root=%{buildroot} +%py2_install # No need to import this package. # Asterisk here was %{version}, but 9.3.1 uses 9.3; not yet sure if this will continue. @@ -65,6 +65,9 @@ rm %{buildroot}%{_datadir}/applications/linkchecker.desktop %{_datadir}/linkchecker/ %changelog +* Sun Dec 09 2018 Miro HronĨok - 9.4.0-3 +- Update to new packaging standards + * Wed Jul 25 2018 W. Michael Petullo - 9.4.0-2 - Require python-dns and python-pyxdg