## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 24 %bcond_without check %global debug_package %{nil} %global crate rust-embed-impl Name: rust-rust-embed-impl Version: 6.8.1 Release: %autorelease Summary: Custom Derive Macro which loads files into the rust binary License: MIT URL: https://crates.io/crates/rust-embed-impl Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Rust Custom Derive Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.} %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}/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}+compression-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compression-devel %{_description} This package contains library source intended for building other packages which use the "compression" feature of the "%{crate}" crate. %files -n %{name}+compression-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+debug-embed-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+debug-embed-devel %{_description} This package contains library source intended for building other packages which use the "debug-embed" feature of the "%{crate}" crate. %files -n %{name}+debug-embed-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+include-exclude-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+include-exclude-devel %{_description} This package contains library source intended for building other packages which use the "include-exclude" feature of the "%{crate}" crate. %files -n %{name}+include-exclude-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+interpolate-folder-path-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+interpolate-folder-path-devel %{_description} This package contains library source intended for building other packages which use the "interpolate-folder-path" feature of the "%{crate}" crate. %files -n %{name}+interpolate-folder-path-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mime-guess-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mime-guess-devel %{_description} This package contains library source intended for building other packages which use the "mime-guess" feature of the "%{crate}" crate. %files -n %{name}+mime-guess-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+shellexpand-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+shellexpand-devel %{_description} This package contains library source intended for building other packages which use the "shellexpand" feature of the "%{crate}" crate. %files -n %{name}+shellexpand-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -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 * Fri Jan 26 2024 Fedora Release Engineering - 6.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 6.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jul 07 2023 Fabio Valentini - 6.8.1-1 - Update to version 6.8.1; Fixes RHBZ#2213641 * Wed May 31 2023 Michel Alexandre Salim - 6.5.0-1 - Update to 6.5.0 * Sat Jan 21 2023 Fedora Release Engineering - 6.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Dec 14 2022 Fabio Valentini - 6.3.1-1 - Update to version 6.3.1; Fixes RHBZ#2126198 * Sat Jul 23 2022 Fedora Release Engineering - 6.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 6.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Nov 30 2021 Fabio Valentini - 6.2.0-1 - Update to version 6.2.0; Fixes RHBZ#2027090 * Mon Nov 08 2021 Fabio Valentini - 6.1.0-1 - Update to version 6.1.0; Fixes RHBZ#1988826 * Fri Jul 23 2021 Fedora Release Engineering - 5.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Mar 04 2021 Fabio Valentini - 5.9.0-1 - Update to version 5.9.0. * Wed Jan 27 2021 Fedora Release Engineering - 5.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 10 2021 Fabio Valentini - 5.8.0-1 - Update to version 5.8.0. * Thu Dec 10 2020 Fabio Valentini - 5.7.0-1 - Update to version 5.7.0. * Wed Jul 29 2020 Fedora Release Engineering - 5.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 22 2020 Josh Stone - 5.6.0-1 - Update to 5.6.0 * Thu May 14 08:34:07 CEST 2020 Igor Raits - 5.5.1-1 - Initial package ## END: Generated by rpmautospec