From 0582015ac2a67d75527888feb13a2a1a4b5fd046 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 17 Mar 2022 22:49:36 +0100 Subject: [PATCH] Update to version 0.2.120; Fixes RHBZ#2063878 --- .gitignore | 1 + rust-libc.spec | 26 ++++++++++++++------------ sources | 2 +- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 08d0894..3396545 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,4 @@ /libc-0.2.116.crate /libc-0.2.117.crate /libc-0.2.119.crate +/libc-0.2.120.crate diff --git a/rust-libc.spec b/rust-libc.spec index 1a97948..833fa18 100644 --- a/rust-libc.spec +++ b/rust-libc.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate libc Name: rust-%{crate} -Version: 0.2.119 +Version: 0.2.120 Release: %autorelease Summary: Raw FFI bindings to platform libraries like libc @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Raw FFI bindings to platform libraries like libc.} @@ -34,9 +34,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CONTRIBUTING.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CONTRIBUTING.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +50,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+align-devel Summary: %{summary} @@ -60,7 +62,7 @@ This package contains library source intended for building other packages which use the "align" feature of the "%{crate}" crate. %files -n %{name}+align-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+const-extern-fn-devel Summary: %{summary} @@ -72,7 +74,7 @@ This package contains library source intended for building other packages which use the "const-extern-fn" feature of the "%{crate}" crate. %files -n %{name}+const-extern-fn-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+extra_traits-devel Summary: %{summary} @@ -84,7 +86,7 @@ This package contains library source intended for building other packages which use the "extra_traits" feature of the "%{crate}" crate. %files -n %{name}+extra_traits-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -96,7 +98,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_std-devel Summary: %{summary} @@ -108,7 +110,7 @@ This package contains library source intended for building other packages which use the "use_std" feature of the "%{crate}" crate. %files -n %{name}+use_std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 8a68f45..8ace4ca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libc-0.2.119.crate) = a43f8d1cac7a0d8c1bf6f2125695c03d91243498d2dea19a3a674ccb2c64fd00bac4040c42130a1a096b2148451f62e1292c5c71f424f51f888d6a37c7db0bcd +SHA512 (libc-0.2.120.crate) = 42aadea2670f63d6a2c38d4d6949d9071c535395ecf458a694751a7a17f2a4a6495ea1dbdcbcb5340cb62e3a40419419141ca39c4d4dcda8cccbe480aa34a014