diff --git a/.gitignore b/.gitignore index 3f79c27..6884d38 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /peg-0.5.4.crate /peg-0.5.7.crate +/peg-0.6.3.crate diff --git a/rust-peg.spec b/rust-peg.spec index 9b5f342..9de1391 100644 --- a/rust-peg.spec +++ b/rust-peg.spec @@ -1,39 +1,31 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 13 +%bcond_without check +%global debug_package %{nil} %global crate peg Name: rust-%{crate} -Version: 0.5.7 -Release: 6%{?dist} +Version: 0.6.3 +Release: 1%{?dist} Summary: Simple Parsing Expression Grammar (PEG) parser generator +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/peg -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(quote/default) >= 0.3.0 with crate(quote/default) < 0.4.0) -%global _description \ -A simple Parsing Expression Grammar (PEG) parser generator. +%global _description %{expand: +Simple Parsing Expression Grammar (PEG) parser generator.} %description %{_description} -%package -n %{crate} -Summary: %{summary} - -%description -n %{crate} -%{summary}. - -%files -n %{crate} -%license LICENSE -%doc README.md -%{_bindir}/rust-peg - %package devel Summary: %{summary} BuildArch: noarch @@ -46,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %exclude %{cargo_registry}/%{crate}-%{version}/bootstrap.sh %package -n %{name}+default-devel @@ -59,7 +51,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}+trace-devel Summary: %{summary} @@ -71,12 +63,15 @@ This package contains library source intended for building other packages which use "trace" feature of "%{crate}" crate. %files -n %{name}+trace-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 @@ -89,6 +84,9 @@ which use "trace" feature of "%{crate}" crate. %endif %changelog +* Tue Sep 15 2020 Fabio Valentini - 0.6.3-1 +- Update to version 0.6.3. + * Wed Jul 29 2020 Fedora Release Engineering - 0.5.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index efe1115..60dde7b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (peg-0.5.7.crate) = 3e5fe99b1bf33425058f5748132be638471ec470ba608cbbf0b9fb54c7f1464387a2b3ea27e6bf48fe0f4927cbd09fd271339918c68d817b9c7a13e0c90d712d +SHA512 (peg-0.6.3.crate) = edbaccc2ed87728fc1bbe373b71167fadca95aa07a9d9850d0cac46342ab366163aee3ec65ee9304dbe997924f1de3a3d6b19e47034aec3bddfbd2847060b276