## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 # Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate pager Name: rust-pager Version: 0.16.1 Release: %autorelease Summary: Helps pipe your output through an external pager # Upstream license specification: Apache-2.0/MIT License: Apache-2.0 OR MIT URL: https://crates.io/crates/pager Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 %global _description %{expand: Helps pipe your output through an external pager.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pedantic-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pedantic-devel %{_description} This package contains library source intended for building other packages which use the "pedantic" feature of the "%{crate}" crate. %files -n %{name}+pedantic-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires echo 'less' %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Mon Jan 15 2024 Arkady L. Shane - 0.16.1-1 - Rebuilt for MSVSphere 9.3 * Wed Oct 05 2022 Fabio Valentini 0.16.1-1 - Update to version 0.16.1; Fixes RHBZ#2129144 * Sat Jul 23 2022 Fedora Release Engineering - 0.16.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.16.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.16.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Dec 15 2020 Fabio Valentini - 0.16.0-1 - Update to version 0.16.0. * Wed Jul 29 2020 Fedora Release Engineering - 0.15.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.15.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.15.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Mar 09 2019 Igor Gnatenko - 0.15.0-3 - Adapt to new packaging * Sat Feb 02 2019 Fedora Release Engineering - 0.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Oct 07 2018 Igor Gnatenko - 0.15.0-1 - Update to 0.15.0 * Sat Jul 14 2018 Fedora Release Engineering - 0.14.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.14.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.14.0-2 - Rebuild for rust-packaging v5 * Wed Dec 13 2017 Igor Gnatenko - 0.14.0-1 - Update to 0.14.0 * Sun Dec 03 2017 Igor Gnatenko - 0.13.0-1 - Initial package