## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %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 26 # * test sources are not included in published crates %bcond_with check %global debug_package %{nil} %global crate clap_mangen Name: rust-clap_mangen Version: 0.2.20 Release: %autorelease Summary: Manpage generator for clap License: MIT OR Apache-2.0 URL: https://crates.io/crates/clap_mangen Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A manpage generator for clap.} %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}/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}+debug-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+debug-devel %{_description} This package contains library source intended for building other packages which use the "debug" feature of the "%{crate}" crate. %files -n %{name}+debug-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Tue Apr 23 2024 Benjamin A. Beasley - 0.2.20-1 - Update to 0.2.20 (close RHBZ#2262432) * Tue Jan 30 2024 Fabio Valentini - 0.2.18-1 - Update to version 0.2.18; Fixes RHBZ#2261555 * Fri Jan 26 2024 Fedora Release Engineering - 0.2.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 11 2024 Fabio Valentini - 0.2.17-1 - Update to version 0.2.16; Fixes RHBZ#2256124 * Fri Nov 10 2023 Fabio Valentini - 0.2.15-1 - Update to version 0.2.15; Fixes RHBZ#2245963 * Wed Sep 20 2023 Fabio Valentini - 0.2.14-1 - Update to version 0.2.14; Fixes RHBZ#2234509 * Fri Jul 21 2023 Fedora Release Engineering - 0.2.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jun 04 2023 Fabio Valentini - 0.2.12-1 - Update to version 0.2.12; Fixes RHBZ#2211909 * Tue May 23 2023 Fabio Valentini - 0.2.11-1 - Update to version 0.2.11; Fixes RHBZ#2208634 * Sat Apr 08 2023 Fabio Valentini - 0.2.10-1 - Initial import (#2183742) ## END: Generated by rpmautospec