# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate actix-utils Name: rust-%{crate} Version: 3.0.0 Release: 1%{?dist} Summary: Various utilities used in the Actix ecosystem # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/actix-utils Source: %{crates_source} Patch0: actix-utils-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 %global _description %{expand: Various utilities used in the Actix ecosystem.} %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 %{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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires # Sometimes Rust sources start with #![...] attributes, and "smart" editors think # it's a shebang and make them executable. Then brp-mangle-shebangs gets upset... find -name '*.rs' -type f -perm /111 -exec chmod -v -x '{}' '+' %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Tue May 03 2022 Anderson Toshiyuki Sasaki - 3.0.0-1 - Update to version 3.0.0. * Fri Jan 21 2022 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Sep 21 2020 Fabio Valentini - 2.0.0-1 - Update to version 2.0.0. * Wed Jul 29 2020 Fedora Release Engineering - 1.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Feb 11 10:03:52 CET 2020 Igor Raits - 1.0.6-1 - Update to 1.0.6 * Thu Jan 30 2020 Fedora Release Engineering - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Dec 20 11:27:03 CET 2019 Igor Gnatenko - 1.0.4-1 - Update to 1.0.4 * Sat Dec 14 13:33:50 CET 2019 Igor Gnatenko - 1.0.3-1 - Update to 1.0.3 * Sat Aug 03 13:54:35 CEST 2019 Igor Gnatenko - 0.4.5-1 - Update to 0.4.5 * Fri Jul 26 2019 Fedora Release Engineering - 0.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 30 12:04:33 CEST 2019 Igor Gnatenko - 0.4.2-1 - Update to 0.4.2 * Sat Jun 22 23:32:08 CEST 2019 Igor Gnatenko - 0.4.1-2 - Regenerate * Fri May 31 09:19:17 CEST 2019 Igor Gnatenko - 0.4.1-1 - Initial package