From 2d2693555ed652ce149c5d1f0a717cb629d56d64 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 25 Jul 2021 22:47:54 +0200 Subject: [PATCH] Update to version 1.0.3; Fixes RHBZ#1964542 --- .gitignore | 1 + rust-semver.spec | 38 +++++++++++++------------------------- sources | 2 +- 3 files changed, 15 insertions(+), 26 deletions(-) diff --git a/.gitignore b/.gitignore index 9671b64..e3086da 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /semver-0.9.0.crate /semver-0.11.0.crate +/semver-1.0.3.crate diff --git a/rust-semver.spec b/rust-semver.spec index c747d07..729fd33 100644 --- a/rust-semver.spec +++ b/rust-semver.spec @@ -1,15 +1,15 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate semver Name: rust-%{crate} -Version: 0.11.0 +Version: 1.0.3 Release: %autorelease -Summary: Semantic version parsing and comparison +Summary: Parser and evaluator for Cargo's flavor of Semantic Versioning -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/semver Source: %{crates_source} @@ -22,7 +22,7 @@ BuildArch: noarch BuildRequires: rust-packaging %global _description %{expand: -Semantic version parsing and comparison.} +Parser and evaluator for Cargo's flavor of Semantic Versioning.} %description %{_description} @@ -52,40 +52,28 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+ci-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+ci-devel %{_description} - -This package contains library source intended for building other packages -which use "ci" feature of "%{crate}" crate. - -%files -n %{name}+ci-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+diesel-devel +%package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+diesel-devel %{_description} +%description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages -which use "diesel" feature of "%{crate}" crate. +which use "serde" feature of "%{crate}" crate. -%files -n %{name}+diesel-devel +%files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+serde-devel +%package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+serde-devel %{_description} +%description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +which use "std" feature of "%{crate}" crate. -%files -n %{name}+serde-devel +%files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep diff --git a/sources b/sources index 090fac9..1b2bdc6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (semver-0.11.0.crate) = bdbd8eba37071ec1d24d372cc34ac4d82b6d914e7396ed51276e80d4d299864507a9d837ef381f6c4868981b7ca35514050ab8d7a621d43697a9c4b4bd5d8573 +SHA512 (semver-1.0.3.crate) = 8af01b90d00873587f113b30d750bc5af89ad0e24ca6c2d71d2afd7244023e321effd6aa25b6cbfffaf173ae646ff8a701148e6bfd3a625f9d14e37baec65c19