From 61a35ad5eed60cfbbf7301620dff4769c5925cb2 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 04 2021 00:39:21 +0000 Subject: import microdnf-3.8.0-3.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b10b256 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/microdnf-3.8.0.tar.gz diff --git a/.microdnf.metadata b/.microdnf.metadata new file mode 100644 index 0000000..b8749a3 --- /dev/null +++ b/.microdnf.metadata @@ -0,0 +1 @@ +c59c103e4cf88420e13dfd5ab9cc1558f0723227 SOURCES/microdnf-3.8.0.tar.gz diff --git a/SPECS/microdnf.spec b/SPECS/microdnf.spec new file mode 100644 index 0000000..3850101 --- /dev/null +++ b/SPECS/microdnf.spec @@ -0,0 +1,188 @@ +%global libdnf_version 0.62.0 + +Name: microdnf +Version: 3.8.0 +Release: 3%{?dist} +Summary: Lightweight implementation of DNF in C + +License: GPLv2+ +URL: https://github.com/rpm-software-management/microdnf +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: meson >= 0.36.0 +BuildRequires: pkgconfig(glib-2.0) >= 2.44.0 +BuildRequires: pkgconfig(gobject-2.0) >= 2.44.0 +BuildRequires: pkgconfig(libpeas-1.0) >= 1.20.0 +BuildRequires: pkgconfig(libdnf) >= %{libdnf_version} +BuildRequires: pkgconfig(smartcols) +BuildRequires: help2man + +Requires: libdnf%{?_isa} >= %{libdnf_version} +%if 0%{?rhel} > 8 || 0%{?fedora} +# Ensure DNF package manager configuration skeleton is installed +Requires: dnf-data +%endif + +%description +Micro DNF is a lightweight C implementation of DNF, designed to be used +for doing simple packaging actions when you don't need full-blown DNF and +you want the tiniest useful environments possible. + +That is, you don't want any interpreter stack and you want the most +minimal environment possible so you can build up to exactly what you need. + + +%prep +%autosetup -p1 + +%build +%meson +%meson_build + +%install +%meson_install + +%check +%meson_test + +%files +%license COPYING +%doc README.md +%{_mandir}/man8/microdnf.8* +%{_bindir}/%{name} + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 3.8.0-3 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Tue Jun 22 2021 Mohan Boddu - 3.8.0-2 +- Rebuilt for RHEL 9 BETA for openssl 3.0 + Related: rhbz#1971065 + +* Wed Jun 02 2021 Pavla Kratochvilova - 3.8.0-1 +- Update to 3.8.0 +- distrosync: Fix style issues and plugin build with Meson +- Add distro-sync subcommand +- Add "makecache" command + +* Fri Apr 16 2021 Mohan Boddu - 3.7.1-2 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Mon Mar 01 2021 Nicola Sella - 3.7.1-1 +- Update to 3.7.1 +- [download] fix: unwanted dependency on newer glib +- [download] Support for "--resolve" and "--alldeps" arguments +- [download] New get_packages_query function +- Support "--setopt=keepcache=0/1" +- [download] Support "--archlist=" argument +- [download] Move package download code to "download_packages" function +- [download] several optimizations +- Don't set default value of "assumeyes" to TRUE +- Support for user confirmation and assumeyes, assumeno, defaultyes +- Extend "--setopt" to support repository options +- Added alias "update" to "upgrade" command +- Command "update" renamed to "upgrade" +- Add support for command aliases +- dnf-data requirement only for Fedora and future RHEL +- Relicense to GPLv2+ [errata corrige: not in 3.5.1-1] +- Sync summary and description from openSUSE [errata corrige: not in 3.6.0-1] + +* Thu Jan 28 2021 Nicola Sella - 3.6.0-1 +- Update to 3.6.0 +- spec: Sync summary and description from openSUSE +- Add support for setting a platform module ID +- Add dependency for DNF configurations skeleton +- Add support for setting allow_vendor_change + +* Tue Jan 26 2021 Fedora Release Engineering - 3.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Nov 26 2020 Nicola Sella - 3.5.1-1 +- Update to 3.5.1 +- Relicense to GPLv2+ +- Bump minimum version of libdnf in CMake and Meson + +* Fri Nov 13 2020 Nicola Sella - 3.5.0-1 +- Update to 3.5.0 +- Add module enable and disable commands +- Add reports of module changes +- Add "module enable" command +- Add subcommands support +- Print info about obsoleted packages before transaction (RhBug:1855542) + +* Tue Jul 28 2020 Fedora Release Engineering - 3.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 3.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jan 15 2020 Ales Matej - 3.4.0-1 +- Add reinstall command +- Add "--setopt=tsflags=test" support +- Add "--setopt=reposdir=" and "--setopt=varsdir=,,..." support +- Add "--config=" support +- Add "--disableplugin", "--enableplugin" support (RhBug:1781126) +- Add "--noplugins" support +- Add "--setopt=cachedir=" support +- Add "--installroot=" support +- Add "--refresh" support +- Support "install_weak_deps" conf option and "--setopt=install_weak_deps=0/1" +- Respect reposdir from conf file +- Respect "metadata_expire" conf file opton (RhBug:1771147) +- Fix: Don't print lines with (null) in transaction report (RhBug:1691353) +- [repolist] Print padding spaces only if output is terminal + +* Fri Nov 29 2019 Ales Matej - 3.3.0-1 +- Update to 3.3.0 +- Fix: do not download metadata in remove command +- Add repolist command (RhBug:1584952) +- Add repoquery command (RhBug:1769245) + +* Wed Nov 06 2019 Pavla Kratochvilova - 3.0.2-1 +- Update to 3.0.2 +- Add support for --releasever (RhBug:1591627) +- Fix minor memory leaks (RhBug:1702283) +- Use help2man to generate a man page (RhBug:1612520) +- Allow downgrade for all transactions microdnf does (RhBug:1725863) +- Add options --best and --nobest for transactions (RhBug:1679476) + +* Thu Jul 25 2019 Fedora Release Engineering - 3.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 3.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 3.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jun 27 2018 Jaroslav Mracek - 3.0.1-1 +- Update to 3.0.1 + +* Thu Feb 08 2018 Fedora Release Engineering - 3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Jul 22 2017 Igor Gnatenko - 3-2 +- No CMake, only meson + +* Thu Jun 01 2017 Igor Gnatenko - 3-1 +- Update to 3 + +* Fri May 12 2017 Igor Gnatenko - 2-3 +- Apply few patches from upstream + +* Fri Feb 10 2017 Fedora Release Engineering - 2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 02 2017 Igor Gnatenko - 2-1 +- Update to 2 + +* Mon Dec 12 2016 Igor Gnatenko - 1-1 +- Initial package