## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 glib Name: rust-glib Version: 0.21.0 Release: %autorelease Summary: Rust bindings for the GLib library License: MIT URL: https://crates.io/crates/glib Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency Patch: glib-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rust bindings for the GLib library.} %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}/COPYRIGHT %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}+compiletests-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compiletests-devel %{_description} This package contains library source intended for building other packages which use the "compiletests" feature of the "%{crate}" crate. %files -n %{name}+compiletests-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gio-devel %{_description} This package contains library source intended for building other packages which use the "gio" feature of the "%{crate}" crate. %files -n %{name}+gio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gio-sys-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gio-sys-devel %{_description} This package contains library source intended for building other packages which use the "gio-sys" feature of the "%{crate}" crate. %files -n %{name}+gio-sys-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+log-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+log-devel %{_description} This package contains library source intended for building other packages which use the "log" feature of the "%{crate}" crate. %files -n %{name}+log-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+log_macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+log_macros-devel %{_description} This package contains library source intended for building other packages which use the "log_macros" feature of the "%{crate}" crate. %files -n %{name}+log_macros-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rs-log-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rs-log-devel %{_description} This package contains library source intended for building other packages which use the "rs-log" feature of the "%{crate}" crate. %files -n %{name}+rs-log-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_58-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_58-devel %{_description} This package contains library source intended for building other packages which use the "v2_58" feature of the "%{crate}" crate. %files -n %{name}+v2_58-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_60-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_60-devel %{_description} This package contains library source intended for building other packages which use the "v2_60" feature of the "%{crate}" crate. %files -n %{name}+v2_60-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_62-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_62-devel %{_description} This package contains library source intended for building other packages which use the "v2_62" feature of the "%{crate}" crate. %files -n %{name}+v2_62-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_64-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_64-devel %{_description} This package contains library source intended for building other packages which use the "v2_64" feature of the "%{crate}" crate. %files -n %{name}+v2_64-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_66-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_66-devel %{_description} This package contains library source intended for building other packages which use the "v2_66" feature of the "%{crate}" crate. %files -n %{name}+v2_66-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_68-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_68-devel %{_description} This package contains library source intended for building other packages which use the "v2_68" feature of the "%{crate}" crate. %files -n %{name}+v2_68-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_70-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_70-devel %{_description} This package contains library source intended for building other packages which use the "v2_70" feature of the "%{crate}" crate. %files -n %{name}+v2_70-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_72-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_72-devel %{_description} This package contains library source intended for building other packages which use the "v2_72" feature of the "%{crate}" crate. %files -n %{name}+v2_72-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_74-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_74-devel %{_description} This package contains library source intended for building other packages which use the "v2_74" feature of the "%{crate}" crate. %files -n %{name}+v2_74-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_76-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_76-devel %{_description} This package contains library source intended for building other packages which use the "v2_76" feature of the "%{crate}" crate. %files -n %{name}+v2_76-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_78-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_78-devel %{_description} This package contains library source intended for building other packages which use the "v2_78" feature of the "%{crate}" crate. %files -n %{name}+v2_78-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_80-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_80-devel %{_description} This package contains library source intended for building other packages which use the "v2_80" feature of the "%{crate}" crate. %files -n %{name}+v2_80-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_82-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_82-devel %{_description} This package contains library source intended for building other packages which use the "v2_82" feature of the "%{crate}" crate. %files -n %{name}+v2_82-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_84-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_84-devel %{_description} This package contains library source intended for building other packages which use the "v2_84" feature of the "%{crate}" crate. %files -n %{name}+v2_84-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_86-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_86-devel %{_description} This package contains library source intended for building other packages which use the "v2_86" feature of the "%{crate}" crate. %files -n %{name}+v2_86-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep # drop compiletests that don't compile due to missing dependencies rm tests/regex_compiletest.rs rm -r tests/regex_compiletest/ %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check # * skip a test that only works when run in-tree %cargo_test -- -- --exact --skip structured_log %endif %changelog ## START: Generated by rpmautospec * Sun Aug 03 2025 Fabio Valentini - 0.21.0-1 - Update to version 0.21.0; Fixes RHBZ#2380076 * Fri Jul 25 2025 Fedora Release Engineering - 0.20.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jul 08 2025 Fabio Valentini - 0.20.12-1 - Update to version 0.20.12 * Sun May 18 2025 Fabio Valentini - 0.20.10-1 - Update to version 0.20.10; Fixes RHBZ#2365830 * Mon Feb 24 2025 Fabio Valentini - 0.20.9-1 - Update to version 0.20.9; Fixes RHBZ#2345978 * Sun Jan 19 2025 Fedora Release Engineering - 0.20.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sun Jan 05 2025 Fabio Valentini - 0.20.7-1 - Update to version 0.20.7; Fixes RHBZ#2332690 * Mon Dec 02 2024 Fabio Valentini - 0.20.6-1 - Update to version 0.20.6; Fixes RHBZ#2325467 * Thu Oct 31 2024 Fabio Valentini - 0.20.5-1 - Update to version 0.20.5; Fixes RHBZ#2322694 * Sat Oct 05 2024 Fabio Valentini - 0.20.4-1 - Update to version 0.20.4; Fixes RHBZ#2314867 * Wed Sep 18 2024 Fabio Valentini - 0.20.3-1 - Update to version 0.20.3; Fixes RHBZ#2308155 * Tue Aug 13 2024 Fabio Valentini - 0.20.1-1 - Update to version 0.20.1; Fixes RHBZ#2297135 * Fri Jul 19 2024 Fedora Release Engineering - 0.19.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jul 07 2024 Fabio Valentini - 0.19.9-1 - Update to version 0.19.9; Fixes RHBZ#2295482 * Fri Jun 21 2024 Fabio Valentini - 0.19.8-1 - Update to version 0.19.8; Fixes RHBZ#2282837 * Wed May 08 2024 Fabio Valentini - 0.19.5-1 - Update to version 0.19.5; Fixes RHBZ#2277476 * Tue Apr 16 2024 Fabio Valentini - 0.19.4-1 - Update to version 0.19.4; Fixes RHBZ#2273985 * Wed Apr 03 2024 Fabio Valentini - 0.19.3-2 - Backport upstreamed patch to fix UB in VariantStr::impl_get * Wed Mar 27 2024 Fabio Valentini - 0.19.3-1 - Update to version 0.19.3; Fixes RHBZ#2262621 * Fri Jan 26 2024 Fedora Release Engineering - 0.18.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 11 2024 Fabio Valentini - 0.18.5-1 - Update to version 0.18.5; Fixes RHBZ#2247775 * Tue Sep 19 2023 Fabio Valentini - 0.18.2-1 - Update to version 0.18.2; Fixes RHBZ#2239031 * Mon Aug 07 2023 Kalev Lember - 0.18.1-1 - Update to version 0.18.1; Fixes RHBZ#2224908 * Fri Jul 21 2023 Fedora Release Engineering - 0.17.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jun 12 2023 Fabio Valentini - 0.17.10-1 - Update to version 0.17.10; Fixes RHBZ#2212800 * Thu May 04 2023 Fabio Valentini - 0.17.9-1 - Update to version 0.17.9; Fixes RHBZ#2188611 * Thu Apr 13 2023 Fabio Valentini - 0.17.8-1 - Update to version 0.17.8; Fixes RHBZ#2186470 * Wed Mar 15 2023 Fabio Valentini - 0.17.5-1 - Update to version 0.17.5; Fixes RHBZ#2175679 * Sat Feb 25 2023 Fabio Valentini - 0.17.2-1 - Update to version 0.17.2; Fixes RHBZ#2168308 * Fri Feb 03 2023 Fabio Valentini - 0.16.7-1 - Update to version 0.16.7; Fixes RHBZ#2150784 * Fri Jan 20 2023 Fedora Release Engineering - 0.16.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Nov 28 2022 Fabio Valentini - 0.16.4-1 - Update to version 0.16.4; Fixes RHBZ#2136063 * Sat Jul 23 2022 Fedora Release Engineering - 0.15.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 16 2022 Fabio Valentini - 0.15.12-1 - Update to version 0.15.12; Fixes RHBZ#2078853 * Tue Mar 29 2022 Fabio Valentini - 0.15.10-1 - Update to version 0.15.10; Fixes RHBZ#2062657 * Wed Mar 09 2022 Fabio Valentini - 0.15.8-1 - Update to version 0.15.8; Fixes RHBZ#2061930 * Sun Feb 20 2022 Fabio Valentini - 0.15.6-1 - Update to version 0.15.6; Fixes RHBZ#2056284 * Sat Feb 12 2022 Fabio Valentini - 0.15.5-1 - Update to version 0.15.5; Fixes RHBZ#2040898 * Fri Jan 21 2022 Fedora Release Engineering - 0.14.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Nov 06 2021 Fabio Valentini - 0.14.8-1 - Update to version 0.14.8; Fixes RHBZ#2012429 * Mon Sep 27 2021 Fabio Valentini - 0.14.5-1 - Update to version 0.14.5; Fixes RHBZ#1999557 * Tue Aug 24 2021 Fabio Valentini - 0.14.4-1 - Update to version 0.14.4; Fixes RHBZ#1996802 * Mon Aug 23 2021 Fabio Valentini - 0.14.3-2 - Fix typecheck issues on non-x86 architectures * Mon Aug 23 2021 Fabio Valentini - 0.14.3-1 - Update to version 0.14.3; Fixes RHBZ#1996533 * Tue Aug 03 2021 Fabio Valentini - 0.14.2-1 - Update to version 0.14.2; Fixes RHBZ#1974994 * Fri Jul 23 2021 Fedora Release Engineering - 0.10.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.10.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Nov 09 2020 Fabio Valentini - 0.10.3-1 - Update to version 0.10.3. - Fixes RHBZ#1888224 * Fri Sep 11 2020 Josh Stone - 0.10.2-1 - Update to 0.10.2 * Sat Aug 01 2020 Fedora Release Engineering - 0.10.1-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 09 2020 Josh Stone - 0.10.1-1 - Update to 0.10.1 * Fri Feb 14 2020 Josh Stone - 0.9.3-1 - Update to 0.9.3 * Mon Feb 10 2020 Josh Stone - 0.9.2-1 - Update to 0.9.2 * Thu Jan 30 2020 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jan 15 2020 Josh Stone - 0.9.1-1 - Update to 0.9.1 * Tue Dec 10 2019 Josh Stone - 0.8.2-1 - Update to 0.8.2 * Fri Jul 26 2019 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Apr 28 14:06:24 CEST 2019 Igor Gnatenko - 0.7.1-1 - Update to 0.7.1 * Sat Feb 02 2019 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Mar 20 2018 Igor Gnatenko - 0.5.0-1 - Update to 0.5.0 * Fri Feb 09 2018 Fedora Release Engineering - 0.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Jan 20 2018 Igor Gnatenko - 0.4.1-1 - Update to 0.4.1 * Mon Jan 08 2018 Igor Gnatenko - 0.4.0-2 - Rebuild for rust-packaging v5 * Wed Jan 03 2018 Igor Gnatenko - 0.4.0-1 - Initial package ## END: Generated by rpmautospec