## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## 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 26 %bcond_without check %global debug_package %{nil} %global crate rustsec Name: rust-rustsec Version: 0.29.3 Release: %autorelease Summary: Client library for the RustSec security advisory database License: Apache-2.0 OR MIT URL: https://crates.io/crates/rustsec Source: %{crates_source} # Manually created patch for downstream crate metadata changes Patch: rustsec-fix-metadata.diff # Gix compat Patch: gix-compatibility.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Client library for the RustSec security advisory database.} %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}/CHANGELOG.md %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}+dependency-tree-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dependency-tree-devel %{_description} This package contains library source intended for building other packages which use the "dependency-tree" feature of the "%{crate}" crate. %files -n %{name}+dependency-tree-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}+osv-export-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+osv-export-devel %{_description} This package contains library source intended for building other packages which use the "osv-export" feature of the "%{crate}" crate. %files -n %{name}+osv-export-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -a %build %cargo_build -a %install %cargo_install -a %if %{with check} %check # * skip tests that require internet connectivity %cargo_test -a -- -- --exact --skip query_vulnerabilitie --skip enumerate_vulnerabilities --skip clone_into_existing_directory %endif %changelog ## START: Generated by rpmautospec * Sat Sep 14 2024 blinxen - 0.29.3-3 - Uncommitted changes * Sat Jul 20 2024 Fedora Release Engineering - 0.29.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jul 07 2024 blinxen - 0.29.3-1 - Update to version 0.29.3; Fixes RHBZ#2278614 * Mon Apr 15 2024 Fabio Valentini - 0.29.1-1 - Update to version 0.29.1; Fixes RHBZ#2250317 * Sat Apr 06 2024 blinxen - 0.28.3-3 - Update gix dependency to version 0.61 * Fri Jan 26 2024 Fedora Release Engineering - 0.28.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Nov 06 2023 Fabio Valentini - 0.28.3-1 - Initial import (#2247719) ## END: Generated by rpmautospec