diff --git a/.gitignore b/.gitignore index e69de29..a51bad6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/rpmdeplint-1.2.tar.gz diff --git a/rpmdeplint.spec b/rpmdeplint.spec new file mode 100644 index 0000000..67ffd3a --- /dev/null +++ b/rpmdeplint.spec @@ -0,0 +1,53 @@ + +%global upstream_version 1.2 + +Name: rpmdeplint +Version: 1.2 +Release: 1%{?dist} +Summary: Tool to find errors in RPM packages in the context of their dependency graph +License: GPLv2+ +URL: https://pypi.python.org/pypi/rpmdeplint +Source0: https://files.pythonhosted.org/packages/source/r/%{name}/%{name}-%{upstream_version}.tar.gz +BuildArch: noarch +BuildRequires: python2-devel +BuildRequires: python-sphinx +BuildRequires: pytest +BuildRequires: python-rpmfluff +BuildRequires: python-six +BuildRequires: rpm-python +BuildRequires: python-hawkey +BuildRequires: python-librepo +Requires: python-six +Requires: rpm-python +Requires: python-hawkey +Requires: python-librepo + +%description +Rpmdeplint is a tool to find errors in RPM packages in the context of their +dependency graph. + +%prep +%setup -q -n %{name}-%{upstream_version} +rm -r rpmdeplint.egg-info + +%build +%py2_build + +%install +%py2_install + +%check +py.test rpmdeplint +# Acceptance tests do not work in mock because they require .i686 packages. + +%files +%license COPYING +%doc README.rst +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.* +%{python2_sitelib}/%{name} +%{python2_sitelib}/%{name}*.egg-info + +%changelog +* Mon Oct 17 2016 Dan Callaghan - 1.2-1 +- initial version diff --git a/sources b/sources index e69de29..652c567 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9fbd0e7cc93af366ce51e57e4d352292 rpmdeplint-1.2.tar.gz