## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 Name: rust-axum0.7 Version: 0.7.9 Release: %autorelease Summary: Web framework that focuses on ergonomics and modularity License: MIT URL: https://crates.io/crates/axum Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * remove documentation-specific feature # * relax tokio-tungstenite dependency from ^0.24 to >=0.23,<0.25 Patch: axum-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Web framework that focuses on ergonomics and modularity.} %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}/ %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}+form-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+form-devel %{_description} This package contains library source intended for building other packages which use the "form" feature of the "%{crate}" crate. %files -n %{name}+form-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+http1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+http1-devel %{_description} This package contains library source intended for building other packages which use the "http1" feature of the "%{crate}" crate. %files -n %{name}+http1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+http2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+http2-devel %{_description} This package contains library source intended for building other packages which use the "http2" feature of the "%{crate}" crate. %files -n %{name}+http2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+json-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+json-devel %{_description} This package contains library source intended for building other packages which use the "json" feature of the "%{crate}" crate. %files -n %{name}+json-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+macros-devel %{_description} This package contains library source intended for building other packages which use the "macros" feature of the "%{crate}" crate. %files -n %{name}+macros-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+matched-path-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+matched-path-devel %{_description} This package contains library source intended for building other packages which use the "matched-path" feature of the "%{crate}" crate. %files -n %{name}+matched-path-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+multipart-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+multipart-devel %{_description} This package contains library source intended for building other packages which use the "multipart" feature of the "%{crate}" crate. %files -n %{name}+multipart-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+original-uri-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+original-uri-devel %{_description} This package contains library source intended for building other packages which use the "original-uri" feature of the "%{crate}" crate. %files -n %{name}+original-uri-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+query-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+query-devel %{_description} This package contains library source intended for building other packages which use the "query" feature of the "%{crate}" crate. %files -n %{name}+query-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-devel %{_description} This package contains library source intended for building other packages which use the "tokio" feature of the "%{crate}" crate. %files -n %{name}+tokio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tower-http-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tower-http-devel %{_description} This package contains library source intended for building other packages which use the "tower-http" feature of the "%{crate}" crate. %files -n %{name}+tower-http-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tower-log-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tower-log-devel %{_description} This package contains library source intended for building other packages which use the "tower-log" feature of the "%{crate}" crate. %files -n %{name}+tower-log-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tracing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tracing-devel %{_description} This package contains library source intended for building other packages which use the "tracing" feature of the "%{crate}" crate. %files -n %{name}+tracing-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ws-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ws-devel %{_description} This package contains library source intended for building other packages which use the "ws" feature of the "%{crate}" crate. %files -n %{name}+ws-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 %cargo_test -a %endif %changelog ## START: Generated by rpmautospec * Sat Jan 17 2026 Fedora Release Engineering - 0.7.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Sep 26 2025 Fabio Valentini - 0.7.9-1 - Initial import (axum 0.7 compat package) ## END: Generated by rpmautospec