## START: Set by rpmautospec ## (rpmautospec version 0.8.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 28 %bcond check 1 %global debug_package %{nil} %global crate ossl Name: rust-ossl Version: 1.5.0 Release: %autorelease Summary: OpenSSL version 3+ bindings to modern EVP APIs License: Apache-2.0 URL: https://crates.io/crates/ossl Source: %{crates_source} Patch2: 0001-Unconditionally-link-with-system-OpenSSL.patch BuildRequires: cargo-rpm-macros >= 24 BuildRequires: pkgconfig(openssl) >= 3.0.7 %global _description %{expand: OpenSSL version 3+ bindings to modern EVP APIs.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(openssl) >= 3.0.7 %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE-2.0.txt %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}+dynamic-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dynamic-devel %{_description} This package contains library source intended for building other packages which use the "dynamic" feature of the "%{crate}" crate. %files -n %{name}+dynamic-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fips-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fips-devel %{_description} This package contains library source intended for building other packages which use the "fips" feature of the "%{crate}" crate. %files -n %{name}+fips-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+log-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+log-devel %{_description} This package contains library source intended for building other packages which use the "log" feature of the "%{crate}" crate. %files -n %{name}+log-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ossl320-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ossl320-devel %{_description} This package contains library source intended for building other packages which use the "ossl320" feature of the "%{crate}" crate. %files -n %{name}+ossl320-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ossl350-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ossl350-devel %{_description} This package contains library source intended for building other packages which use the "ossl350" feature of the "%{crate}" crate. %files -n %{name}+ossl350-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ossl400-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ossl400-devel %{_description} This package contains library source intended for building other packages which use the "ossl400" feature of the "%{crate}" crate. %files -n %{name}+ossl400-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rfc9580-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rfc9580-devel %{_description} This package contains library source intended for building other packages which use the "rfc9580" feature of the "%{crate}" crate. %files -n %{name}+rfc9580-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 * Fri Mar 06 2026 Fabio Valentini - 1.5.0-1 - Update to version 1.5.0; Fixes RHBZ#2444144 * Sat Jan 17 2026 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Sun Dec 28 2025 Fabio Valentini - 1.4.0-1 - Update to version 1.4.0; Fixes RHBZ#2420053 * Sat Dec 06 2025 Fabio Valentini - 1.3.1-1 - Initial import (#2415640) ## END: Generated by rpmautospec