keep dnf-plugins-core name
This commit is contained in:
parent
ceec256fed
commit
709cd41368
@ -1,21 +1,33 @@
|
|||||||
%{!?gitrev: %global gitrev 351e094}
|
%{!?gitrev: %global gitrev 351e094}
|
||||||
%{?!dnf_version: %global dnf_version 0.6.4-2}
|
%{?!dnf_version: %global dnf_version 0.6.4-2}
|
||||||
|
|
||||||
Name: python-dnf-plugins-core
|
Name: dnf-plugins-core
|
||||||
Version: 0.1.5
|
Version: 0.1.5
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Core Plugins for DNF
|
Summary: Core Plugins for DNF
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/rpm-software-management/dnf-plugins-core
|
URL: https://github.com/rpm-software-management/dnf-plugins-core
|
||||||
|
|
||||||
# source archive is created by running package/archive from a git checkout
|
# source archive is created by running package/archive from a git checkout
|
||||||
Source0: dnf-plugins-core-%{gitrev}.tar.xz
|
Source0: dnf-plugins-core-%{gitrev}.tar.xz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: python-dnf >= %{dnf_version}
|
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
|
%if 0%{?fedora} >= 23
|
||||||
|
Requires: python3-dnf-plugins-core = %{version}-%{release}
|
||||||
|
%else
|
||||||
|
Requires: python-dnf-plugins-core = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
%description
|
||||||
|
Core Plugins for DNF. This package enhance DNF with builddep, copr,
|
||||||
|
debuginfo-install, download, needs-restarting, repoquery and
|
||||||
|
reposync commands. Additionally provides generate_completion_cache, noroot and
|
||||||
|
protected_packages passive plugins.
|
||||||
|
|
||||||
|
%package -n python-dnf-plugins-core
|
||||||
|
Summary: Core Plugins for DNF
|
||||||
|
Group: System Environment/Base
|
||||||
|
BuildRequires: python-dnf >= %{dnf_version}
|
||||||
BuildRequires: pykickstart
|
BuildRequires: pykickstart
|
||||||
BuildRequires: python-nose
|
BuildRequires: python-nose
|
||||||
BuildRequires: python-sphinx
|
BuildRequires: python-sphinx
|
||||||
@ -23,12 +35,8 @@ BuildRequires: python2-devel
|
|||||||
Requires: python-dnf >= %{dnf_version}
|
Requires: python-dnf >= %{dnf_version}
|
||||||
Requires: pykickstart
|
Requires: pykickstart
|
||||||
Requires: python-requests
|
Requires: python-requests
|
||||||
%if 0%{?fedora} < 23
|
|
||||||
Provides: dnf-plugins-core = %{version}-%{release}
|
|
||||||
Obsoletes: dnf-plugins-core <= 0.1.4-1
|
Obsoletes: dnf-plugins-core <= 0.1.4-1
|
||||||
%endif
|
%description -n python-dnf-plugins-core
|
||||||
|
|
||||||
%description
|
|
||||||
Core Plugins for DNF, Python 2 interface. This package enhance DNF with builddep, copr,
|
Core Plugins for DNF, Python 2 interface. This package enhance DNF with builddep, copr,
|
||||||
debuginfo-install, download, kickstart, needs-restarting, repoquery and
|
debuginfo-install, download, kickstart, needs-restarting, repoquery and
|
||||||
reposync commands. Additionally provides generate_completion_cache, noroot and
|
reposync commands. Additionally provides generate_completion_cache, noroot and
|
||||||
@ -41,12 +49,9 @@ BuildRequires: python3-devel
|
|||||||
BuildRequires: python3-dnf >= %{dnf_version}
|
BuildRequires: python3-dnf >= %{dnf_version}
|
||||||
BuildRequires: python3-nose
|
BuildRequires: python3-nose
|
||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-sphinx
|
||||||
|
Requires: python3-requests
|
||||||
Requires: python3-dnf >= %{dnf_version}
|
Requires: python3-dnf >= %{dnf_version}
|
||||||
%if 0%{?fedora} >= 23
|
|
||||||
Provides: dnf-plugins-core = %{version}-%{release}
|
|
||||||
Obsoletes: dnf-plugins-core <= 0.1.4-1
|
Obsoletes: dnf-plugins-core <= 0.1.4-1
|
||||||
%endif
|
|
||||||
|
|
||||||
%description -n python3-dnf-plugins-core
|
%description -n python3-dnf-plugins-core
|
||||||
Core Plugins for DNF, Python 3 interface. This package enhance DNF with builddep, copr,
|
Core Plugins for DNF, Python 3 interface. This package enhance DNF with builddep, copr,
|
||||||
debuginfo-install, download, needs-restarting, repoquery and
|
debuginfo-install, download, needs-restarting, repoquery and
|
||||||
@ -81,15 +86,18 @@ popd
|
|||||||
PYTHONPATH=./plugins /usr/bin/nosetests-2.* -s tests/
|
PYTHONPATH=./plugins /usr/bin/nosetests-2.* -s tests/
|
||||||
PYTHONPATH=./plugins /usr/bin/nosetests-3.* -s tests/
|
PYTHONPATH=./plugins /usr/bin/nosetests-3.* -s tests/
|
||||||
|
|
||||||
%files -f dnf-plugins-core.lang
|
%files -f %{name}.lang
|
||||||
|
%doc AUTHORS COPYING README.rst
|
||||||
|
%{_mandir}/man8/dnf.plugin.*
|
||||||
|
|
||||||
|
%files -n python-dnf-plugins-core
|
||||||
%doc AUTHORS COPYING README.rst
|
%doc AUTHORS COPYING README.rst
|
||||||
%dir %{_sysconfdir}/dnf/protected.d
|
%dir %{_sysconfdir}/dnf/protected.d
|
||||||
%ghost %{_var}/cache/dnf/packages.db
|
%ghost %{_var}/cache/dnf/packages.db
|
||||||
%{python_sitelib}/dnf-plugins/*
|
%{python_sitelib}/dnf-plugins/*
|
||||||
%{python_sitelib}/dnfpluginscore/
|
%{python_sitelib}/dnfpluginscore/
|
||||||
%{_mandir}/man8/dnf.plugin.*
|
|
||||||
|
|
||||||
%files -n python3-dnf-plugins-core -f dnf-plugins-core.lang
|
%files -n python3-dnf-plugins-core
|
||||||
%doc AUTHORS COPYING README.rst
|
%doc AUTHORS COPYING README.rst
|
||||||
%dir %{_sysconfdir}/dnf/protected.d
|
%dir %{_sysconfdir}/dnf/protected.d
|
||||||
%ghost %{_var}/cache/dnf/packages.db
|
%ghost %{_var}/cache/dnf/packages.db
|
||||||
@ -98,12 +106,11 @@ PYTHONPATH=./plugins /usr/bin/nosetests-3.* -s tests/
|
|||||||
%{python3_sitelib}/dnf-plugins/*
|
%{python3_sitelib}/dnf-plugins/*
|
||||||
%{python3_sitelib}/dnf-plugins/__pycache__/*
|
%{python3_sitelib}/dnf-plugins/__pycache__/*
|
||||||
%{python3_sitelib}/dnfpluginscore/
|
%{python3_sitelib}/dnfpluginscore/
|
||||||
%{_mandir}/man8/dnf.plugin.*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
* Mon Feb 23 2015 Jan Silhan <jsilhan@redhat.com> - 0.1.5-2
|
* Mon Feb 23 2015 Jan Silhan <jsilhan@redhat.com> - 0.1.5-2
|
||||||
- dnf-plugins-core is named python-dnf-plugins-core
|
- Split into python/python3 subpackages
|
||||||
|
|
||||||
* Thu Feb 5 2015 Jan Silhan <jsilhan@redhat.com> - 0.1.5-1
|
* Thu Feb 5 2015 Jan Silhan <jsilhan@redhat.com> - 0.1.5-1
|
||||||
- updated package url (Michael Mraka)
|
- updated package url (Michael Mraka)
|
||||||
|
Loading…
Reference in New Issue
Block a user