# Generated by rust2rpm %bcond_without check %global debug_package %{nil} %global crate owning_ref Name: rust-%{crate} Version: 0.3.3 Release: 5%{?dist} Summary: Library for creating references that carry their owner with them License: MIT URL: https://crates.io/crates/owning_ref Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # https://github.com/Kimundi/owning-ref-rs/pull/43 # see also https://github.com/rust-lang/rust/issues/47524 Patch1: owning_ref-pr43-fix-tests.patch ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(stable_deref_trait) >= 1.0.0 with crate(stable_deref_trait) < 2.0.0) %description %{summary}. %package devel Summary: %{summary} BuildArch: noarch %description devel A library for creating references that carry their owner with them. This package contains library source intended for building other packages which use %{crate} from crates.io. %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %files devel %license LICENSE %doc README.md %{cargo_registry}/%{crate}-%{version}/ %changelog * Sat Jul 14 2018 Fedora Release Engineering - 0.3.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Mar 10 2018 Josh Stone - 0.3.3-4 - fix lifetime inference regression * Fri Feb 09 2018 Fedora Release Engineering - 0.3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.3.3-2 - Rebuild for rust-packaging v5 * Sun Dec 03 2017 Igor Gnatenko - 0.3.3-1 - Initial package