Update to version 2.0.2; Fixes RHBZ#2214072

epel9
Fabio Valentini 1 year ago
parent da21e6b9f5
commit a60416e4f7
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -13,3 +13,4 @@
/io-lifetimes-1.0.9.crate /io-lifetimes-1.0.9.crate
/io-lifetimes-1.0.10.crate /io-lifetimes-1.0.10.crate
/io-lifetimes-1.0.11.crate /io-lifetimes-1.0.11.crate
/io-lifetimes-2.0.2.crate

@ -1,15 +1,15 @@
--- io-lifetimes-1.0.11/Cargo.toml 1970-01-01T00:00:01+00:00 --- io-lifetimes-2.0.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ io-lifetimes-1.0.11/Cargo.toml 2023-05-25T12:14:36.249026+00:00 +++ io-lifetimes-2.0.2/Cargo.toml 2023-11-05T00:08:08.447170+00:00
@@ -42,8 +42,6 @@ @@ -48,8 +48,6 @@
[features] [features]
close = [ close = [
"libc", "libc",
- "hermit-abi", - "hermit-abi",
- "windows-sys", - "windows-sys",
] ]
default = ["close"] default = []
@@ -82,18 +80,3 @@ @@ -88,17 +86,3 @@
version = "0.2.96" version = "0.2.96"
optional = true optional = true
@ -25,6 +25,5 @@
- "Win32_Networking_WinSock", - "Win32_Networking_WinSock",
- "Win32_Security", - "Win32_Security",
- "Win32_System_IO", - "Win32_System_IO",
- "Win32_System_Threading",
-] -]
-optional = true -optional = true

@ -1,21 +1,21 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 25
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate io-lifetimes %global crate io-lifetimes
Name: rust-io-lifetimes Name: rust-io-lifetimes
Version: 1.0.11 Version: 2.0.2
Release: %autorelease Release: %autorelease
Summary: Low-level I/O ownership and borrowing library Summary: Low-level I/O ownership and borrowing library
License: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT License: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
URL: https://crates.io/crates/io-lifetimes URL: https://crates.io/crates/io-lifetimes
Source: %{crates_source} Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies # Automatically generated patch to strip dependencies and normalize metadata
Patch: io-lifetimes-fix-metadata-auto.diff Patch: io-lifetimes-fix-metadata-auto.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
A low-level I/O ownership and borrowing library.} A low-level I/O ownership and borrowing library.}
@ -77,18 +77,6 @@ use the "close" feature of the "%{crate}" crate.
%files -n %{name}+close-devel %files -n %{name}+close-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+fs-err-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+fs-err-devel %{_description}
This package contains library source intended for building other packages which
use the "fs-err" feature of the "%{crate}" crate.
%files -n %{name}+fs-err-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+libc-devel %package -n %{name}+libc-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -150,7 +138,7 @@ use the "tokio" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1 +1 @@
SHA512 (io-lifetimes-1.0.11.crate) = 30c6e5ce6f5beabe0d7bee4f4522884d1316cf7d9b8d093ba0f952995997be3d0f10e1e77b9c20b7fe2b65429de0d2ec89bb35e939455795205206a3154ed544 SHA512 (io-lifetimes-2.0.2.crate) = d6f99e968f660ab3fd65d4cabcb2ea099b8b951104606445cceec68d144e022399dc0d0763f319a442c1e10a843862e1acaccd4a13a737594cc47f69c96a4253

Loading…
Cancel
Save