reomove BuildRequires python-nose

This commit is contained in:
19909236985 2022-05-06 14:29:34 +08:00
parent a5b0b68623
commit a70e5bae80

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,7 +55,7 @@ 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-devel python3-dnf >= %{dnf_lowest_compatible}
BuildRequires: python3-dbus
Requires: python3-distro python3-dnf >= %{dnf_lowest_compatible}
Requires: python3-hawkey >= %{hawkey_version} python3-dateutil
@ -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 May 6 2022 wuchaochao <cyanrose@yeah.net> - 4.0.24-2
- reomove BuildRequires python-nose
* Tue Nov 23 2021 hanhui<hanhui15@huawei.com> - 4.0.24-1
- DESC:update to 4.0.24