diff --git a/.gitignore b/.gitignore index d68e613..3464894 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /dnf-plugins-extras-e9f5ec1.tar.xz /dnf-plugins-extras-7ded32f.tar.xz +/dnf-plugins-extras-9eb28b7.tar.xz diff --git a/dnf-plugins-extras.spec b/dnf-plugins-extras.spec index fc9218d..b4c17b5 100644 --- a/dnf-plugins-extras.spec +++ b/dnf-plugins-extras.spec @@ -1,8 +1,8 @@ -%global gitrev 7ded32f +%global gitrev 9eb28b7 %global dnf_version 0.6.3 Name: dnf-plugins-extras -Version: 0.0.2 +Version: 0.0.3 Release: 1%{?dist} Summary: Extras Plugins for DNF Group: System Environment/Base @@ -16,10 +16,13 @@ BuildArch: noarch BuildRequires: cmake BuildRequires: dnf = %{dnf_version} BuildRequires: gettext -#BuildRequires: python-nose +BuildRequires: python-nose BuildRequires: python-sphinx BuildRequires: python2-devel +Requires: %{name}-local +Requires: %{name}-repoclosure +Requires: %{name}-repograph Requires: %{name}-repomanage Requires: %{name}-snapper Requires: %{name}-tracer @@ -33,9 +36,12 @@ Summary: Extras Plugins for DNF Group: System Environment/Base BuildRequires: python3-devel BuildRequires: python3-dnf = %{dnf_version} -#BuildRequires: python3-nose +BuildRequires: python3-nose BuildRequires: python3-sphinx +Requires: python3-dnf-plugins-extras-local +Requires: python3-dnf-plugins-extras-repoclosure +Requires: python3-dnf-plugins-extras-repograph Requires: python3-dnf-plugins-extras-repomanage Requires: python3-dnf-plugins-extras-rpmconf Requires: python3-dnf-plugins-extras-snapper @@ -59,6 +65,53 @@ Requires: python3-dnf = %{dnf_version} %description -n python3-dnf-plugins-extras-common Common files for Extras Plugins for DNF, Python 3 version. +%package local +Summary: Local Plugin for DNF +Requires: %{name}-common = %{version}-%{release} + +%description local +Local Plugin for DNF. Automatically copy all downloaded packages to a +repository on the local filesystem and generating repo metadata. + +%package -n python3-dnf-plugins-extras-local +Summary: Local Plugin for DNF +Requires: python3-dnf-plugins-extras-common = %{version}-%{release} + +%description -n python3-dnf-plugins-extras-local +Local Plugin for DNF, Python 3 version. Automatically copy all downloaded +packages to a repository on the local filesystem and generating repo metadata. + +%package repoclosure +Summary: RepoClosure Plugin for DNF +Requires: %{name}-common = %{version}-%{release} + +%description repoclosure +RepoClosure Plugin for DNF. Display a list of unresolved dependencies for +repositories. + +%package -n python3-dnf-plugins-extras-repoclosure +Summary: RepoClosure Plugin for DNF +Requires: python3-dnf-plugins-extras-common = %{version}-%{release} + +%description -n python3-dnf-plugins-extras-repoclosure +RepoClosure Plugin for DNF, Python 3 version. Display a list of unresolved +dependencies for repositories. + +%package repograph +Summary: RepoGraph Plugin for DNF +Requires: %{name}-common = %{version}-%{release} + +%description repograph +RepoGraph Plugin for DNF. Output a full package dependency graph in dot format. + +%package -n python3-dnf-plugins-extras-repograph +Summary: RepoGraph Plugin for DNF +Requires: python3-dnf-plugins-extras-common = %{version}-%{release} + +%description -n python3-dnf-plugins-extras-repograph +RepoGraph Plugin for DNF, Python 3 version. Output a full package dependency +graph in dot format. + %package repomanage Summary: RepoManage Plugin for DNF Requires: %{name}-common = %{version}-%{release} @@ -73,6 +126,7 @@ Requires: python3-dnf-plugins-extras-common = %{version}-%{release} %description -n python3-dnf-plugins-extras-repomanage RepoManage Plugin for DNF, Python 3 version. Manage a directory of rpm packages. +%if 0%{?fedora} > 21 %package -n python3-dnf-plugins-extras-rpmconf Summary: RpmConf Plugin for DNF Requires: python3-dnf-plugins-extras-common = %{version}-%{release} @@ -81,6 +135,7 @@ Requires: python3-rpmconf %description -n python3-dnf-plugins-extras-rpmconf RpmConf Plugin for DNF, Python 3 version. Handles .rpmnew, .rpmsave every transaction. +%endif %package snapper Summary: Snapper Plugin for DNF @@ -104,7 +159,8 @@ Snapper Plugin for DNF, Python 3 version. Creates snapshot every transaction. Summary: Tracer Plugin for DNF Requires: %{name}-common = %{version}-%{release} Requires: tracer -Obsoletes: dnf-plugin-tracer <= 0.5.6-1 +Obsoletes: dnf-plugin-tracer < 0.5.6-2 +Provides: dnf-plugin-tracer = 1:%{version}-%{release} %description tracer Tracer Plugin for DNF. Finds outdated running applications in your system @@ -143,9 +199,14 @@ pushd py3 %make_install popd +%if 0%{?fedora} <= 21 +rm -f %{buildroot}%{python3_sitelib}/dnf-plugins/rpm_conf.* +rm -f %{buildroot}%{python3_sitelib}/dnf-plugins/__pycache__/rpm_conf.* +%endif + %check -#PYTHONPATH=./plugins /usr/bin/nosetests-2.* -s tests/ -#PYTHONPATH=./plugins /usr/bin/nosetests-3.* -s tests/ +PYTHONPATH=./plugins /usr/bin/nosetests-2.* -s tests/ +PYTHONPATH=./plugins /usr/bin/nosetests-3.* -s tests/ %files # No files, metapackage @@ -162,6 +223,29 @@ popd %{python3_sitelib}/dnfpluginsextras/ %dir %{python3_sitelib}/dnf-plugins/__pycache__/ +%files local +%config %{_sysconfdir}/dnf/plugins/local.conf +%{python_sitelib}/dnf-plugins/local.* + +%files -n python3-dnf-plugins-extras-local +%config %{_sysconfdir}/dnf/plugins/local.conf +%{python3_sitelib}/dnf-plugins/local.* +%{python3_sitelib}/dnf-plugins/__pycache__/local.* + +%files repoclosure +%{python_sitelib}/dnf-plugins/repoclosure.* + +%files -n python3-dnf-plugins-extras-repoclosure +%{python3_sitelib}/dnf-plugins/repoclosure.* +%{python3_sitelib}/dnf-plugins/__pycache__/repoclosure.* + +%files repograph +%{python_sitelib}/dnf-plugins/repograph.* + +%files -n python3-dnf-plugins-extras-repograph +%{python3_sitelib}/dnf-plugins/repograph.* +%{python3_sitelib}/dnf-plugins/__pycache__/repograph.* + %files repomanage %{python_sitelib}/dnf-plugins/repomanage.* @@ -169,9 +253,11 @@ popd %{python3_sitelib}/dnf-plugins/repomanage.* %{python3_sitelib}/dnf-plugins/__pycache__/repomanage.* +%if 0%{?fedora} > 21 %files -n python3-dnf-plugins-extras-rpmconf %{python3_sitelib}/dnf-plugins/rpm_conf.* %{python3_sitelib}/dnf-plugins/__pycache__/rpm_conf.* +%endif %files snapper %{python_sitelib}/dnf-plugins/snapper.* @@ -188,6 +274,34 @@ popd %{python3_sitelib}/dnf-plugins/__pycache__/tracer.* %changelog +* Thu Jan 29 2015 Igor Gnatenko - 0.0.3-1 +- po: update translations (Igor Gnatenko) +- packaging: include rpmconf plugin only for F22+ (Igor Gnatenko) +- trivial: drop note about bug (Igor Gnatenko) +- local: prefer verbose option on quiet (Igor Gnatenko) +- local: simplidy parsing code (Igor Gnatenko) +- local: fix output from spawning createrepo (Igor Gnatenko) +- doc: improve documentation for local plugin (Igor Gnatenko) +- repoclosure: store requirements as is (Igor Gnatenko) +- repoclosure: optimize performance and memory usage (Igor Gnatenko) +- build: distribute forgotten files (Igor Gnatenko) +- po: update translations (Igor Gnatenko) +- plugins: add repoclosure plugin (Igor Gnatenko) +- packaging: fix files for common subpkg after one of merges (Igor Gnatenko) +- local: use createrepo_c instead of createrepo (Igor Gnatenko) +- plugins: add local plugin (RhBug:991014) (Igor Gnatenko) +- repograph: set decimal places to 12 for colors (Igor Gnatenko) +- tests: fix indentation in repograph (Igor Gnatenko) +- plugins: add repograph plugin (Igor Gnatenko) +- repomanage: replace dnfpluginscore with dnfpluginsextras (Igor Gnatenko) +- plugins: fix typo in if/else (Igor Gnatenko) +- doc: add note that --new by default for repomanage (Igor Gnatenko) +- snapper: don't make snapshots if user removing snapper (RhBug:1177631) (Igor Gnatenko) +- tests: add tests for repomanage (Igor Gnatenko) +- tests: add initial framework (Igor Gnatenko) +- repomanage: use native pkg.location without path join (Igor Gnatenko) +- packaging: obsolete and provide dnf-plugin-tracer correctly (Igor Gnatenko) + * Sun Jan 25 2015 Igor Gnatenko - 0.0.2-1 - po: update translations (Igor Gnatenko) - Revert "rename rpm_conf to rpmconf" (Igor Gnatenko) diff --git a/sources b/sources index b6fe88d..91682fa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6cc4023fbbc5fdfbb530dabaaa60dfae dnf-plugins-extras-7ded32f.tar.xz +04083d2394699247b915584a00f43eac dnf-plugins-extras-9eb28b7.tar.xz