mluscon pushed to dnf-plugins-core (f22). "New release: 0.1.5-2"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Apr 9 12:56:14 UTC 2015
>From ceec256fed2ce96d16beadb63be6314c0a834648 Mon Sep 17 00:00:00 2001
From: Jan Silhan <jsilhan at redhat.com>
Date: Mon, 23 Feb 2015 21:18:01 +0100
Subject: New release: 0.1.5-2
diff --git a/dnf-plugins-core.spec b/dnf-plugins-core.spec
index 6e40e07..11d02b7 100644
--- a/dnf-plugins-core.spec
+++ b/dnf-plugins-core.spec
@@ -1,9 +1,9 @@
%{!?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
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Core Plugins for DNF
Group: System Environment/Base
License: GPLv2+
@@ -14,18 +14,22 @@ Source0: dnf-plugins-core-%{gitrev}.tar.xz
BuildArch: noarch
BuildRequires: cmake
-BuildRequires: dnf >= %{dnf_version}
+BuildRequires: python-dnf >= %{dnf_version}
BuildRequires: gettext
BuildRequires: pykickstart
BuildRequires: python-nose
BuildRequires: python-sphinx
BuildRequires: python2-devel
-Requires: dnf >= %{dnf_version}
+Requires: python-dnf >= %{dnf_version}
Requires: pykickstart
Requires: python-requests
+%if 0%{?fedora} < 23
+Provides: dnf-plugins-core = %{version}-%{release}
+Obsoletes: dnf-plugins-core <= 0.1.4-1
+%endif
%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
reposync commands. Additionally provides generate_completion_cache, noroot and
protected_packages passive plugins.
@@ -38,10 +42,14 @@ BuildRequires: python3-dnf >= %{dnf_version}
BuildRequires: python3-nose
BuildRequires: python3-sphinx
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
-Core Plugins for DNF, Python 3 version. This package enhance DNF with builddep, copr,
-debuginfo-install, download, kickstart, needs-restarting, repoquery and
+Core Plugins for DNF, Python 3 interface. 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.
@@ -64,7 +72,7 @@ popd
%install
make install DESTDIR=$RPM_BUILD_ROOT
-%find_lang %{name}
+%find_lang dnf-plugins-core
pushd py3
make install DESTDIR=$RPM_BUILD_ROOT
popd
@@ -73,7 +81,7 @@ popd
PYTHONPATH=./plugins /usr/bin/nosetests-2.* -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
%dir %{_sysconfdir}/dnf/protected.d
%ghost %{_var}/cache/dnf/packages.db
@@ -81,11 +89,12 @@ PYTHONPATH=./plugins /usr/bin/nosetests-3.* -s tests/
%{python_sitelib}/dnfpluginscore/
%{_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
%dir %{_sysconfdir}/dnf/protected.d
%ghost %{_var}/cache/dnf/packages.db
%exclude %{python3_sitelib}/dnf-plugins/__pycache__/
+%exclude %{python3_sitelib}/dnf-plugins/kickstart.py
%{python3_sitelib}/dnf-plugins/*
%{python3_sitelib}/dnf-plugins/__pycache__/*
%{python3_sitelib}/dnfpluginscore/
@@ -93,6 +102,9 @@ PYTHONPATH=./plugins /usr/bin/nosetests-3.* -s tests/
%changelog
+* Mon Feb 23 2015 Jan Silhan <jsilhan at redhat.com> - 0.1.5-2
+- dnf-plugins-core is named python-dnf-plugins-core
+
* Thu Feb 5 2015 Jan Silhan <jsilhan at redhat.com> - 0.1.5-1
- updated package url (Michael Mraka)
- also dnf_version could be specified on rpmbuild commandline (Michael Mraka)
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/dnf-plugins-core.git/commit/?h=f22&id=ceec256fed2ce96d16beadb63be6314c0a834648
More information about the scm-commits
mailing list