Update to version 2.3.0; Fixes RHBZ#2243826

epel9 imports/e9/rust-nettle-sys-2.3.0-1.el9
Fabio Valentini 1 year ago
parent 7539ba5978
commit 8f94592020
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -7,3 +7,4 @@
/nettle-sys-2.1.0.crate
/nettle-sys-2.1.1.crate
/nettle-sys-2.2.0.crate
/nettle-sys-2.3.0.crate

@ -1,5 +1,5 @@
--- nettle-sys-2.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ nettle-sys-2.2.0/Cargo.toml 2023-05-17T13:41:19.037440+00:00
--- nettle-sys-2.3.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ nettle-sys-2.3.0/Cargo.toml 2023-10-20T09:01:43.044608+00:00
@@ -55,5 +55,3 @@
[build-dependencies.tempfile]
version = "3"

@ -1,25 +1,25 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate nettle-sys
Name: rust-nettle-sys
Version: 2.2.0
Version: 2.3.0
Release: %autorelease
Summary: Low-level Rust bindings for the Nettle cryptographic library
License: LGPL-3.0 OR GPL-2.0 OR GPL-3.0
URL: https://crates.io/crates/nettle-sys
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
# Automatically generated patch to strip dependencies and normalize metadata
Patch: nettle-sys-fix-metadata-auto.diff
# * drop two elliptic curves that are disabled in nettle in Fedora:
# - nettle_get_secp_192r1
# - nettle_get_secp_224r1
Patch: 0001-build-drop-unavailable-ECC-functions.patch
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Low-level Rust bindings for the Nettle cryptographic library.}
@ -56,7 +56,7 @@ use the "default" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

@ -1,5 +0,0 @@
[DEFAULT]
buildrequires =
pkgconfig(nettle)
lib.requires =
pkgconfig(nettle)

@ -0,0 +1,4 @@
[requires]
build = ["pkgconfig(nettle)"]
lib = ["pkgconfig(nettle)"]

@ -1 +1 @@
SHA512 (nettle-sys-2.2.0.crate) = db72ab5f0bfd79230489d1310ba6d91ff55ec8d7229f0c21cc309fcf50aba6c8db44fda946c01642b4b9d348c7d113d77d3c13f7cc395f7fde7e9c50cbb6e90f
SHA512 (nettle-sys-2.3.0.crate) = f453608d860edf86ba62ed959aa1d04301c06d13bef5179b2a69f7faebe1e1ea41fce163aa4a48617d21fc493cce16c28cc11a051ccfd13d0be93c66405aa5d3

Loading…
Cancel
Save