rebase to dnf-2-modularity-3 release

This commit is contained in:
Martin Hatina 2018-03-26 11:02:13 +02:00
parent c614077d9c
commit 307ea85d88
3 changed files with 13 additions and 4 deletions

3
.gitignore vendored
View File

@ -105,3 +105,6 @@
/dnf-2.7.4.tar.gz
/dnf-2.7.5.tar.gz
/dnf-2.7.5-modularity.tar.gz
/dnf-2.7.5-modularity-2.tar
/dnf-2.7.5-modularity-2.tar.gz
/dnf-2.7.5-modularity-3.tar.gz

View File

@ -28,12 +28,12 @@
Name: dnf
Version: 2.7.5
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Package manager forked from Yum, using libsolv as a dependency resolver
# For a breakdown of the licensing, see PACKAGE-LICENSING
License: GPLv2+ and GPLv2 and GPL
URL: https://github.com/rpm-software-management/dnf
Source0: %{url}/archive/%{version}/%{name}-%{version}-modularity.tar.gz
Source0: %{url}/archive/%{version}/%{name}-%{version}-modularity-3.tar.gz
Patch0: 0001-Allow-to-set-cacheonly-from-commands-and-conf-RhBug-.patch
Patch1: 0002-Remove-redundant-conf-option-cacheonly.patch
Patch2: 0003-Remove-unnecessary-code-for-set-cacheonly.patch
@ -208,7 +208,7 @@ Requires: %{name} = %{version}-%{release}
Alternative CLI to "dnf upgrade" suitable for automatic, regular execution.
%prep
%autosetup -p1 -n %{name}-%{version}-modularity
%autosetup -p1 -n %{name}-%{version}-modularity-3
mkdir build
%if %{with python3}
mkdir build-py3
@ -240,6 +240,7 @@ popd
mkdir -p %{buildroot}%{pluginconfpath}/
mkdir -p %{buildroot}%{py2pluginpath}/
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/modules.d
%if %{with python3}
mkdir -p %{buildroot}%{py3pluginpath}/__pycache__/
%endif
@ -354,6 +355,7 @@ popd
%exclude %{python2_sitelib}/%{name}/automatic
%{python2_sitelib}/%{name}/
%dir %{py2pluginpath}
%dir %{_sysconfdir}/%{name}/modules.d
%if %{with python3}
%files -n python3-%{name}
@ -362,6 +364,7 @@ popd
%{python3_sitelib}/%{name}/
%dir %{py3pluginpath}
%dir %{py3pluginpath}/__pycache__
%dir %{_sysconfdir}/%{name}/modules.d
%endif
%files automatic
@ -385,6 +388,9 @@ popd
%endif
%changelog
* Mon Mar 26 2018 Martin Hatina <mhatina@redhat.com> - 2.7.5-9
- Rebase to dnf from dnf-2-modularity-3 release.
* Mon Feb 12 2018 Daniel Mach <dmach@redhat.com> - 2.7.5-8
- Rebase to dnf from dnf-2-modularity branch.

View File

@ -1 +1 @@
SHA512 (dnf-2.7.5-modularity.tar.gz) = ae9259fdd90a22122db8a52d77772c6cb6950f8362bb7f291b404f7995aa2f45858981eee72e342a81550ef788c29fea0817c37f9f7e4e591e97616b7b5fc80e
SHA512 (dnf-2.7.5-modularity-3.tar.gz) = db031348c108b083cca8159ae8610eca6fc8c7eac2f0375118b50b5cc2599cbd6c7ecbc2c1a840c648f22fdfb382f3dec4c8b372ec37a110536f08667581be47