## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec # Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate os_info Name: rust-%{crate} Version: 3.4.0 Release: %autorelease Summary: Detect the operating system type and version # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/os_info Source: %{crates_source} # Initial patched metadata # * drop windows-specific dependencies Patch0: os_info-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 %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_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * 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