## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 27 %bcond check 1 %global debug_package %{nil} %global crate glycin %global crate_version 3.0.0-alpha.6 Name: rust-glycin Version: 3.0.0~alpha.6 %dnl Release: %autorelease Release: 2.100%{?dist} Summary: Sandboxed image decoding License: MPL-2.0 OR LGPL-2.1-or-later URL: https://crates.io/crates/glycin Source: %{crates_source %{crate} %{crate_version}} # https://gitlab.gnome.org/GNOME/glycin/-/issues/165 # https://gitlab.gnome.org/GNOME/glycin/-/commit/43024a55c7285114f4d2abdd8719e07c176bfc5a # https://gitlab.gnome.org/GNOME/glycin/-/commit/10b675556cca73b0bfbedbbf196f2c6387e82eaf Patch: glycin-sandbox-allow-syscall.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Sandboxed image decoding.} %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 %license %{crate_instdir}/LICENSE-LGPL-2.1 %license %{crate_instdir}/LICENSE-MPL-2.0 %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}+async-io-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-io-devel %{_description} This package contains library source intended for building other packages which use the "async-io" feature of the "%{crate}" crate. %files -n %{name}+async-io-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gdk4-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gdk4-devel %{_description} This package contains library source intended for building other packages which use the "gdk4" feature of the "%{crate}" crate. %files -n %{name}+gdk4-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gobject-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gobject-devel %{_description} This package contains library source intended for building other packages which use the "gobject" feature of the "%{crate}" crate. %files -n %{name}+gobject-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-devel %{_description} This package contains library source intended for building other packages which use the "tokio" feature of the "%{crate}" crate. %files -n %{name}+tokio-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{crate_version} -p2 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check # * skip a doctest that doesn't compile %cargo_test -- -- --skip 'src/lib.rs' %endif %changelog ## START: Generated by rpmautospec * Fri Aug 15 2025 Mamoru TASAKA - 3.0.0~alpha.6-3 - Uncommitted changes * Fri Jul 25 2025 Fedora Release Engineering - 3.0.0~alpha.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri Jul 04 2025 Fabio Valentini - 3.0.0~alpha.6-1 - Update to version 3.0.0-alpha.6 * Sat Jun 28 2025 Fabio Valentini - 3.0.0~alpha.5-1 - Update to version 3.0.0-alpha.5 * Fri Jun 27 2025 Fabio Valentini - 3.0.0~alpha-1 - Update to version 3.0.0-alpha * Tue Apr 22 2025 Fabio Valentini - 2.1.1-1 - Update to version 2.1.1; Fixes RHBZ#2359073 * Sat Mar 15 2025 Fabio Valentini - 2.1.0-1 - Update to version 2.1.0; Fixes RHBZ#2352571 * Sat Mar 08 2025 Fabio Valentini - 2.1.0~rc-1 - Update to version 2.1.0-rc * Sun Jan 19 2025 Fedora Release Engineering - 2.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Jan 06 2025 Fabio Valentini - 2.0.3-1 - Update to version 2.0.3; Fixes RHBZ#2335514 * Sun Dec 01 2024 Fabio Valentini - 2.0.2-1 - Update to version 2.0.2; Fixes RHBZ#2328435 * Thu Sep 26 2024 Fabio Valentini - 2.0.1-1 - Update to version 2.0.1; Fixes RHBZ#2312188 * Fri Jul 19 2024 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Apr 14 2024 Fabio Valentini - 1.0.2-1 - Update to version 1.0.2; Fixes RHBZ#2274252 * Tue Apr 02 2024 Fabio Valentini - 1.0.1-1 - Update to version 1.0.1; Fixes RHBZ#2269622 * Fri Jan 26 2024 Fedora Release Engineering - 0.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Sep 19 2023 Fabio Valentini - 0.1.0-1 - Update to version 0.1.0; Fixes RHBZ#2238935 * Wed Sep 06 2023 Kalev Lember - 0.1.0~rc-1 - Update to 0.1.0-rc * Wed Aug 23 2023 Kalev Lember - 0.1.0~beta.4-1 - Update to 0.1.0-beta.4 - Upstream relicensed to 'MPL-2.0 OR LGPL-2.1-or-later' * Mon Aug 21 2023 Kalev Lember - 0.1.0~beta.3-4 - Update license to LGPL-2.1-only in Cargo.toml as well * Mon Aug 21 2023 Kalev Lember - 0.1.0~beta.3-3 - Add better workaround for avoiding /usr/bin/test binary * Mon Aug 21 2023 Kalev Lember - 0.1.0~beta.3-2 - Use LGPL-2.1-only for license until we get confirmation from upstream (rhbz#2233248) * Mon Aug 21 2023 Kalev Lember - 0.1.0~beta.3-1 - Update to 0.1.0-beta.3 * Mon Aug 21 2023 Kalev Lember - 0.1.0~beta.2-3 - Drop an unwanted binary * Mon Aug 21 2023 Kalev Lember - 0.1.0~beta.2-2 - Add missing LICENSE file from upstream * Mon Aug 21 2023 Kalev Lember - 0.1.0~beta.2-1 - Update to 0.1.0-beta.2 * Mon Aug 21 2023 Kalev Lember - 0.1.0~beta.1-1 - Initial Fedora packaging (rhbz#2233248) ## END: Generated by rpmautospec