Update to version 0.7.6; Fixes RHBZ#2082949

epel9
Fabio Valentini 2 years ago
parent 0c9e3b83b0
commit e3b021405e
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -2,3 +2,4 @@
/*.src.rpm /*.src.rpm
/der-0.4.5.crate /der-0.4.5.crate
/der-0.7.6.crate

@ -1,27 +1,24 @@
# 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 %global crate der
Name: rust-%{crate} Name: rust-der
Version: 0.4.5 Version: 0.7.6
Release: %autorelease Release: %autorelease
Summary: Pure Rust embedded-friendly implementation of DER for ASN.1 Summary: Pure Rust embedded-friendly implementation of DER for ASN.1
# 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 URL: https://crates.io/crates/der
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} BuildRequires: cargo-rpm-macros >= 24
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Pure Rust embedded-friendly implementation of the Distinguished Encoding Rules Pure Rust embedded-friendly implementation of the Distinguished Encoding
(DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690 with Rules (DER) for Abstract Syntax Notation One (ASN.1) as described in ITU
full support for heapless no_std targets.} X.690 with full support for heapless no_std targets.}
%description %{_description} %description %{_description}
@ -35,9 +32,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}
@ -49,7 +48,7 @@ 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
%package -n %{name}+alloc-devel %package -n %{name}+alloc-devel
Summary: %{summary} Summary: %{summary}
@ -61,79 +60,79 @@ This package contains library source intended for building other packages which
use the "alloc" feature of the "%{crate}" crate. use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel %files -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bigint-devel %package -n %{name}+arbitrary-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+bigint-devel %{_description} %description -n %{name}+arbitrary-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "bigint" feature of the "%{crate}" crate. use the "arbitrary" feature of the "%{crate}" crate.
%files -n %{name}+bigint-devel %files -n %{name}+arbitrary-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+const-oid-devel %package -n %{name}+derive-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+const-oid-devel %{_description} %description -n %{name}+derive-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "const-oid" feature of the "%{crate}" crate. use the "derive" feature of the "%{crate}" crate.
%files -n %{name}+const-oid-devel %files -n %{name}+derive-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+crypto-bigint-devel %package -n %{name}+flagset-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+crypto-bigint-devel %{_description} %description -n %{name}+flagset-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "crypto-bigint" feature of the "%{crate}" crate. use the "flagset" feature of the "%{crate}" crate.
%files -n %{name}+crypto-bigint-devel %files -n %{name}+flagset-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+der_derive-devel %package -n %{name}+oid-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+der_derive-devel %{_description} %description -n %{name}+oid-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "der_derive" feature of the "%{crate}" crate. use the "oid" feature of the "%{crate}" crate.
%files -n %{name}+der_derive-devel %files -n %{name}+oid-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+derive-devel %package -n %{name}+pem-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+derive-devel %{_description} %description -n %{name}+pem-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "derive" feature of the "%{crate}" crate. use the "pem" feature of the "%{crate}" crate.
%files -n %{name}+derive-devel %files -n %{name}+pem-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+oid-devel %package -n %{name}+real-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+oid-devel %{_description} %description -n %{name}+real-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "oid" feature of the "%{crate}" crate. use the "real" feature of the "%{crate}" crate.
%files -n %{name}+oid-devel %files -n %{name}+real-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -145,7 +144,31 @@ This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+time-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+time-devel %{_description}
This package contains library source intended for building other packages which
use the "time" feature of the "%{crate}" crate.
%files -n %{name}+time-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+zeroize-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+zeroize-devel %{_description}
This package contains library source intended for building other packages which
use the "zeroize" feature of the "%{crate}" crate.
%files -n %{name}+zeroize-devel
%ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (der-0.4.5.crate) = 9d58e6b0fe348a53adc3dbd944bad4499f65efa14d19dad0a62f026801d8c31fcaee877f31242e73dfb9816a58489fb88c59e289c9a6a21c8edde325050329c6 SHA512 (der-0.7.6.crate) = 54a43a626a6f3371e15a3fe3e315444887c7e1182cc035702661f1ffd1984fd3e4c0b7758b955fdbf0e4d5146a3439a3570568dc50eef889b3485b409d5cc5a1

Loading…
Cancel
Save