## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 freedesktop-icons Name: rust-freedesktop-icons Version: 0.4.0 Release: %autorelease Summary: Freedesktop Icons lookup crate License: MIT URL: https://crates.io/crates/freedesktop-icons Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Drop unneeded criterion dependency # * Allow dirs 6; see “Update dirs dependency to version 6”, # https://github.com/oknozor/freedesktop-icons/pull/29 Patch: freedesktop-icons-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A Freedesktop Icons lookup crate.} %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}+local_tests-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+local_tests-devel %{_description} This package contains library source intended for building other packages which use the "local_tests" feature of the "%{crate}" crate. %files -n %{name}+local_tests-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 # * Skip broken tests %{cargo_test -- -- --exact %{shrink: --skip theme::parse::test::should_get_theme_parents --skip theme::test::should_get_png_first --skip theme::test::should_get_svg_first }} %endif %changelog ## START: Generated by rpmautospec * Sat Jan 17 2026 Fedora Release Engineering - 0.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Sun Nov 23 2025 Benjamin A. Beasley - 0.4.0-3 - Allow dirs 6 * Fri Jul 25 2025 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Apr 24 2025 Davide Cavalca - 0.4.0-1 - Update to 0.4.0; Fixes: RHBZ#2360052 * Tue Mar 04 2025 Davide Cavalca - 0.3.1-1 - Initial import; Fixes: RHBZ2346879 ## END: Generated by rpmautospec