Name: distro-info Version: 1.7 Release: 1%{?dist} Summary: Provides information about releases of Debian and Ubuntu License: ISC URL: https://tracker.debian.org/pkg/distro-info Source0: http://deb.debian.org/debian/pool/main/d/%{name}/%{name}_%{version}.tar.xz # Remove incompatible --install-layout=deb Patch1: 0001-Remove-install-layout.patch # Adapt Perl path for Fedora Patch2: 0002-Fix-Perl-install-path.patch # Do not install symlink as there is no fedora-distro-info Patch3: 0003-Do-not-install-VENDOR-distro-info-symlink.patch BuildRequires: distro-info-data BuildRequires: dpkg-dev BuildRequires: gcc BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(Test::Simple) BuildRequires: perl(Time::Piece) BuildRequires: /usr/bin/python3 BuildRequires: python3-devel BuildRequires: python3-flake8 BuildRequires: python3-pylint BuildRequires: python3-setuptools BuildRequires: shunit2 BuildRequires: make Requires: distro-info-data %description Information about all releases of Debian and Ubuntu. The distro-info script will give you the codename for e.g. the latest stable release of your distribution. To get information about a specific distribution there are the debian-distro-info and the ubuntu-distro-info scripts. %package -n perl-Debian-DistroInfo Summary: Perl module for distro-info BuildArch: noarch Requires: perl-interpreter Requires: perl(Time::Piece) Requires: distro-info-data Obsoletes: perl-distro-info < 1.7-1 Provides: perl-distro-info = %{version}-%{release} %description -n perl-Debian-DistroInfo This package contains a Perl module for parsing the data in distro-info-data. %package -n python3-distro-info Summary: Python 3 module for distro-info BuildArch: noarch Requires: python3 Requires: distro-info-data %{?python_provide:%python_provide python3-distro-info} %description -n python3-distro-info This package contains a Python 3 module for parsing the data in distro-info-data. %prep %autosetup %build %make_build %install %make_install %check PATH="/usr/share/shunit2:${PATH}" make test || true %files %license debian/copyright %{_bindir}/*-distro-info %{_mandir}/man1/*distro-info.1* %files -n perl-Debian-DistroInfo %license debian/copyright %{perl_vendorlib}/Debian/ %files -n python3-distro-info %license debian/copyright %{python3_sitelib}/distro_info* %{python3_sitelib}/__pycache__/* %changelog * Mon Jul 22 2024 Neal Gompa - 1.7-1 - Rebase to version 1.7 - Rename Perl module package to match naming conventions per the guidelines * Wed Jul 17 2024 Fedora Release Engineering - 0.18-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 16 2024 Python Maint - 0.18-21 - Rebuilt for Python 3.13 * Wed Jan 24 2024 Fedora Release Engineering - 0.18-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.18-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.18-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jul 14 2023 Python Maint - 0.18-17 - Rebuilt for Python 3.12 * Thu Jan 19 2023 Fedora Release Engineering - 0.18-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.18-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.18-14 - Rebuilt for Python 3.11 * Thu Jan 20 2022 Fedora Release Engineering - 0.18-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.18-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.18-11 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Fedora Release Engineering - 0.18-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.18-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.18-8 - Rebuilt for Python 3.9 * Tue Jan 28 2020 Fedora Release Engineering - 0.18-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.18-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.18-5 - Rebuilt for Python 3.8 * Wed Jul 24 2019 Fedora Release Engineering - 0.18-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Oct 05 2018 Michael Kuhn - 0.18-2 - Remove python2 package - Fix tests * Thu Jul 19 2018 Michael Kuhn - 0.18-1 - Update to 0.18 - Explicitly depend on gcc and /usr/bin/python * Thu Jul 12 2018 Fedora Release Engineering - 0.17-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.17-3 - Rebuilt for Python 3.7 * Wed Feb 07 2018 Fedora Release Engineering - 0.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Oct 25 2017 Michael Kuhn - 0.17-1 - Update to 0.17 * Wed Aug 02 2017 Fedora Release Engineering - 0.14-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.14-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jul 13 2017 Petr Pisar - 0.14-8 - perl dependency renamed to perl-interpreter * Fri Feb 10 2017 Fedora Release Engineering - 0.14-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.14-6 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.14-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed Feb 03 2016 Fedora Release Engineering - 0.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jan 04 2016 Michael Kuhn - 0.14-3 - Explicitly require python2. - Rename python-* packages to python2-*. - Provide python-distro-info. * Tue Dec 29 2015 Michael Kuhn - 0.14-2 - Add license text. - Own perl directory. - Do not install distro-info symlink. * Fri Nov 06 2015 Michael Kuhn - 0.14-1 - Initial package.