From 948db92f189b7b6d57887e1f876b1599e1b7367a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: May 31 2022 20:20:56 +0000 Subject: Update to version 3.0.0 --- diff --git a/.gitignore b/.gitignore index 336aee7..0639454 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /actix-utils-1.0.4.crate /actix-utils-1.0.6.crate /actix-utils-2.0.0.crate +/actix-utils-3.0.0.crate diff --git a/rust-actix-utils.spec b/rust-actix-utils.spec index 510fc01..f1df3ab 100644 --- a/rust-actix-utils.spec +++ b/rust-actix-utils.spec @@ -1,13 +1,14 @@ -# Generated by rust2rpm 13 -%bcond_without check +# Generated by rust2rpm 21 +# * tests can only be run in-tree +%bcond_with check %global debug_package %{nil} %global crate actix-utils Name: rust-%{crate} -Version: 2.0.0 +Version: 3.0.0 Release: %autorelease -Summary: Various network related services and utilities for Actix +Summary: Various utilities used in the Actix ecosystem # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 @@ -15,14 +16,11 @@ URL: https://crates.io/crates/actix-utils Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Various network related services and utilities for the Actix ecosystem.} +Various utilities used in the Actix ecosystem.} %description %{_description} @@ -32,13 +30,14 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%doc CHANGES.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGES.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +45,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 8faf7c1..6fd93e4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (actix-utils-2.0.0.crate) = c0339ef1ca16498d777673ae6d0baf51b6bdd123ba3bd23797c4f9cb3dc35d2fb15e20cff31f0c709cac04c7cee0ae850f1a355fab7fc0a54e21308a668888a3 +SHA512 (actix-utils-3.0.0.crate) = e71280275051ebce7d10ea133b67f341ebdc750b22022c4d94a9570786ce92931a8ff41c0860e8433e87f6a479aded2d2adde19d91831a25f682ab32f4382743