## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 10; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: shyaml Version: 0.6.2 Release: %autorelease Summary: YAML for command line License: BSD-2-Clause URL: https://github.com/0k/shyaml Source0: https://github.com/0k/shyaml/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Avoids the need to run autogen.sh during setup (which requires the complete # git repository). Recreate by running './autogen.sh' in a local git checkout Patch0: %{name}.autogen.patch # Remove CHANGELOG from the files to install, as it does not exist. Patch1: %{name}.filelist.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: %{py3_dist d2to1} BuildRequires: %{py3_dist pyyaml} %description Simple scripts that allow read access to YAML files through command line. This can be handy, if you want to get access to YAML data in your shell scripts. This scripts supports only read access and it might not support all the subtleties of YAML specification. But it should support some handy basic query of YAML file. %prep %autosetup -p1 -n %{name}-%{version} %build %py3_build %install %py3_install %files %license LICENSE %doc README.rst %{python3_sitelib}/* %{_bindir}/shyaml %changelog * Fri Jun 23 2023 Till Hofmann - 0.6.2-10 - Migrate to SPDX license tag * Tue Jun 13 2023 Python Maint - 0.6.2-9 - Rebuilt for Python 3.12 * Sat Jan 21 2023 Fedora Release Engineering - 0.6.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.6.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.6.2-5 - Rebuilt for Python 3.11 * Sat Jan 22 2022 Fedora Release Engineering - 0.6.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.6.2-2 - Rebuilt for Python 3.10 * Sun Mar 07 2021 Till Hofmann - 0.6.2-1 - Update to 0.6.2 * Wed Jan 27 2021 Fedora Release Engineering - 0.6.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.6.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 24 2020 Till Hofmann - 0.6.1-7 - Explicitly BR python3-setuptools (https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/GCPGM34ZGEOVUHSBGZTRYR5XKHTIJ3T7/) * Tue May 26 2020 Miro Hrončok - 0.6.1-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.6.1-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.6.1-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Mar 26 2019 Till Hofmann - 0.6.1-1 - Update to 0.6.1 - Remove check section, no tests were run * Sat Feb 02 2019 Fedora Release Engineering - 0.5.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.5.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.5.0-5 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Jan 02 2018 Till Hofmann - 0.5.0-3 - Remove unnecessary shebang replacement (done by the installer) * Fri Dec 29 2017 Till Hofmann - 0.5.0-2 - Remove CHANGELOG from the installed files (CHANGELOG does not exist) * Thu Apr 27 2017 Till Hofmann - 0.5.0-1 - Initial package