commit 4a7a133519889796714e940de1642a8692c3ed6d Author: tigro Date: Mon Jan 15 20:47:06 2024 +0300 import rust-clap_mangen-0.2.15-1.el9 diff --git a/.rust-clap_mangen.metadata b/.rust-clap_mangen.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/clap_mangen-0.2.15.crate b/SOURCES/clap_mangen-0.2.15.crate new file mode 100644 index 0000000..d8944bc Binary files /dev/null and b/SOURCES/clap_mangen-0.2.15.crate differ diff --git a/SPECS/rust-clap_mangen.spec b/SPECS/rust-clap_mangen.spec new file mode 100644 index 0000000..bf45e54 --- /dev/null +++ b/SPECS/rust-clap_mangen.spec @@ -0,0 +1,111 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## 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 25 +# * 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.15 +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 +* Mon Jan 15 2024 Arkady L. Shane - 0.2.15-1 +- Rebuilt for MSVSphere 9.3 + +* 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)