diff --git a/.gitignore b/.gitignore index 68fd387..6f2ef0a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /shell-escape-0.1.3.crate /shell-escape-0.1.4.crate +/shell-escape-0.1.5.crate diff --git a/rust-shell-escape.spec b/rust-shell-escape.spec index 6a30138..212afaf 100644 --- a/rust-shell-escape.spec +++ b/rust-shell-escape.spec @@ -1,25 +1,28 @@ -# Generated by rust2rpm +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate shell-escape Name: rust-%{crate} -Version: 0.1.4 -Release: 6%{?dist} +Version: 0.1.5 +Release: 1%{?dist} Summary: Escape characters that may have a special meaning in a shell # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/shell-escape -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 -%global _description \ -Escape characters that may have a special meaning in a shell. +%global _description %{expand: +Escape characters that may have a special meaning in a shell.} %description %{_description} @@ -35,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,12 +50,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 @@ -65,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Jul 10 2020 Josh Stone - 0.1.5-1 +- Update to 0.1.5 + * Thu Jan 30 2020 Fedora Release Engineering - 0.1.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 9ca13af..68ecdb0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (shell-escape-0.1.4.crate) = 19cd5e79b2b610dbb26098182c1ed3a8a2cb93a88fc623c0a9e3ff719998d6bb1de632f79519905441a4e38275178dd5aebca8b9994efc24e19bac4ebe5d6329 +SHA512 (shell-escape-0.1.5.crate) = 848f8d47d802b82e83f113fb07f44fe962628379481d1bef9d15f2e5821a382c9928c32175652361aae9fe4c8fa5c1dc1c89350db6ef5e68691bae4a3742df93