From 97efa08bb0f3e60d38471bfbb753b1a238237b3a Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 19 Feb 2020 16:15:00 -0800 Subject: [PATCH] Update to 0.10.1 --- .gitignore | 1 + rust-scroll_derive.spec | 36 ++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 22 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index c35201e..bec9368 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /scroll_derive-0.9.3.crate /scroll_derive-0.9.4.crate /scroll_derive-0.9.5.crate +/scroll_derive-0.10.1.crate diff --git a/rust-scroll_derive.spec b/rust-scroll_derive.spec index 98c9c30..42c00a9 100644 --- a/rust-scroll_derive.spec +++ b/rust-scroll_derive.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,27 +6,25 @@ %global crate scroll_derive Name: rust-%{crate} -Version: 0.9.5 -Release: 5%{?dist} +Version: 0.10.1 +Release: 1%{?dist} Summary: Macros 1.1 derive implementation for Pread and Pwrite traits from scroll crate +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/scroll_derive -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(proc-macro2/default) >= 0.4.0 with crate(proc-macro2/default) < 0.5.0) -BuildRequires: (crate(quote/default) >= 0.6.0 with crate(quote/default) < 0.7.0) -BuildRequires: (crate(syn/default) >= 0.15.0 with crate(syn/default) < 0.16.0) -%if %{with check} -BuildRequires: (crate(scroll/default) >= 0.9.0 with crate(scroll/default) < 0.10.0) -%endif -%global _description \ -A macros 1.1 derive implementation for Pread and Pwrite traits from the scroll\ -crate. +%global _description %{expand: +A macros 1.1 derive implementation for Pread and Pwrite traits from the scroll +crate.} %description %{_description} @@ -42,7 +40,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} @@ -54,12 +52,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 @@ -72,6 +73,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed Feb 19 2020 Josh Stone - 0.10.1-1 +- Update to 0.10.1 + * Thu Jan 30 2020 Fedora Release Engineering - 0.9.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 17b1ba3..943c47c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scroll_derive-0.9.5.crate) = 8db648782f4235a0eba142d37e5b60a999874b74c57009e10f4f3bca2a4f26d8eaa0cae4202b1613a98d6e70830b6d2827fb5aa6cd08c510c78079e8eb6b8ccd +SHA512 (scroll_derive-0.10.1.crate) = 011381091ba3d123f184c77efbace2f6cfa61c0af8a9adc5c7bcbc9a1d2c2c8aeb4464a8050728afbf7998e3beebf1a2f2cf1edab107a3301288999e33d58ab6