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 /der_derive-0.4.1.crate
/LICENSE-APACHE /LICENSE-APACHE
/LICENSE-MIT /LICENSE-MIT
/der_derive-0.7.1.crate

@ -1,28 +1,23 @@
# Generated by rust2rpm 20 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate der_derive %global crate der_derive
Name: rust-%{crate} Name: rust-der_derive
Version: 0.4.1 Version: 0.7.1
Release: %autorelease 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: Apache-2.0 OR MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/der_derive URL: https://crates.io/crates/der_derive
Source: %{crates_source} 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 >= 21
BuildRequires: rust-packaging
%global _description %{expand: %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} %description %{_description}
@ -36,9 +31,11 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc CHANGELOG.md README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} 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. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
cp %{SOURCE1} %{SOURCE2} .
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires

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

Loading…
Cancel
Save