## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 27 # * test files and git repository data are not shipped with published crates %bcond check 0 %global debug_package %{nil} %global crate vergen Name: rust-vergen Version: 8.3.2 Release: %autorelease Summary: Generate cargo:rustc-env instructions for use with env! License: MIT OR Apache-2.0 URL: https://crates.io/crates/vergen Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * bump gix dependency from 0.63 to 0.70 Patch: vergen-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Generate 'cargo:rustc-env' instructions via 'build.rs' for use in your code via the 'env!' macro.} %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}+build-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+build-devel %{_description} This package contains library source intended for building other packages which use the "build" feature of the "%{crate}" crate. %files -n %{name}+build-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cargo-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cargo-devel %{_description} This package contains library source intended for building other packages which use the "cargo" feature of the "%{crate}" crate. %files -n %{name}+cargo-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cargo_metadata-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cargo_metadata-devel %{_description} This package contains library source intended for building other packages which use the "cargo_metadata" feature of the "%{crate}" crate. %files -n %{name}+cargo_metadata-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cfg-if-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cfg-if-devel %{_description} This package contains library source intended for building other packages which use the "cfg-if" feature of the "%{crate}" crate. %files -n %{name}+cfg-if-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+git-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+git-devel %{_description} This package contains library source intended for building other packages which use the "git" feature of the "%{crate}" crate. %files -n %{name}+git-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+git2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+git2-devel %{_description} This package contains library source intended for building other packages which use the "git2" feature of the "%{crate}" crate. %files -n %{name}+git2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+git2-rs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+git2-rs-devel %{_description} This package contains library source intended for building other packages which use the "git2-rs" feature of the "%{crate}" crate. %files -n %{name}+git2-rs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gitcl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gitcl-devel %{_description} This package contains library source intended for building other packages which use the "gitcl" feature of the "%{crate}" crate. %files -n %{name}+gitcl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gitoxide-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gitoxide-devel %{_description} This package contains library source intended for building other packages which use the "gitoxide" feature of the "%{crate}" crate. %files -n %{name}+gitoxide-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gix-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gix-devel %{_description} This package contains library source intended for building other packages which use the "gix" feature of the "%{crate}" crate. %files -n %{name}+gix-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+regex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+regex-devel %{_description} This package contains library source intended for building other packages which use the "regex" feature of the "%{crate}" crate. %files -n %{name}+regex-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rustc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustc-devel %{_description} This package contains library source intended for building other packages which use the "rustc" feature of the "%{crate}" crate. %files -n %{name}+rustc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rustc_version-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustc_version-devel %{_description} This package contains library source intended for building other packages which use the "rustc_version" feature of the "%{crate}" crate. %files -n %{name}+rustc_version-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+si-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+si-devel %{_description} This package contains library source intended for building other packages which use the "si" feature of the "%{crate}" crate. %files -n %{name}+si-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sysinfo-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sysinfo-devel %{_description} This package contains library source intended for building other packages which use the "sysinfo" feature of the "%{crate}" crate. %files -n %{name}+sysinfo-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+time-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+time-devel %{_description} This package contains library source intended for building other packages which use the "time" feature of the "%{crate}" crate. %files -n %{name}+time-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 * Thu Jan 23 2025 blinxen - 8.3.2-3 - Update gix dependency to 0.70 * Sun Jan 19 2025 Fedora Release Engineering - 8.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Oct 29 2024 Fabio Valentini - 8.3.2-1 - Update to version 8.3.2 * Tue Sep 17 2024 blinxen - 8.3.1-4 - Update gix dependency to 0.66 * Sat Jul 20 2024 Fedora Release Engineering - 8.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jul 07 2024 blinxen - 8.3.1-2 - Update gix dependency to 0.63 * Thu Apr 25 2024 Davide Cavalca - 8.3.1-1 - Update to 8.3.1; Fixes: RHBZ#2030826 * Tue Feb 13 2024 Fabio Valentini - 5.1.17-8 - Bump git2 dependency to 0.18 * Sat Jan 27 2024 Fedora Release Engineering - 5.1.17-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 5.1.17-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue May 23 2023 Fabio Valentini - 5.1.17-5 - Regenerate with rust2rpm v24 * Sat Jan 21 2023 Fedora Release Engineering - 5.1.17-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 5.1.17-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 5.1.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Dec 10 2021 Fabio Valentini - 5.1.17-1 - Revert "Update to version 5.2.0; Fixes RHBZ#2026993" * Thu Dec 09 2021 Fabio Valentini - 5.2.0-1 - Update to version 5.2.0; Fixes RHBZ#2026993 * Thu Nov 04 2021 Fabio Valentini - 5.1.17-1 - Update to version 5.1.17; Fixes RHBZ#2016203 * Sat Sep 04 2021 Fabio Valentini - 5.1.15-1 - Update to version 5.1.15; Fixes RHBZ#1990519 * Wed Aug 04 2021 Fabio Valentini - 5.1.14-1 - Update to version 5.1.14; Fixes RHBZ#1926902 * Fri Jul 23 2021 Fedora Release Engineering - 3.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 3.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 3.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Mar 10 2020 Josh Stone - 3.1.0-1 - Update to 3.1.0 * Thu Jan 30 2020 Fedora Release Engineering - 3.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Dec 06 00:17:16 CET 2019 Robert-André Mauchin - 3.0.4-1 - Initial package ## END: Generated by rpmautospec