Blame SPECS/microdnf.spec

7ba71c
%global libdnf_version 0.62.0
94e8a5
94e8a5
Name:           microdnf
7ba71c
Version:        3.8.0
7ba71c
Release:        2%{?dist}
7ba71c
Summary:        Lightweight implementation of DNF in C
94e8a5
7ba71c
License:        GPLv2+
94e8a5
URL:            https://github.com/rpm-software-management/microdnf
94e8a5
Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
7ba71c
Patch1:         0001-Revert-Dont-set-default-value-of-assumeyes-to-TRUE.patch
94e8a5
94e8a5
BuildRequires:  gcc
94e8a5
BuildRequires:  meson >= 0.36.0
94e8a5
BuildRequires:  pkgconfig(glib-2.0) >= 2.44.0
94e8a5
BuildRequires:  pkgconfig(gobject-2.0) >= 2.44.0
94e8a5
BuildRequires:  pkgconfig(libpeas-1.0) >= 1.20.0
94e8a5
BuildRequires:  pkgconfig(libdnf) >= %{libdnf_version}
94e8a5
BuildRequires:  pkgconfig(smartcols)
94e8a5
BuildRequires:  help2man
94e8a5
94e8a5
Requires:       libdnf%{?_isa} >= %{libdnf_version}
7ba71c
%if 0%{?rhel} > 8 || 0%{?fedora}
7ba71c
# Ensure DNF package manager configuration skeleton is installed
7ba71c
Requires:       dnf-data
7ba71c
%endif
94e8a5
94e8a5
%description
7ba71c
Micro DNF is a lightweight C implementation of DNF, designed to be used
7ba71c
for doing simple packaging actions when you don't need full-blown DNF and
7ba71c
you want the tiniest useful environments possible.
98e0aa
98e0aa
That is, you don't want any interpreter stack and you want the most
98e0aa
minimal environment possible so you can build up to exactly what you need.
98e0aa
94e8a5
94e8a5
%prep
94e8a5
%autosetup -p1
94e8a5
94e8a5
%build
94e8a5
%meson
94e8a5
%meson_build
94e8a5
94e8a5
%install
94e8a5
%meson_install
94e8a5
94e8a5
%check
94e8a5
%meson_test
94e8a5
94e8a5
%files
94e8a5
%license COPYING
94e8a5
%doc README.md
98e0aa
%{_mandir}/man8/microdnf.8*
94e8a5
%{_bindir}/%{name}
94e8a5
94e8a5
%changelog
7ba71c
* Thu May 20 2021 Pavla Kratochvilova <pkratoch@redhat.com> - 3.8.0-2
7ba71c
- Revert: Don't set default value of "assumeyes" to TRUE
7ba71c
7ba71c
* Wed May 19 2021 Pavla Kratochvilova <pkratoch@redhat.com> - 3.8.0-1
7ba71c
- Update to 3.8.0
7ba71c
- Don't set default value of "assumeyes" to TRUE
7ba71c
- Support for user confirmation and assumeyes, assumeno, defaultyes
7ba71c
- Add commands: distro-sync, makecache
7ba71c
- Add subcommands support
7ba71c
- Add support for command aliases
7ba71c
- Added alias "update" to "upgrade" command
7ba71c
- Relicense to GPLv2+
7ba71c
- Add support for setting allow_vendor_change
7ba71c
- [download] Support for "--resolve", "--alldeps" and "--archlist=" arguments
7ba71c
- [download] several optimizations
7ba71c
- Support "--setopt=keepcache=0/1"
7ba71c
- Extend "--setopt" to support repository options
7ba71c
961a7b
* Mon Feb 08 2021 Nicola Sella <nsella@redhat.com> - 3.4.0-4
961a7b
- Print info about obsoleted packages before transaction (RhBug:1855542)
961a7b
57ce62
* Fri Jan 29 2021 Nicola Sella <nsella@redhat.com> - 3.4.0-3
57ce62
- Patch: Add support for setting a platform module ID
57ce62
- Rename "update" command to "upgrade", "update" remain as compatibility alias
57ce62
1c6b90
* Fri Jan 15 2021 Nicola Sella <nsella@redhat.com> - 3.4.0-2
1c6b90
- Patch: Add module enable/disable/reset command
1c6b90
98e0aa
* Mon Apr 06 2020 Ales Matej <amatej@redhat.com> - 3.4.0-1
98e0aa
- Update to 3.4.0
98e0aa
- Fix: do not download metadata in remove command
98e0aa
- Add reinstall command
98e0aa
- Add "--setopt=tsflags=test" support
98e0aa
- Add "--setopt=reposdir=<path>" and "--setopt=varsdir=<path1>,<path2>,..." support
98e0aa
- Add "--config=<path_to_config_file>" support
98e0aa
- Add "--disableplugin", "--enableplugin" support (RhBug:1781126)
98e0aa
- Add "--noplugins" support
98e0aa
- Add "--setopt=cachedir=<path_to_cache_directory>" support
98e0aa
- Add "--installroot=<path_to_installroot_directory>" support
98e0aa
- Add "--refresh" support
98e0aa
- Support "install_weak_deps" conf option and "--setopt=install_weak_deps=0/1"
98e0aa
- Respect reposdir from conf file
98e0aa
- Respect "metadata_expire" conf file opton (RhBug:1771147)
98e0aa
- [repolist] Print padding spaces only if output is terminal
98e0aa
94e8a5
* Mon Jan 13 2020 Ales Matej <amatej@redhat.com> - 3.0.1-8
94e8a5
- Fix: Don't print lines with (null) in transaction report (RhBug:1691353)
94e8a5
94e8a5
* Tue Dec 17 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 3.0.1-7
94e8a5
- Add dependency on libdnf
94e8a5
94e8a5
* Tue Dec 17 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 3.0.1-6
94e8a5
- Allow downgrade for all transactions microdnf does (RhBug:1725863)
94e8a5
94e8a5
* Tue Nov 26 2019 Ales Matej <amatej@redhat.com> - 3.0.1-5
94e8a5
- Add repolist command (RhBug:1584952)
94e8a5
- Add repoquery command (RhBug:1769245)
94e8a5
94e8a5
* Wed Nov 13 2019 Ales Matej <amatej@redhat.com> - 3.0.1-4
94e8a5
- Add support of best behavior (RhBug:1679476)
94e8a5
- Add support for --releasever (RhBug:1591627)
94e8a5
94e8a5
* Fri Aug 30 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 3.0.1-3
94e8a5
- Fix microdnf --help coredump (RhBug:1744979)
94e8a5
94e8a5
* Thu Aug 01 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 3.0.1-2
94e8a5
- Fix minor memory leaks (RhBug:1702283)
94e8a5
- Use help2man to generate a man page (RhBug:1612520)
94e8a5
94e8a5
* Wed Jun 27 2018 Jaroslav Mracek <jmracek@redhat.com> - 3.0.1-1
94e8a5
- Update to 3.0.1
94e8a5
94e8a5
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3-5
94e8a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
94e8a5
94e8a5
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3-4
94e8a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
94e8a5
94e8a5
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3-3
94e8a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
94e8a5
94e8a5
* Sat Jul 22 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3-2
94e8a5
- No CMake, only meson
94e8a5
94e8a5
* Thu Jun 01 2017 Igor Gnatenko <ignatenko@redhat.com> - 3-1
94e8a5
- Update to 3
94e8a5
94e8a5
* Fri May 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 2-3
94e8a5
- Apply few patches from upstream
94e8a5
94e8a5
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2-2
94e8a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
94e8a5
94e8a5
* Thu Feb 02 2017 Igor Gnatenko <ignatenko@redhat.com> - 2-1
94e8a5
- Update to 2
94e8a5
94e8a5
* Mon Dec 12 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1-1
94e8a5
- Initial package