New release: 0.1.5-2
This commit is contained in:
parent
c01e4d3792
commit
ceec256fed
@ -1,9 +1,9 @@
|
|||||||
%{!?gitrev: %global gitrev 351e094}
|
%{!?gitrev: %global gitrev 351e094}
|
||||||
%{?!dnf_version: %global dnf_version 0.6.3}
|
%{?!dnf_version: %global dnf_version 0.6.4-2}
|
||||||
|
|
||||||
Name: dnf-plugins-core
|
Name: python-dnf-plugins-core
|
||||||
Version: 0.1.5
|
Version: 0.1.5
|
||||||
Release: 1%{?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+
|
||||||
@ -14,18 +14,22 @@ Source0: dnf-plugins-core-%{gitrev}.tar.xz
|
|||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: dnf >= %{dnf_version}
|
BuildRequires: python-dnf >= %{dnf_version}
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: pykickstart
|
BuildRequires: pykickstart
|
||||||
BuildRequires: python-nose
|
BuildRequires: python-nose
|
||||||
BuildRequires: python-sphinx
|
BuildRequires: python-sphinx
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
Requires: 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
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Core Plugins for DNF. 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
|
||||||
protected_packages passive plugins.
|
protected_packages passive plugins.
|
||||||
@ -38,10 +42,14 @@ BuildRequires: python3-dnf >= %{dnf_version}
|
|||||||
BuildRequires: python3-nose
|
BuildRequires: python3-nose
|
||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-sphinx
|
||||||
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
|
||||||
|
%endif
|
||||||
|
|
||||||
%description -n python3-dnf-plugins-core
|
%description -n python3-dnf-plugins-core
|
||||||
Core Plugins for DNF, Python 3 version. This package enhance DNF with builddep, copr,
|
Core Plugins for DNF, Python 3 interface. This package enhance DNF with builddep, copr,
|
||||||
debuginfo-install, download, kickstart, needs-restarting, repoquery and
|
debuginfo-install, download, needs-restarting, repoquery and
|
||||||
reposync commands. Additionally provides generate_completion_cache, noroot and
|
reposync commands. Additionally provides generate_completion_cache, noroot and
|
||||||
protected_packages passive plugins.
|
protected_packages passive plugins.
|
||||||
|
|
||||||
@ -64,7 +72,7 @@ popd
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
%find_lang %{name}
|
%find_lang dnf-plugins-core
|
||||||
pushd py3
|
pushd py3
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
popd
|
popd
|
||||||
@ -73,7 +81,7 @@ 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 %{name}.lang
|
%files -f dnf-plugins-core.lang
|
||||||
%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
|
||||||
@ -81,11 +89,12 @@ PYTHONPATH=./plugins /usr/bin/nosetests-3.* -s tests/
|
|||||||
%{python_sitelib}/dnfpluginscore/
|
%{python_sitelib}/dnfpluginscore/
|
||||||
%{_mandir}/man8/dnf.plugin.*
|
%{_mandir}/man8/dnf.plugin.*
|
||||||
|
|
||||||
%files -n python3-dnf-plugins-core -f %{name}.lang
|
%files -n python3-dnf-plugins-core -f dnf-plugins-core.lang
|
||||||
%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
|
||||||
%exclude %{python3_sitelib}/dnf-plugins/__pycache__/
|
%exclude %{python3_sitelib}/dnf-plugins/__pycache__/
|
||||||
|
%exclude %{python3_sitelib}/dnf-plugins/kickstart.py
|
||||||
%{python3_sitelib}/dnf-plugins/*
|
%{python3_sitelib}/dnf-plugins/*
|
||||||
%{python3_sitelib}/dnf-plugins/__pycache__/*
|
%{python3_sitelib}/dnf-plugins/__pycache__/*
|
||||||
%{python3_sitelib}/dnfpluginscore/
|
%{python3_sitelib}/dnfpluginscore/
|
||||||
@ -93,6 +102,9 @@ PYTHONPATH=./plugins /usr/bin/nosetests-3.* -s tests/
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
* Mon Feb 23 2015 Jan Silhan <jsilhan@redhat.com> - 0.1.5-2
|
||||||
|
- dnf-plugins-core is named python-dnf-plugins-core
|
||||||
|
|
||||||
* 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)
|
||||||
- also dnf_version could be specified on rpmbuild commandline (Michael Mraka)
|
- also dnf_version could be specified on rpmbuild commandline (Michael Mraka)
|
||||||
|
Loading…
Reference in New Issue
Block a user