diff --git a/.gitignore b/.gitignore index b22e621..89e7dff 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /doc-comment-0.3.1.crate +/doc-comment-0.3.2.crate diff --git a/rust-doc-comment.spec b/rust-doc-comment.spec index 60c07d2..f544db5 100644 --- a/rust-doc-comment.spec +++ b/rust-doc-comment.spec @@ -1,24 +1,28 @@ -# Generated by rust2rpm +# Generated by rust2rpm 13 %bcond_with check %global debug_package %{nil} %global crate doc-comment Name: rust-%{crate} -Version: 0.3.1 -Release: 3%{?dist} +Version: 0.3.2 +Release: 1%{?dist} Summary: Macro to generate doc comments +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/doc-comment Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -Macro to generate doc comments. +%global _description %{expand: +Macro to generate doc comments.} %description %{_description} @@ -34,7 +38,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} @@ -46,7 +50,7 @@ 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 %package -n %{name}+no_core-devel Summary: %{summary} @@ -58,7 +62,7 @@ This package contains library source intended for building other packages which use "no_core" feature of "%{crate}" crate. %files -n %{name}+no_core-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+old_macros-devel Summary: %{summary} @@ -70,12 +74,15 @@ This package contains library source intended for building other packages which use "old_macros" feature of "%{crate}" crate. %files -n %{name}+old_macros-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -88,6 +95,9 @@ which use "old_macros" feature of "%{crate}" crate. %endif %changelog +* Tue Mar 10 2020 Josh Stone - 0.3.2-1 +- Update to 0.3.2 + * Thu Jan 30 2020 Fedora Release Engineering - 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 386c4e7..137f585 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (doc-comment-0.3.1.crate) = f4922f77fdd37a0b11f62d83a78c2c2cd1791e198aa738b54b30b1fbe29e012e320c3e3579e11eef6048a0ccf902f979573c70dfb8b06ea48467c94b7fcaa6c5 +SHA512 (doc-comment-0.3.2.crate) = ed3fe21dbf830358997d3a067776a3c9d5261006bef7721d380ca4a5c1c17bc9abec2bb58bf99ba3a218c930a4113bb52337398f4f43e28caf8cee20698cd007