Name: lsb_release Version: 3.2 Release: 1%{?dist} Summary: Linux Standard Base Release Tool using os-release(5) License: GPL-2.0-or-later URL: https://github.com/thkukuk/lsb-release_os-release Source0: %{url}/archive/v%{version}/lsb-release_os-release-%{version}.tar.gz # Backports from upstream ## Contains the following: ## * https://github.com/thkukuk/lsb-release_os-release/commit/a6c36a7438d5bfcb83cb110b236b1b80eaa896c8 ## * https://github.com/thkukuk/lsb-release_os-release/commit/ca8bd3cf229ed0d6257f95bac42a1cfc0c7d1aee Patch0: lsb-release_os-release-add-redhat-distros.patch BuildRequires: make # For the modified vendored copy of help2man required to make the man page BuildRequires: perl-interpreter BuildRequires: perl(Getopt::Long) BuildRequires: perl(Text::Tabs) BuildRequires: perl(POSIX) # Because sometimes there's just too much minimization Requires: /usr/bin/getopt Requires: /usr/bin/sed # This is intended to be an alternative to the "full" redhat-lsb version Conflicts: redhat-lsb-core BuildArch: noarch %description Linux Standard Base Release Tool, ported to use os-release(5) as the data source. %prep %autosetup -n lsb-release_os-release-%{version} -p1 %build make %install make install INSTALL_ROOT=%{buildroot}%{_prefix} %files %license COPYING %doc README %{_bindir}/lsb?release %{_mandir}/man1/lsb?release.1* %changelog * Wed Oct 25 2023 Neal Gompa - 3.2-1 - Update to 3.2 * Thu Dec 02 2021 Neal Gompa - 3.1-2 - Patch in support for Red Hat distributions * Thu Dec 02 2021 Neal Gompa - 3.1-1 - Initial package