## 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 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} %global crate pin-project Name: rust-%{crate} Version: 1.0.10 Release: %autorelease Summary: Crate for safe and ergonomic pin-projection # Upstream license specification: Apache-2.0 OR MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/pin-project Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 %global _description %{expand: Crate for safe and ergonomic pin-projection.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/CHANGELOG.md %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 %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 Mar 07 2022 Fabio Valentini 1.0.10-1 - Update to version 1.0.10; Fixes RHBZ#2035646 * Fri Jan 21 2022 Fedora Release Engineering 1.0.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Aug 01 2021 Fabio Valentini 1.0.8-1 - Update to version 1.0.8; Fixes RHBZ#1984433 * Wed Jul 14 2021 Fabio Valentini 1.0.7-1 - Update to version 1.0.7; Fixes RHBZ#1950427 * Sun Mar 28 2021 Fabio Valentini - 1.0.6-1 - Update to version 1.0.6. * Mon Feb 08 2021 Fabio Valentini - 1.0.5-1 - Update to version 1.0.5. * Wed Jan 27 2021 Fedora Release Engineering - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Jan 09 2021 Fabio Valentini - 1.0.4-1 - Update to version 1.0.4. * Wed Dec 02 2020 Fabio Valentini - 1.0.2-1 - Update to version 1.0.2. * Mon Oct 26 2020 Fabio Valentini - 1.0.1-1 - Update to version 1.0.1. * Wed Jul 29 2020 Josh Stone - 0.4.23-1 - Update to 0.4.23 * Wed Jul 29 2020 Fedora Release Engineering - 0.4.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 19 2020 Josh Stone - 0.4.22-1 - Update to 0.4.22 * Wed Jun 10 2020 Josh Stone - 0.4.20-1 - Update to 0.4.20 * Fri Jun 05 2020 Josh Stone - 0.4.19-1 - Update to 0.4.19 * Mon May 18 2020 Josh Stone - 0.4.17-1 - Update to 0.4.17 * Mon May 11 2020 Josh Stone - 0.4.16-1 - Update to 0.4.16 * Thu May 07 2020 Josh Stone - 0.4.13-1 - Update to 0.4.13 * Mon May 04 2020 Josh Stone - 0.4.10-1 - Update to 0.4.10 * Tue Apr 14 2020 Josh Stone - 0.4.9-1 - Update to 0.4.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.4.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 27 2020 Josh Stone - 0.4.8-1 - Update to 0.4.8 * Fri Dec 13 21:27:19 CET 2019 Robert-André Mauchin - 0.4.6-1 - Initial package