## 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-lite Name: rust-%{crate} Version: 0.2.9 Release: %autorelease Summary: Lightweight version of pin-project written with declarative macros # Upstream license specification: Apache-2.0 OR MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/pin-project-lite Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 %global _description %{expand: Lightweight version of pin-project written with declarative macros.} %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 * Fri May 13 2022 Fabio Valentini 0.2.9-1 - Update to version 0.2.9; Fixes RHBZ#2078944 * Fri Jan 21 2022 Fedora Release Engineering 0.2.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jan 07 2022 Fabio Valentini 0.2.8-1 - Update to version 0.2.8; Fixes RHBZ#2036373 * Tue Jul 13 2021 Fabio Valentini 0.2.7-1 - Update to version 0.2.7; Fixes RHBZ#1934056 * Wed Jan 27 2021 Fedora Release Engineering - 0.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jan 11 2021 Fabio Valentini - 0.2.4-1 - Update to version 0.2.4. - Fixes RHBZ#1914736 * Sat Jan 09 2021 Fabio Valentini - 0.2.3-1 - Update to version 0.2.3. - Fixes RHBZ#1912919 * Fri Nov 27 2020 Fabio Valentini - 0.2.0-1 - Update to version 0.2.0. - Fixes RHBZ#1897649 * Wed Nov 11 2020 Fabio Valentini - 0.1.11-1 - Update to version 0.1.11. - Fixes RHBZ#1889796 * Thu Oct 01 2020 Fabio Valentini - 0.1.10-1 - Update to version 0.1.10. * Wed Jul 29 2020 Fedora Release Engineering - 0.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 05 2020 Josh Stone - 0.1.7-1 - Update to 0.1.7 * Sun May 31 10:26:31 CEST 2020 Igor Raits - 0.1.6-1 - Update to 0.1.6 * Thu May 07 2020 Josh Stone - 0.1.5-1 - Update to 0.1.5 * Thu Jan 30 2020 Fedora Release Engineering - 0.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jan 25 2020 Josh Stone - 0.1.4-1 - Update to 0.1.4 * Tue Jan 07 2020 Josh Stone - 0.1.2-1 - Update to 0.1.2 * Sat Dec 14 11:12:24 CET 2019 Igor Gnatenko - 0.1.1-2 - Enable tests * Tue Dec 10 15:12:48 PST 2019 Josh Stone - 0.1.1-1 - Initial package