New version: f0f0cef
This commit is contained in:
parent
6bd836b23a
commit
f6fb6a69cd
@ -1,26 +1,26 @@
|
||||
%{!?gitrev: %global gitrev f0f0cef}
|
||||
%{?!dnf_version: %global dnf_version 0.6.4-2}
|
||||
|
||||
Name: dnf-plugins-core
|
||||
Version: 0.1.5
|
||||
Release: 3%{?dist}
|
||||
Summary: Core Plugins for DNF
|
||||
Group: System Environment/Base
|
||||
License: GPLv2+
|
||||
URL: https://github.com/rpm-software-management/dnf-plugins-core
|
||||
Name: dnf-plugins-core
|
||||
Version: 0.1.6
|
||||
Release: 1%{?dist}
|
||||
Summary: Core Plugins for DNF
|
||||
Group: System Environment/Base
|
||||
License: GPLv2+
|
||||
URL: https://github.com/rpm-software-management/dnf-plugins-core
|
||||
# source archive is created by running package/archive from a git checkout
|
||||
Source0: dnf-plugins-core-%{gitrev}.tar.xz
|
||||
BuildArch: noarch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gettext
|
||||
Source0: dnf-plugins-core-%{gitrev}.tar.xz
|
||||
BuildArch: noarch
|
||||
BuildRequires: cmake
|
||||
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
|
||||
Core Plugins for DNF. This package enhance DNF with builddep, config-manager,
|
||||
copr, debuginfo-install, download, needs-restarting, repoquery and
|
||||
reposync commands. Additionally provides generate_completion_cache, noroot and
|
||||
protected_packages passive plugins.
|
||||
|
||||
@ -28,14 +28,22 @@ protected_packages passive plugins.
|
||||
Summary: Core Plugins for DNF
|
||||
Group: System Environment/Base
|
||||
BuildRequires: python-dnf >= %{dnf_version}
|
||||
BuildRequires: pykickstart
|
||||
%if 0%{?fedora} >= 23
|
||||
BuildRequires: python-kickstart
|
||||
%else
|
||||
BuildRequires: pykickstart
|
||||
%endif
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-sphinx
|
||||
BuildRequires: python2-devel
|
||||
Requires: python-dnf >= %{dnf_version}
|
||||
%if 0%{?fedora} >= 23
|
||||
Requires: python-kickstart
|
||||
%else
|
||||
Requires: pykickstart
|
||||
%endif
|
||||
Requires: python-requests
|
||||
Obsoletes: dnf-plugins-core <= 0.1.4-1
|
||||
Obsoletes: dnf-plugins-core <= 0.1.5
|
||||
%description -n python-dnf-plugins-core
|
||||
Core Plugins for DNF, Python 2 interface. This package enhance DNF with builddep, copr,
|
||||
debuginfo-install, download, kickstart, needs-restarting, repoquery and
|
||||
@ -51,10 +59,10 @@ BuildRequires: python3-nose
|
||||
BuildRequires: python3-sphinx
|
||||
Requires: python3-requests
|
||||
Requires: python3-dnf >= %{dnf_version}
|
||||
Obsoletes: dnf-plugins-core <= 0.1.4-1
|
||||
Obsoletes: dnf-plugins-core <= 0.1.5
|
||||
%description -n python3-dnf-plugins-core
|
||||
Core Plugins for DNF, Python 3 interface. This package enhance DNF with builddep, copr,
|
||||
debuginfo-install, download, needs-restarting, repoquery and
|
||||
config-manager, debuginfo-install, download, needs-restarting, repoquery and
|
||||
reposync commands. Additionally provides generate_completion_cache, noroot and
|
||||
protected_packages passive plugins.
|
||||
|
||||
@ -86,19 +94,17 @@ popd
|
||||
PYTHONPATH=./plugins /usr/bin/nosetests-2.* -s tests/
|
||||
PYTHONPATH=./plugins /usr/bin/nosetests-3.* -s tests/
|
||||
|
||||
%files -f %{name}.lang
|
||||
%files -n python-dnf-plugins-core -f %{name}.lang
|
||||
%doc AUTHORS COPYING README.rst
|
||||
%{_mandir}/man8/dnf.plugin.*
|
||||
|
||||
%files -n python-dnf-plugins-core
|
||||
%doc AUTHORS COPYING README.rst
|
||||
%dir %{_sysconfdir}/dnf/protected.d
|
||||
%ghost %{_var}/cache/dnf/packages.db
|
||||
%{python_sitelib}/dnf-plugins/*
|
||||
%{python_sitelib}/dnfpluginscore/
|
||||
|
||||
%files -n python3-dnf-plugins-core
|
||||
%files -n python3-dnf-plugins-core -f %{name}.lang
|
||||
%doc AUTHORS COPYING README.rst
|
||||
%{_mandir}/man8/dnf.plugin.*
|
||||
%dir %{_sysconfdir}/dnf/protected.d
|
||||
%ghost %{_var}/cache/dnf/packages.db
|
||||
%exclude %{python3_sitelib}/dnf-plugins/__pycache__/
|
||||
@ -109,12 +115,9 @@ PYTHONPATH=./plugins /usr/bin/nosetests-3.* -s tests/
|
||||
|
||||
%changelog
|
||||
|
||||
* Fri Mar 6 2015 Jan Silhan <jsilhan@redhat.com> - 0.1.5-3
|
||||
* Fri Mar 6 2015 Jan Silhan <jsilhan@redhat.com> - 0.1.6-1
|
||||
- fixed python(3)-dnf dependency in f23
|
||||
|
||||
* Mon Feb 23 2015 Jan Silhan <jsilhan@redhat.com> - 0.1.5-2
|
||||
- Split into python/python3 subpackages
|
||||
|
||||
* Thu Feb 5 2015 Jan Silhan <jsilhan@redhat.com> - 0.1.5-1
|
||||
- updated package url (Michael Mraka)
|
||||
- also dnf_version could be specified on rpmbuild commandline (Michael Mraka)
|
||||
|
Loading…
Reference in New Issue
Block a user