## 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 28 %bcond check 1 %global debug_package %{nil} %global crate linicon Name: rust-linicon Version: 2.3.0 Release: %autorelease Summary: Look up icons and icon theme info on Linux License: MPL-2.0 URL: https://crates.io/crates/linicon Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Drop unneeded criterion dependency # * Update memmap2 to 0.9, shellexpand to 3: # https://git.sr.ht/~zethra/linicon/commit/3e9f699b3f298221011490392155a3cc1d4dd6df Patch: linicon-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Look up icons and icon theme info on Linux.} %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}+expand-paths-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+expand-paths-devel %{_description} This package contains library source intended for building other packages which use the "expand-paths" feature of the "%{crate}" crate. %files -n %{name}+expand-paths-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+linicon-theme-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+linicon-theme-devel %{_description} This package contains library source intended for building other packages which use the "linicon-theme" feature of the "%{crate}" crate. %files -n %{name}+linicon-theme-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 %package -n %{name}+system-theme-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+system-theme-devel %{_description} This package contains library source intended for building other packages which use the "system-theme" feature of the "%{crate}" crate. %files -n %{name}+system-theme-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 tests::do_lookup --skip tests::do_lookup_no_scale --skip tests::do_lookup_no_size --skip tests::do_lookup_no_size_scale --skip tests::get_themes --skip tests::move_iter --skip tests::move_threads }} %endif %changelog ## START: Generated by rpmautospec * Fri Feb 13 2026 Benjamin A. Beasley - 2.3.0-4 - Update memmap2 to 0.9, shellexpand to 3 * Sat Jan 17 2026 Fedora Release Engineering - 2.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jul 25 2025 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Mar 04 2025 Davide Cavalca - 2.3.0-1 - Initial import; Fixes: RHBZ#2346861 ## END: Generated by rpmautospec