## 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 28 %bcond check 1 %global debug_package %{nil} %global crate axum Name: rust-axum Version: 0.8.8 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 Patch: axum-fix-metadata.diff # * skip doctest with unresolved axum_extra dependency Patch10: 0001-skip-doctest-with-unresolved-axum_extra-dependency.patch 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}+__private-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+__private-devel %{_description} This package contains library source intended for building other packages which use the "__private" feature of the "%{crate}" crate. %files -n %{name}+__private-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}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-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.8.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Sun Dec 28 2025 Fabio Valentini - 0.8.8-1 - Update to version 0.8.8; Fixes RHBZ#2424118 * Mon Nov 24 2025 Fabio Valentini - 0.8.7-1 - Update to version 0.8.7; Fixes RHBZ#2415120 * Mon Oct 20 2025 Benjamin A. Beasley - 0.8.6-1 - Update to version 0.8.6; Fixes RHBZ#2399996 * Fri Sep 26 2025 Fabio Valentini - 0.8.4-1 - Update to version 0.8.4; Fixes RHBZ#2335141 * Fri Jul 25 2025 Fedora Release Engineering - 0.7.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jan 19 2025 Fedora Release Engineering - 0.7.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Dec 04 2024 Fabio Valentini - 0.7.9-1 - Update to version 0.7.9 * Sat Nov 16 2024 Benjamin A. Beasley - 0.7.8-1 - Update to version 0.7.8; Fixes RHBZ#2326580 * Wed Oct 23 2024 Fabio Valentini - 0.7.7-1 - Update to version 0.7.7; Fixes RHBZ#2313839 * Fri Jul 19 2024 Fedora Release Engineering - 0.7.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 03 2024 Fabio Valentini - 0.7.5-2 - Bump tokio-tungstenite dependency from 0.21 to 0.23 * Tue Apr 30 2024 Benjamin A. Beasley - 0.7.5-1 - Update to version 0.7.5; Fixes RHBZ#2251680 * Fri Jan 26 2024 Fedora Release Engineering - 0.6.20-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Sep 24 2023 Fabio Valentini - 0.6.20-1 - Update to version 0.6.20; Fixes RHBZ#2230184 * Sat Aug 05 2023 Fabio Valentini - 0.6.18-1 - Initial import (#2214429) ## END: Generated by rpmautospec