## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 os_info Name: rust-os_info Version: 3.10.0 Release: %autorelease Summary: Detect the operating system type and version License: MIT URL: https://crates.io/crates/os_info Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: os_info-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Detect the operating system type and version.} %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}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-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 tests that require fixtures that are not included in published crates %cargo_test -- -- --skip imp::file_release::tests %endif %changelog ## START: Generated by rpmautospec * Wed Feb 19 2025 Fabio Valentini - 3.10.0-1 - Update to version 3.10.0; Fixes RHBZ#2344527 * Sun Jan 19 2025 Fedora Release Engineering - 3.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Jan 06 2025 Fabio Valentini - 3.9.2-1 - Update to version 3.9.2; Fixes RHBZ#2333759 * Sun Dec 01 2024 Fabio Valentini - 3.9.0-1 - Update to version 3.9.0; Fixes RHBZ#2329627 * Sat Jul 20 2024 Fedora Release Engineering - 3.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 25 2024 Fabio Valentini - 3.8.2-1 - Update to version 3.8.2; Fixes RHBZ#2271130 * Mon Mar 18 2024 Fabio Valentini - 3.8.1-1 - Update to version 3.8.1; Fixes RHBZ#2269241 * Fri Jan 26 2024 Fedora Release Engineering - 3.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 3.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Mar 21 2023 Fabio Valentini - 3.7.0-1 - Update to version 3.7.0; Fixes RHBZ#2180066 * Fri Feb 03 2023 Fabio Valentini - 3.6.0-1 - Update to version 3.6.0; Fixes RHBZ#2165699 * Sat Jan 21 2023 Fedora Release Engineering - 3.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Oct 05 2022 Fabio Valentini - 3.5.1-1 - Update to version 3.5.1; Fixes RHBZ#2128054 * Tue Aug 02 2022 Fabio Valentini - 3.5.0-1 - Update to version 0.3.5; Fixes RHBZ#2113023 * Sat Jul 23 2022 Fedora Release Engineering - 3.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 23 2022 Fabio Valentini - 3.4.0-1 - Update to version 3.4.0; Fixes RHBZ#2089053 * Thu May 12 2022 Fabio Valentini - 3.3.0-1 - Update to version 3.3.0; Fixes RHBZ#2080782 * Fri Feb 04 2022 Fabio Valentini - 3.2.0-1 - Update to version 3.2.0; Fixes RHBZ#2050711 * Wed Jan 26 2022 Fabio Valentini - 3.1.0-1 - Update to version 3.1.0; Fixes RHBZ#2040681 * Fri Jan 21 2022 Fedora Release Engineering - 3.0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jan 07 2022 Fabio Valentini - 3.0.9-1 - Update to version 3.0.9; Fixes RHBZ#2034573 * Fri Dec 17 2021 Fabio Valentini - 3.0.8-1 - Update to version 3.0.8; Fixes RHBZ#2025873 * Fri Aug 13 2021 Fabio Valentini - 3.0.7-1 - Update to version 3.0.7; Fixes RHBZ#1993005 * Fri Jul 23 2021 Fedora Release Engineering - 3.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Fabio Valentini - 3.0.6-1 - Update to version 3.0.6. - Fixes RHBZ#1961129 * Tue Apr 27 2021 Fabio Valentini - 3.0.5-1 - Update to version 3.0.5. - Fixes RHBZ#1946195 * Wed Jan 27 2021 Fedora Release Engineering - 3.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Dec 27 11:13:13 CET 2020 Igor Raits - 3.0.1-1 - Update to 3.0.1 (Fixes: RHBZ#1883301) * Wed Aug 26 2020 Josh Stone - 2.0.8-1 - Update to 2.0.8 * Wed Jul 29 2020 Josh Stone - 2.0.7-1 - Update to 2.0.7 * Wed Jul 29 2020 Fedora Release Engineering - 2.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 24 08:19:34 CEST 2020 Igor Raits - 2.0.6-1 - Update to 2.0.6 * Wed May 13 2020 Josh Stone - 2.0.5-1 - Update to 2.0.5 * Mon May 11 09:48:03 CEST 2020 Igor Raits - 2.0.4-1 - Update to 2.0.4 * Sun Mar 15 09:07:05 CET 2020 Igor Raits - 2.0.2-1 - Update to 2.0.2 * Sun Feb 23 10:30:30 CET 2020 Igor Raits - 2.0.1-1 - Update to 2.0.1 * Fri Feb 14 2020 Igor Raits - 2.0.0-2 - Add license into a binary package - Remove binary files * Tue Feb 11 06:08:44 EET 2020 Artem Polishchuk - 2.0.0-1 - Update to 2.0.0 * Thu Jan 30 2020 Fedora Release Engineering - 1.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jan 24 17:29:28 EET 2020 Artem Polishchuk - 1.3.3-1 - Update to 1.3.3 * Mon Jan 20 09:30:41 EET 2020 Artem Polishchuk - 1.3.2-1 - Update to 1.3.2 * Wed Jan 15 2020 Artem Polishchuk - 1.3.1-1 - Update to 1.3.1 * Wed Jan 15 2020 Josh Stone - 1.3.0-1 - Update to 1.3.0 * Sat Dec 21 01:56:19 EET 2019 Artem Polishchuk - 1.2.0-1 - Initial package ## END: Generated by rpmautospec