## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 28 %bcond check 1 %global crate cargo-vendor-filterer Name: rust-cargo-vendor-filterer Version: 0.5.18 Release: %autorelease Summary: Cargo vendor, but with filtering for platforms and more License: Apache-2.0 URL: https://crates.io/crates/cargo-vendor-filterer Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * remove unwanted vendored-openssl feature # * allow cargo-lock 0.11: downstream-only for MSRV reasons Patch: cargo-vendor-filterer-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: `cargo vendor`, but with filtering for platforms and more.} %description %{_description} %package -n %{crate} Summary: %{summary} # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # MIT # MIT OR Apache-2.0 # MIT OR Zlib OR Apache-2.0 # Unicode-3.0 # Unlicense OR MIT License: %{shrink: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND MIT AND (MIT OR Zlib OR Apache-2.0) (Unlicense OR MIT) AND Unicode-3.0 } # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/cargo-vendor-filterer %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 %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}+openssl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+openssl-devel %{_description} This package contains library source intended for building other packages which use the "openssl" feature of the "%{crate}" crate. %files -n %{name}+openssl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha-rs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha-rs-devel %{_description} This package contains library source intended for building other packages which use the "sha-rs" feature of the "%{crate}" crate. %files -n %{name}+sha-rs-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -f openssl %build %cargo_build -f openssl %{cargo_license_summary -f openssl} %{cargo_license -f openssl} > LICENSE.dependencies %install %cargo_install -f openssl %if %{with check} %check # * some tests download from crates.io %cargo_test -f openssl -- -- --skip vendor_filterer:: %endif %changelog ## START: Generated by rpmautospec * Sun Mar 22 2026 Benjamin A. Beasley - 0.5.18-4 - Rebuilt with rust-tar 0.4.45 for CVE-2026-33056 - Updated the License expression based on a current Rawhide build * Sat Jan 17 2026 Fedora Release Engineering - 0.5.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Dec 12 2025 Benjamin A. Beasley - 0.5.18-2 - Allow cargo-lock 11 * Fri Dec 12 2025 Benjamin A. Beasley - 0.5.18-1 - Update to version 0.5.18; Fixes RHBZ#2379666 * Fri Jul 25 2025 Fedora Release Engineering - 0.5.17-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Feb 06 2025 Fabio Valentini - 0.5.17-2 - Rebuild for openssl crate >= v0.10.70 (RUSTSEC-2025-0004) * Mon Jan 20 2025 Yaakov Selkowitz - 0.5.17-1 - Update to 0.5.17 (rhbz#2338691) * Sun Jan 19 2025 Fedora Release Engineering - 0.5.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Dec 02 2024 Fabio Valentini - 0.5.16-2 - Drop downstream-only downgrades for cargo-lock and toml dependencies * Mon Oct 21 2024 Yaakov Selkowitz - 0.5.16-1 - Update to 0.5.16 * Sun Oct 20 2024 Yaakov Selkowitz - 0.5.15-1 - Update to 0.5.15 * Sun Aug 11 2024 Yaakov Selkowitz - 0.5.14-1 - 0.5.14 ## END: Generated by rpmautospec