Update to version 1.1.0; Fixes RHBZ#2106836

epel10
Fabio Valentini 2 years ago
parent 1108b47bf6
commit 80febf9451
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,3 +3,4 @@
/pem-0.8.3.crate /pem-0.8.3.crate
/pem-1.0.1.crate /pem-1.0.1.crate
/pem-1.0.2.crate /pem-1.0.2.crate
/pem-1.1.0.crate

@ -1,10 +1,11 @@
--- pem-1.0.2/Cargo.toml 2022-01-03T19:05:52+00:00 --- pem-1.1.0/Cargo.toml 2022-07-13T14:24:29+00:00
+++ pem-1.0.2/Cargo.toml 2022-01-07T21:35:18.137964+00:00 +++ pem-1.1.0/Cargo.toml 2022-12-13T13:39:39.433003+00:00
@@ -28,7 +28,5 @@ @@ -33,8 +33,6 @@
harness = false version = "1"
[dependencies.base64] features = ["serde_derive"]
version = "0.13.0" optional = true
-[dev-dependencies.criterion] -[dev-dependencies.criterion]
-version = "0.3.0" -version = "0.3.0"
[badges.travis-ci]
repository = "jcreekmore/pem-rs" [dev-dependencies.serde_json]
version = "1"

@ -1,25 +1,22 @@
# Generated by rust2rpm 20 # Generated by rust2rpm 23
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate pem %global crate pem
Name: rust-%{crate} Name: rust-pem
Version: 1.0.2 Version: 1.1.0
Release: %autorelease Release: %autorelease
Summary: Parse and encode PEM-encoded data Summary: Parse and encode PEM-encoded data
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/pem URL: https://crates.io/crates/pem
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency to speed up builds # * drop unused, benchmark-only criterion dev-dependency to speed up builds
Patch0: pem-fix-metadata.diff Patch: pem-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Parse and encode PEM-encoded data.} Parse and encode PEM-encoded data.}
@ -36,9 +33,10 @@ 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.md %license %{crate_instdir}/LICENSE.md
%doc CHANGELOG.md README.md %doc %{crate_instdir}/CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -50,7 +48,19 @@ 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}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-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 (pem-1.0.2.crate) = 548498cdd2ba114b6f0905949fdb5880c667e6f300fdc96dc1e9abcea275ac281b85ce88830ca4478cd3318994a3c9528ba3a5597262bf8cf2da8cab8674cd0d SHA512 (pem-1.1.0.crate) = 16cebd4a3381313dc827e289fc39f8650b89d6348383a672671323ed6afc4f661d1c363a5c32005f2b6ff75b1bf85dd8bfa3817ffd8453be52c9bee0e43d6d66

Loading…
Cancel
Save