dalete buildrequires of python-nose

This commit is contained in:
wangkerong 2022-01-07 17:13:54 +08:00
parent 524917f6ff
commit 6cc61f2738

View File

@ -7,7 +7,7 @@
Name: dnf-plugins-core
Version: 4.0.24
Release: 1
Release: 2
Summary: Core Plugins for DNF
License: GPLv2+
URL: https://github.com/rpm-software-management/dnf-plugins-core
@ -55,8 +55,8 @@ provides generate_completion_cache passive plugin.
%package -n python3-%{name}
Summary: Core Plugins for DNF
%{?python_provide:%python_provide python3-%{name}}
BuildRequires: python3-devel python3-dnf >= %{dnf_lowest_compatible} python3-nose
BuildRequires: python3-dbus
BuildRequires: python3-devel python3-dnf >= %{dnf_lowest_compatible}
BuildRequires: python3-dbus python3-libdnf python3-hawkey python3-libcomps python3-gpgme
Requires: python3-distro python3-dnf >= %{dnf_lowest_compatible}
Requires: python3-hawkey >= %{hawkey_version} python3-dateutil
Requires: python3-dbus
@ -191,7 +191,9 @@ ln -sf %{_mandir}/man1/dnf-utils.1.gz %{buildroot}%{_mandir}/man1/repoquery.1.gz
ln -sf %{_mandir}/man1/dnf-utils.1.gz %{buildroot}%{_mandir}/man1/repotrack.1.gz
%check
PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/
pushd build-py3
ctest -VV
popd
%files
%{_libexecdir}/dnf-utils
@ -321,6 +323,9 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/
%{_mandir}/man8/dnf-local.*
%changelog
* Fri Jan 01 2022 wangkerong<wangkerong@huawei.com> - 4.0.24-2
- DESC:delete buildrequires of python-nose
* Tue Nov 23 2021 hanhui<hanhui15@huawei.com> - 4.0.24-1
- DESC:update to 4.0.24