Update to version 0.7.1; Fixes RHBZ#2082933

epel9
Fabio Valentini 2 years ago
parent 2afe23efd2
commit 8c2ec3af87
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -4,3 +4,4 @@
/der_derive-0.4.1.crate
/LICENSE-APACHE
/LICENSE-MIT
/der_derive-0.7.1.crate

@ -1,28 +1,23 @@
# Generated by rust2rpm 20
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate der_derive
Name: rust-%{crate}
Version: 0.4.1
Name: rust-der_derive
Version: 0.7.1
Release: %autorelease
Summary: Custom derives for Choice and Message traits from the der crate
Summary: Custom derive support for the der crate's Choice and Sequence traits
# Upstream license specification: Apache-2.0 OR MIT
License: ASL 2.0 or MIT
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/der_derive
Source: %{crates_source}
# https://github.com/RustCrypto/formats/issues/283
Source1: https://github.com/RustCrypto/formats/raw/04219e9/der/derive/LICENSE-APACHE
Source2: https://github.com/RustCrypto/formats/raw/04219e9/der/derive/LICENSE-MIT
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Custom derive support for the `der` crate's `Choice` and `Message` traits.}
Custom derive support for the `der` crate's `Choice` and `Sequence`
traits.}
%description %{_description}
@ -36,9 +31,11 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%doc CHANGELOG.md README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -50,12 +47,11 @@ 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
%cargo_prep
cp %{SOURCE1} %{SOURCE2} .
%generate_buildrequires
%cargo_generate_buildrequires

@ -1,3 +1 @@
SHA512 (der_derive-0.4.1.crate) = fa319e8a84d6f259b21c8734902b2f878c684c391c51c55d118ed1919a6e1db18419ab76e268eb56c426e38d5a79bdd0d08004c6599181989a963366aa9649ed
SHA512 (LICENSE-APACHE) = 5119f6179b85acc303cf17cd6dbe86193ccb831c3176f0cc2633e1b0ca9e832cac5fcff83992f181db06bb22d8ec273d4faec59dbbd897d242dd696c38d42830
SHA512 (LICENSE-MIT) = 6cbdc5471b00cd385deae72f8a5358149774ed3b01b332b749c14f089b8cd8363aaeaaaaec5768fcb8d1a13a0a172a7c0526efc2dfd35d49cc503fda7c1a1782
SHA512 (der_derive-0.7.1.crate) = fead718d0ee8e6744d7f0f25fe8631167b6affa73a76ba5c1fb458ba696ca7f5cdc50ddbb71b4dd81a7d72c1b02fb2d71bb6872208f08735c74641ce8f6402c0

Loading…
Cancel
Save