From 16ec4442108afbc164923fa8edfda6c35b1b62e6 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 16 Mar 2022 15:37:54 +0100 Subject: [PATCH] Update to version 0.24.0; Fixes RHBZ#2029484 --- .gitignore | 1 + rust-sequoia-autocrypt.spec | 53 +++++++++++++++++-------------------- sources | 2 +- 3 files changed, 27 insertions(+), 29 deletions(-) diff --git a/.gitignore b/.gitignore index aa0b044..a403cc9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /sequoia-autocrypt-0.23.1.crate +/sequoia-autocrypt-0.24.0.crate diff --git a/rust-sequoia-autocrypt.spec b/rust-sequoia-autocrypt.spec index 8a09337..8992f8f 100644 --- a/rust-sequoia-autocrypt.spec +++ b/rust-sequoia-autocrypt.spec @@ -1,26 +1,22 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate sequoia-autocrypt Name: rust-%{crate} -Version: 0.23.1 +Version: 0.24.0 Release: %autorelease Summary: Autocrypt support -# Upstream license specification: GPL-2.0-or-later -# https://gitlab.com/sequoia-pgp/sequoia/-/issues/708 -License: GPLv2+ +# Upstream license specification: LGPL-2.0-or-later +License: LGPLv2+ URL: https://crates.io/crates/sequoia-autocrypt Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Autocrypt support.} @@ -33,12 +29,13 @@ 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 -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE.txt +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +43,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 %package -n %{name}+compression-devel Summary: %{summary} @@ -58,11 +55,11 @@ BuildArch: noarch %description -n %{name}+compression-devel %{_description} -This package contains library source intended for building other packages -which use "compression" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "compression" feature of the "%{crate}" crate. %files -n %{name}+compression-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compression-bzip2-devel Summary: %{summary} @@ -70,11 +67,11 @@ BuildArch: noarch %description -n %{name}+compression-bzip2-devel %{_description} -This package contains library source intended for building other packages -which use "compression-bzip2" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "compression-bzip2" feature of the "%{crate}" crate. %files -n %{name}+compression-bzip2-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compression-deflate-devel Summary: %{summary} @@ -82,11 +79,11 @@ BuildArch: noarch %description -n %{name}+compression-deflate-devel %{_description} -This package contains library source intended for building other packages -which use "compression-deflate" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "compression-deflate" feature of the "%{crate}" crate. %files -n %{name}+compression-deflate-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crypto-nettle-devel Summary: %{summary} @@ -94,11 +91,11 @@ BuildArch: noarch %description -n %{name}+crypto-nettle-devel %{_description} -This package contains library source intended for building other packages -which use "crypto-nettle" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "crypto-nettle" feature of the "%{crate}" crate. %files -n %{name}+crypto-nettle-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 68528f4..2c15f26 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sequoia-autocrypt-0.23.1.crate) = 07a46bec8182d040dab429b78833cb8ee0ad8b48dff0b46d085aec0077a9a5b39c0c90a74db6c3de755b4639d5d7623fa38be47beed5ac3348f9cd33a35c6dfe +SHA512 (sequoia-autocrypt-0.24.0.crate) = 1ac2844c78235f0fd70779d078fa36f9b5ac8540c0de1e6835fc3f8f8ffc2bce45b05b9a1f46dcc617446c3d49786f68cbfedb18744eac5bb574f3beaeada8ed