## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 26 %bcond_without check %global debug_package %{nil} %global crate oid-registry Name: rust-oid-registry Version: 0.7.1 Release: %autorelease Summary: Rust Object Identifier (OID) database License: MIT OR Apache-2.0 URL: https://crates.io/crates/oid-registry Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Object Identifier (OID) 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}/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}+crypto-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+crypto-devel %{_description} This package contains library source intended for building other packages which use the "crypto" feature of the "%{crate}" crate. %files -n %{name}+crypto-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+kdf-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+kdf-devel %{_description} This package contains library source intended for building other packages which use the "kdf" feature of the "%{crate}" crate. %files -n %{name}+kdf-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ms_spc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ms_spc-devel %{_description} This package contains library source intended for building other packages which use the "ms_spc" feature of the "%{crate}" crate. %files -n %{name}+ms_spc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nist_algs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nist_algs-devel %{_description} This package contains library source intended for building other packages which use the "nist_algs" feature of the "%{crate}" crate. %files -n %{name}+nist_algs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pkcs1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pkcs1-devel %{_description} This package contains library source intended for building other packages which use the "pkcs1" feature of the "%{crate}" crate. %files -n %{name}+pkcs1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pkcs12-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pkcs12-devel %{_description} This package contains library source intended for building other packages which use the "pkcs12" feature of the "%{crate}" crate. %files -n %{name}+pkcs12-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pkcs7-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pkcs7-devel %{_description} This package contains library source intended for building other packages which use the "pkcs7" feature of the "%{crate}" crate. %files -n %{name}+pkcs7-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pkcs9-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pkcs9-devel %{_description} This package contains library source intended for building other packages which use the "pkcs9" feature of the "%{crate}" crate. %files -n %{name}+pkcs9-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+registry-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+registry-devel %{_description} This package contains library source intended for building other packages which use the "registry" feature of the "%{crate}" crate. %files -n %{name}+registry-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+x500-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+x500-devel %{_description} This package contains library source intended for building other packages which use the "x500" feature of the "%{crate}" crate. %files -n %{name}+x500-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+x509-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+x509-devel %{_description} This package contains library source intended for building other packages which use the "x509" feature of the "%{crate}" crate. %files -n %{name}+x509-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+x962-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+x962-devel %{_description} This package contains library source intended for building other packages which use the "x962" feature of the "%{crate}" crate. %files -n %{name}+x962-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 * Tue Dec 10 2024 John Doe - 0.7.1-1 - Uncommitted changes ## END: Generated by rpmautospec