## 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 %bcond_without check %global debug_package %{nil} %global crate clap_lex Name: rust-clap_lex Version: 0.6.0 Release: %autorelease Summary: Minimal, flexible command line parser License: MIT OR Apache-2.0 URL: https://crates.io/crates/clap_lex Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Minimal, flexible command line parser.} %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 %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.6.0-1 - Rebuilt for MSVSphere 9.3 * Sun Nov 12 2023 Fabio Valentini - 0.6.0-1 - Update to version 0.6.0; Fixes RHBZ#2245947 * Wed Nov 08 2023 Fabio Valentini - 0.5.1-1 - Update to version 0.5.1; Fixes RHBZ#2234510 * Sun Jun 04 2023 Fabio Valentini - 0.5.0-1 - Update to version 0.5.0; Fixes RHBZ#2208633 * Sun May 14 2023 Fabio Valentini - 0.4.1-1 - Update to version 0.4.1; Fixes RHBZ#2182231 * Mon Apr 03 2023 Fabio Valentini - 0.3.3-1 - Update to version 0.3.3; Fixes RHBZ#2179172 * Mon Apr 03 2023 Fabio Valentini - 0.3.2-1 - Update to version 0.3.2; Fixes RHBZ#2173024 * Mon Jan 30 2023 Fabio Valentini - 0.3.1-1 - Update to version 0.3.1; Fixes RHBZ#2160787 * Sun Jan 01 2023 Fabio Valentini - 0.3.0-2 - Regenerate with rust2rpm v23 * Sat Dec 24 2022 Laiot - 0.3.0-1 - Update to 0.3.0 * Sat Jul 23 2022 Fedora Release Engineering - 0.2.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Jul 03 2022 Zbigniew Jędrzejewski-Szmek - 0.2.4-2 - Refresh packaging (incl. using SDPX license expression) * Wed Jun 29 2022 Rommel Layco - 0.2.4-1 - Update to version 0.2.4; Fixes RHBZ#2096356 * Fri May 06 2022 laiot - 0.2.0-1 - add sources