## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 14; 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 24 %bcond_without check %global crate docopt Name: rust-docopt Version: 1.1.1 Release: %autorelease Summary: Command line argument parsing # Upstream license specification: Unlicense/MIT License: Unlicense OR MIT URL: https://crates.io/crates/docopt Source: %{crates_source} BuildRequires: rust-packaging >= 23 %global _description %{expand: Command line argument parsing.} %description %{_description} %package -n %{crate} Summary: %{summary} # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: MIT AND Unicode-DFS-2016 AND (MIT OR Apache-2.0) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license COPYING %license LICENSE-MIT %license UNLICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/docopt-wordlist %{bash_completions_dir}/docopt-wordlist.bash %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}/COPYING %license %{crate_instdir}/LICENSE-MIT %license %{crate_instdir}/UNLICENSE %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_no_tilde} -p1 t=$(stat -c %y completions/docopt-wordlist.bash) sed -r -i -e "s|(DOCOPT_WORDLIST_BIN=)(.+/docopt-wordlist)|\1%{_bindir}/docopt-wordlist|" completions/docopt-wordlist.bash touch -d "$t" completions/docopt-wordlist.bash %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %cargo_license_summary %{cargo_license} > LICENSE.dependencies %install %cargo_install install -Dpm0644 -t %{buildroot}%{bash_completions_dir} \ completions/docopt-wordlist.bash %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 1.1.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 1.1.1-13 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Fri Jan 26 2024 Fedora Release Engineering - 1.1.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Aug 22 2023 Fabio Valentini - 1.1.1-11 - Fix typo in license tag * Fri Jul 21 2023 Fedora Release Engineering - 1.1.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun May 21 2023 Fabio Valentini - 1.1.1-9 - Regenerate with rust2rpm v24 and update license tag * Sat Feb 04 2023 Fabio Valentini - 1.1.1-7 - Rebuild for fixed frame pointer compiler flags in Rust RPM macros. * Fri Jan 20 2023 Fedora Release Engineering - 1.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 1.1.1-4 - Rebuild with package notes * Fri Jan 21 2022 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 02 2021 Fabio Valentini - 1.1.1-1 - Update to version 1.1.1. - Fixes RHBZ#1938045 * Wed Jan 27 2021 Fedora Release Engineering - 1.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Sep 26 2020 Fabio Valentini - 1.1.0-7 - Bump strsim to 0.10. * Sat Aug 01 2020 Fedora Release Engineering - 1.1.0-6 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Mar 27 13:53:23 CET 2020 Igor Raits - 1.1.0-4 - Regenerate * Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Apr 07 19:49:11 CEST 2019 Igor Gnatenko - 1.1.0-1 - Update to 1.1.0 * Sun Apr 07 07:35:50 CEST 2019 Igor Gnatenko - 1.0.2-3 - Update strsim to 0.9 * Sat Feb 02 2019 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Oct 29 2018 Josh Stone - 1.0.2-1 - Update to 1.0.2 * Sun Oct 07 2018 Igor Gnatenko - 1.0.1-3 - Run tests in infrastructure * Sun Oct 07 2018 Igor Gnatenko - 1.0.1-2 - Bump strsim to 0.8 * Thu Aug 30 2018 Josh Stone - 1.0.1-1 - Update to 1.0.1 * Sat Jul 14 2018 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 14 2018 Igor Gnatenko - 1.0.0-1 - Update to 1.0.0 * Fri Feb 09 2018 Fedora Release Engineering - 0.8.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 19 2018 Igor Gnatenko - 0.8.3-3 - Bump strsim to 0.7 * Mon Jan 08 2018 Igor Gnatenko - 0.8.3-2 - Rebuild for rust-packaging v5 * Tue Jan 02 2018 Igor Gnatenko - 0.8.3-1 - Update to 0.8.3 * Thu Nov 30 2017 Igor Gnatenko - 0.8.1-2 - Bump lazy_static to 1 * Thu Nov 09 2017 Igor Gnatenko - 0.8.1-1 - Initial package ## END: Generated by rpmautospec