Blame SPECS/microdnf.spec

f18df4
%global libdnf_version 0.55.0-4
d469b3
07207c
Name:           microdnf
c3ceb7
Version:        3.4.0
f18df4
Release:        4%{?dist}
c3ceb7
Summary:        Minimal C implementation of DNF
07207c
07207c
License:        GPLv3+
07207c
URL:            https://github.com/rpm-software-management/microdnf
07207c
Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
f18df4
Patch0:         0001-Add-module-enable-disable-reset-command.patch
f18df4
Patch1:         0002-Add-support-for-setting-a-platform-module-ID.patch
f18df4
Patch2:         0003-Rename-update-command-to-upgrade-update-remain-as-compatibility-alias-RhBug-1905471.patch
f18df4
Patch3:         0004-Print-info-about-obsoleted-packages-before-transaction-RhBug-1855542.patch
07207c
07207c
BuildRequires:  gcc
07207c
BuildRequires:  meson >= 0.36.0
07207c
BuildRequires:  pkgconfig(glib-2.0) >= 2.44.0
07207c
BuildRequires:  pkgconfig(gobject-2.0) >= 2.44.0
07207c
BuildRequires:  pkgconfig(libpeas-1.0) >= 1.20.0
d469b3
BuildRequires:  pkgconfig(libdnf) >= %{libdnf_version}
07207c
BuildRequires:  pkgconfig(smartcols)
4142df
BuildRequires:  help2man
07207c
d469b3
Requires:       libdnf%{?_isa} >= %{libdnf_version}
d469b3
07207c
%description
c3ceb7
Micro DNF is a very minimal C implementation of DNF's install, upgrade,
c3ceb7
remove, repolist, and clean commands, designed to be used for doing simple
c3ceb7
packaging actions in containers when you don't need full-blown DNF and
c3ceb7
you want the tiniest useful containers possible.
c3ceb7
c3ceb7
That is, you don't want any interpreter stack and you want the most
c3ceb7
minimal environment possible so you can build up to exactly what you need.
c3ceb7
c3ceb7
This is not a substitute for DNF for real systems, and many of DNF's
c3ceb7
capabilities are intentionally not implemented in Micro DNF.
c3ceb7
07207c
07207c
%prep
07207c
%autosetup -p1
07207c
07207c
%build
07207c
%meson
07207c
%meson_build
07207c
07207c
%install
07207c
%meson_install
07207c
07207c
%check
07207c
%meson_test
07207c
07207c
%files
07207c
%license COPYING
07207c
%doc README.md
c3ceb7
%{_mandir}/man8/microdnf.8*
07207c
%{_bindir}/%{name}
07207c
07207c
%changelog
f18df4
* Mon Feb 08 2021 Nicola Sella <nsella@redhat.com> - 3.4.0-4
f18df4
- Print info about obsoleted packages before transaction (RhBug:1855542)
f18df4
f18df4
* Fri Jan 29 2021 Nicola Sella <nsella@redhat.com> - 3.4.0-3
f18df4
- Patch: Add support for setting a platform module ID
f18df4
- Rename "update" command to "upgrade", "update" remain as compatibility alias
f18df4
f18df4
* Fri Jan 15 2021 Nicola Sella <nsella@redhat.com> - 3.4.0-2
f18df4
- Patch: Add module enable/disable/reset command
f18df4
c3ceb7
* Mon Apr 06 2020 Ales Matej <amatej@redhat.com> - 3.4.0-1
c3ceb7
- Update to 3.4.0
c3ceb7
- Fix: do not download metadata in remove command
c3ceb7
- Add reinstall command
c3ceb7
- Add "--setopt=tsflags=test" support
c3ceb7
- Add "--setopt=reposdir=<path>" and "--setopt=varsdir=<path1>,<path2>,..." support
c3ceb7
- Add "--config=<path_to_config_file>" support
c3ceb7
- Add "--disableplugin", "--enableplugin" support (RhBug:1781126)
c3ceb7
- Add "--noplugins" support
c3ceb7
- Add "--setopt=cachedir=<path_to_cache_directory>" support
c3ceb7
- Add "--installroot=<path_to_installroot_directory>" support
c3ceb7
- Add "--refresh" support
c3ceb7
- Support "install_weak_deps" conf option and "--setopt=install_weak_deps=0/1"
c3ceb7
- Respect reposdir from conf file
c3ceb7
- Respect "metadata_expire" conf file opton (RhBug:1771147)
c3ceb7
- [repolist] Print padding spaces only if output is terminal
c3ceb7
d469b3
* Mon Jan 13 2020 Ales Matej <amatej@redhat.com> - 3.0.1-8
d469b3
- Fix: Don't print lines with (null) in transaction report (RhBug:1691353)
d469b3
d469b3
* Tue Dec 17 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 3.0.1-7
d469b3
- Add dependency on libdnf
d469b3
d469b3
* Tue Dec 17 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 3.0.1-6
d469b3
- Allow downgrade for all transactions microdnf does (RhBug:1725863)
d469b3
d469b3
* Tue Nov 26 2019 Ales Matej <amatej@redhat.com> - 3.0.1-5
d469b3
- Add repolist command (RhBug:1584952)
d469b3
- Add repoquery command (RhBug:1769245)
d469b3
d469b3
* Wed Nov 13 2019 Ales Matej <amatej@redhat.com> - 3.0.1-4
d469b3
- Add support of best behavior (RhBug:1679476)
d469b3
- Add support for --releasever (RhBug:1591627)
d469b3
4142df
* Fri Aug 30 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 3.0.1-3
4142df
- Fix microdnf --help coredump (RhBug:1744979)
4142df
4142df
* Thu Aug 01 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 3.0.1-2
4142df
- Fix minor memory leaks (RhBug:1702283)
4142df
- Use help2man to generate a man page (RhBug:1612520)
4142df
07207c
* Wed Jun 27 2018 Jaroslav Mracek <jmracek@redhat.com> - 3.0.1-1
07207c
- Update to 3.0.1
07207c
07207c
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3-5
07207c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
07207c
07207c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3-4
07207c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
07207c
07207c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3-3
07207c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
07207c
07207c
* Sat Jul 22 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3-2
07207c
- No CMake, only meson
07207c
07207c
* Thu Jun 01 2017 Igor Gnatenko <ignatenko@redhat.com> - 3-1
07207c
- Update to 3
07207c
07207c
* Fri May 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 2-3
07207c
- Apply few patches from upstream
07207c
07207c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2-2
07207c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
07207c
07207c
* Thu Feb 02 2017 Igor Gnatenko <ignatenko@redhat.com> - 2-1
07207c
- Update to 2
07207c
07207c
* Mon Dec 12 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1-1
07207c
- Initial package