## START: Set by rpmautospec ## (rpmautospec version 0.7.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 26 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} %global crate actix-web Name: rust-actix-web Version: 4.9.0 Release: %autorelease Summary: Powerful, pragmatic, and extremely fast web framework for Rust License: MIT OR Apache-2.0 URL: https://crates.io/crates/actix-web Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused support for brotli # * drop unused support for io_uring # * drop unused support for rustls Patch: actix-web-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.} %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}/CHANGES.md %doc %{crate_instdir}/MIGRATION-0.x.md %doc %{crate_instdir}/MIGRATION-1.0.md %doc %{crate_instdir}/MIGRATION-2.0.md %doc %{crate_instdir}/MIGRATION-3.0.md %doc %{crate_instdir}/MIGRATION-4.0.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}+__compress-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+__compress-devel %{_description} This package contains library source intended for building other packages which use the "__compress" feature of the "%{crate}" crate. %files -n %{name}+__compress-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+__tls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+__tls-devel %{_description} This package contains library source intended for building other packages which use the "__tls" feature of the "%{crate}" crate. %files -n %{name}+__tls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+actix-tls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+actix-tls-devel %{_description} This package contains library source intended for building other packages which use the "actix-tls" feature of the "%{crate}" crate. %files -n %{name}+actix-tls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compat-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compat-devel %{_description} This package contains library source intended for building other packages which use the "compat" feature of the "%{crate}" crate. %files -n %{name}+compat-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compat-routing-macros-force-pub-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compat-routing-macros-force-pub-devel %{_description} This package contains library source intended for building other packages which use the "compat-routing-macros-force-pub" feature of the "%{crate}" crate. %files -n %{name}+compat-routing-macros-force-pub-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compress-gzip-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compress-gzip-devel %{_description} This package contains library source intended for building other packages which use the "compress-gzip" feature of the "%{crate}" crate. %files -n %{name}+compress-gzip-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compress-zstd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compress-zstd-devel %{_description} This package contains library source intended for building other packages which use the "compress-zstd" feature of the "%{crate}" crate. %files -n %{name}+compress-zstd-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cookies-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cookies-devel %{_description} This package contains library source intended for building other packages which use the "cookies" feature of the "%{crate}" crate. %files -n %{name}+cookies-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}+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}+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}+secure-cookies-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+secure-cookies-devel %{_description} This package contains library source intended for building other packages which use the "secure-cookies" feature of the "%{crate}" crate. %files -n %{name}+secure-cookies-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unicode-devel %{_description} This package contains library source intended for building other packages which use the "unicode" feature of the "%{crate}" crate. %files -n %{name}+unicode-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 * Sun Jan 19 2025 Fedora Release Engineering - 4.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Sep 18 2024 Fabio Valentini - 4.9.0-1 - Update to version 4.9.0; Fixes RHBZ#2303928 * Fri Jul 19 2024 Fedora Release Engineering - 4.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 24 2024 Fabio Valentini - 4.8.0-1 - Update to version 4.8.0; Fixes RHBZ#2281481 * Thu Apr 25 2024 Fabio Valentini - 4.5.1-1 - Update to version 4.5.1; Fixes RHBZ#2262575 * Fri Jan 26 2024 Fedora Release Engineering - 4.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 15 2024 Fabio Valentini - 4.4.1-1 - Update to version 4.4.1; Fixes RHBZ#2255758 * Wed Sep 13 2023 Fabio Valentini - 4.4.0-1 - Update to version 4.4.0; Fixes RHBZ#2235547 * Fri Jul 21 2023 Fedora Release Engineering - 4.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Mar 16 2023 Fabio Valentini - 4.3.1-1 - Update to version 4.3.1; Fixes RHBZ#2173371 * Thu Feb 23 2023 Fabio Valentini - 4.3.0-1 - Update to version 4.3.0; Fixes RHBZ#2162887 * Fri Jan 20 2023 Fedora Release Engineering - 4.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Oct 05 2022 Fabio Valentini - 4.2.1-1 - Update to version 4.2.1; Fixes RHBZ#2125899 * Sat Jul 23 2022 Fedora Release Engineering - 4.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 16 2022 Fabio Valentini - 4.1.0-1 - Update to version 4.1.0; Fixes RHBZ#2095991 * Tue May 31 2022 Fabio Valentini - 4.0.1-1 - Update to version 4.0.1; Fixes RHBZ#2048855 * Fri Jan 21 2022 Fedora Release Engineering - 3.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Dec 14 2021 Daiki Ueno - 3.3.2-4 - Drop unnecessary debuginfo generation to fix armv7hl OOM problems https://src.fedoraproject.org/rpms/rust-cargo/c/37083edf76ed56f3e83169a6fab0e78c389ae66d?branch=rawhide * Fri Jul 23 2021 Fedora Release Engineering - 3.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 3.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 02 2020 Fabio Valentini - 3.3.2-1 - Update to version 3.3.2. - Fixes RHBZ#1903396 * Mon Nov 30 2020 Fabio Valentini - 3.3.1-1 - Update to version 3.3.1. - Fixes RHBZ#1902512 * Wed Nov 25 2020 Fabio Valentini - 3.3.0-1 - Update to version 3.3.0. * Sat Nov 07 2020 Fabio Valentini - 3.2.0-1 - Update to version 3.2.0. - Fixes RHBZ#1893077 * Wed Oct 07 2020 Fabio Valentini - 3.1.0-1 - Update to version 3.1.0. * Mon Sep 21 2020 Fabio Valentini - 3.0.2-1 - Update to version 3.0.2. * Sat Aug 29 08:41:00 CEST 2020 Igor Raits - 3.0.0~beta.3-1 - Update to 3.0.0-beta.3 * Sat Aug 01 2020 Fedora Release Engineering - 3.0.0~alpha.3-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 3.0.0~alpha.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat May 23 12:30:02 CEST 2020 Igor Raits - 3.0.0~alpha.3-1 - Update to 3.0.0-alpha.3 * Thu May 14 22:44:25 CEST 2020 Igor Raits - 3.0.0~alpha.2-1 - Update to 3.0.0-alpha.2 * Thu May 14 19:40:08 CEST 2020 Igor Raits - 2.0.0-1 - Update to 2.0.0 * Thu Jan 30 2020 Fedora Release Engineering - 2.0.0~rc-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Dec 20 18:44:27 CET 2019 Igor Gnatenko - 2.0.0~rc-2 - Regenerate * Fri Dec 20 13:20:35 CET 2019 Igor Gnatenko - 2.0.0~rc-1 - Update to 2.0.0~rc * Mon Dec 16 08:08:31 CET 2019 Igor Gnatenko - 2.0.0~alpha.6-1 - Update to 2.0.0~alpha.6 * Sat Dec 14 00:51:38 CET 2019 Robert-André Mauchin - 2.0.0~alpha.5-1 - Update to 2.0.0~alpha.5 * Sun Sep 01 17:16:23 CEST 2019 Igor Gnatenko - 1.0.7-1 - Update to 1.0.7 * Tue Aug 06 10:01:45 CEST 2019 Igor Gnatenko - 1.0.5-1 - Update to 1.0.5 * Fri Jul 26 2019 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 30 11:56:48 CEST 2019 Igor Gnatenko - 1.0.3-1 - Update to 1.0.3 * Tue Jun 18 08:39:38 CEST 2019 Igor Gnatenko - 1.0.2-1 - Update to 1.0.2 * Wed Jun 05 17:52:04 CEST 2019 Igor Gnatenko - 1.0.0-1 - Update to 1.0.0 * Fri May 31 19:20:55 CEST 2019 Igor Gnatenko - 1.0.0~rc-1 - Initial package ## END: Generated by rpmautospec