From 6379628255b8175ee3399e47b30b6d4088d03f6f Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 27 Feb 2020 09:44:47 -0800 Subject: [PATCH] Update to 0.4.1 --- .gitignore | 1 + rust-owning_ref.spec | 29 +++++++++++++++++++---------- sources | 2 +- 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index ba80d38..5ed4163 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /owning_ref-0.3.3.crate /owning_ref-0.4.0.crate +/owning_ref-0.4.1.crate diff --git a/rust-owning_ref.spec b/rust-owning_ref.spec index ca7021e..4db162b 100644 --- a/rust-owning_ref.spec +++ b/rust-owning_ref.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm +# Generated by rust2rpm 13 # * Tests are run in infrastructure %bcond_with check %global debug_package %{nil} @@ -6,21 +6,24 @@ %global crate owning_ref Name: rust-%{crate} -Version: 0.4.0 -Release: 4%{?dist} +Version: 0.4.1 +Release: 1%{?dist} Summary: Library for creating references that carry their owner with them +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/owning_ref -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(stable_deref_trait/default) >= 1.0.0 with crate(stable_deref_trait/default) < 2.0.0) -%global _description \ -A library for creating references that carry their owner with them. +%global _description %{expand: +A library for creating references that carry their owner with them.} %description %{_description} @@ -36,7 +39,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,12 +51,15 @@ 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}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -66,6 +72,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Thu Feb 27 2020 Josh Stone - 0.4.1-1 +- Update to 0.4.1 + * Thu Jan 30 2020 Fedora Release Engineering - 0.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 91aa3ed..8e15416 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (owning_ref-0.4.0.crate) = 51bb1cb259452f7395bce0ac4e7d2d6f3733dfe7a8a1a46d50179516ef921924f745a248e4816da5e434b589b5956a20ca554f9a93790b2ed1c55451b9b885ba +SHA512 (owning_ref-0.4.1.crate) = 15ecf5c53a675f7c96f850f54bea5fde63f8cfe22ad5c01941f67695154a39950087bd72bbd9a2f9e76825a3fb8dd1d20ba92335f265f4aa273e1086773b918c