## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 27 %bcond check 1 %global debug_package %{nil} %global crate axum-server Name: rust-axum-server Version: 0.7.2 Release: %autorelease Summary: High level server designed to be used with axum framework License: MIT URL: https://crates.io/crates/axum-server Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Change the default rustls provide to ring Patch: axum-server-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: High level server designed to be used with axum framework.} %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 %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %exclude %{crate_instdir}/examples/self-signed-certs/ %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}+arc-swap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+arc-swap-devel %{_description} This package contains library source intended for building other packages which use the "arc-swap" feature of the "%{crate}" crate. %files -n %{name}+arc-swap-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}+rustls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustls-devel %{_description} This package contains library source intended for building other packages which use the "rustls" feature of the "%{crate}" crate. %files -n %{name}+rustls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rustls-pemfile-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustls-pemfile-devel %{_description} This package contains library source intended for building other packages which use the "rustls-pemfile" feature of the "%{crate}" crate. %files -n %{name}+rustls-pemfile-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rustls-pki-types-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustls-pki-types-devel %{_description} This package contains library source intended for building other packages which use the "rustls-pki-types" feature of the "%{crate}" crate. %files -n %{name}+rustls-pki-types-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tls-openssl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tls-openssl-devel %{_description} This package contains library source intended for building other packages which use the "tls-openssl" feature of the "%{crate}" crate. %files -n %{name}+tls-openssl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tls-rustls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tls-rustls-devel %{_description} This package contains library source intended for building other packages which use the "tls-rustls" feature of the "%{crate}" crate. %files -n %{name}+tls-rustls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tls-rustls-no-provider-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tls-rustls-no-provider-devel %{_description} This package contains library source intended for building other packages which use the "tls-rustls-no-provider" feature of the "%{crate}" crate. %files -n %{name}+tls-rustls-no-provider-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-openssl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-openssl-devel %{_description} This package contains library source intended for building other packages which use the "tokio-openssl" feature of the "%{crate}" crate. %files -n %{name}+tokio-openssl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-rustls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-rustls-devel %{_description} This package contains library source intended for building other packages which use the "tokio-rustls" feature of the "%{crate}" crate. %files -n %{name}+tokio-rustls-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 * Mon Aug 18 2025 Cristian Le - 0.7.2-1 - Update to 0.7.2 (rhbz#2301722) * Fri Jul 25 2025 Fedora Release Engineering - 0.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jan 19 2025 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sun Jul 28 2024 Cristian Le - 0.6.0-1 - import rhbz#2297304 ## END: Generated by rpmautospec