## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; 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 18 %bcond_without check %global debug_package %{nil} %global crate bytes Name: rust-%{crate} Version: 1.1.0 Release: %autorelease Summary: Types and traits for working with bytes # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/bytes Source: %{crates_source} # Initial patched metadata # * drop unused loom dev-dependency Patch0: bytes-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Types and traits for working with bytes.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE %doc README.md CHANGELOG.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "serde" feature of "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use "std" feature of "%{crate}" crate. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 * Fri Jan 21 2022 Fedora Release Engineering 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Aug 27 2021 Fabio Valentini 1.1.0-1 - Update to version 1.1.0; Fixes RHBZ#1997702 * Fri Jul 23 2021 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jan 12 2021 Fabio Valentini - 1.0.1-1 - Update to version 1.0.1. - Fixes RHBZ#1915006 * Sun Jan 3 2021 Peter Robinson - 1.0.0-1 - Update to 1.0.0 * Wed Nov 25 2020 Fabio Valentini - 0.6.0-1 - Update to version 0.6.0. * Wed Jul 29 2020 Fedora Release Engineering - 0.5.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 14 2020 Josh Stone - 0.5.6-1 - Update to 0.5.6 * Fri Jun 19 2020 Josh Stone - 0.5.5-1 - Update to 0.5.5 * Thu Jan 30 2020 Fedora Release Engineering - 0.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 23 2020 Josh Stone - 0.5.4-1 - Update to 0.5.4 * Sat Dec 14 16:51:28 CET 2019 Igor Gnatenko - 0.5.3-1 - Update to 0.5.3 * Wed Dec 11 10:28:48 CET 2019 Igor Gnatenko - 0.5.2-1 - Update to 0.5.2 * Fri Jul 26 2019 Fedora Release Engineering - 0.4.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jun 21 21:40:48 CEST 2019 Igor Gnatenko - 0.4.12-3 - Regenerate * Sun Mar 10 2019 Igor Gnatenko - 0.4.12-2 - Do not pull optional dependencies * Thu Mar 07 2019 Igor Gnatenko - 0.4.12-1 - Update to 0.4.12 * Sat Feb 02 2019 Fedora Release Engineering - 0.4.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Nov 26 2018 Josh Stone - 0.4.11-1 - Update to 0.4.11 * Mon Oct 29 2018 Josh Stone - 0.4.10-2 - Adapt to new packaging * Wed Sep 05 2018 Josh Stone - 0.4.10-1 - Update to 0.4.10 * Sat Jul 28 2018 Igor Gnatenko - 0.4.9-2 - Rebuild to trigger tests * Mon Jul 23 2018 Igor Gnatenko - 0.4.9-1 - Update to 0.4.9 * Sat Jul 14 2018 Fedora Release Engineering - 0.4.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat May 26 2018 Igor Gnatenko - 0.4.8-1 - Update to 0.4.8 * Sat Apr 28 2018 Josh Stone - 0.4.7-1 - Update to 0.4.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.4.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Jan 09 2018 Igor Gnatenko - 0.4.6-1 - Update to 0.4.6 * Mon Jan 08 2018 Igor Gnatenko - 0.4.5-2 - Rebuild for rust-packaging v5 * Thu Nov 16 2017 Igor Gnatenko - 0.4.5-1 - Update to 0.4.5 * Fri Jun 16 2017 Igor Gnatenko - 0.4.4-1 - Initial package