From 3a7110867651c16d99b44983e7bdc91bd9af451f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 19:41:15 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/microdnf#2818a5051d895e9f9fee9eb006522ce8086befef --- .gitignore | 7 +++ microdnf.spec | 129 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 137 insertions(+) create mode 100644 microdnf.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..cb80961 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,7 @@ +/microdnf-1.tar.gz +/microdnf-2.tar.gz +/microdnf-3.tar.gz +/microdnf-3.0.1.tar.gz +/microdnf-3.0.2.tar.gz +/microdnf-3.3.0.tar.gz +/microdnf-3.4.0.tar.gz diff --git a/microdnf.spec b/microdnf.spec new file mode 100644 index 0000000..04ccbfd --- /dev/null +++ b/microdnf.spec @@ -0,0 +1,129 @@ +%global libdnf_version 0.43.1 + +Name: microdnf +Version: 3.4.0 +Release: 3%{?dist} +Summary: Minimal C implementation of DNF + +License: GPLv3+ +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} + +%description +Micro DNF is a very minimal C implementation of DNF's install, upgrade, +remove, repolist, and clean commands, designed to be used for doing simple +packaging actions in containers when you don't need full-blown DNF and +you want the tiniest useful containers 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. + +This is not a substitute for DNF for real systems, and many of DNF's +capabilities are intentionally not implemented in Micro DNF. + + +%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 +* 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 diff --git a/sources b/sources new file mode 100644 index 0000000..8713c41 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (microdnf-3.4.0.tar.gz) = 297b039f2235430cd2170665f40184a94aa691b21454233f19520c00393b04f783203821ef036b9c789491cbd793ca4eac8124a4c4537c7f2fdba18762c461c2