Blame SPECS/microdnf.spec

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