From 7351393470d051904ba042428ba6a26257381697 Mon Sep 17 00:00:00 2001 From: Fabio Valentini <decathorpe@gmail.com> Date: Sat, 7 Oct 2023 12:11:25 +0200 Subject: [PATCH] Update to version 0.2.149; Fixes RHBZ#2242563 --- .gitignore | 1 + rust-libc.spec | 6 +++--- rust2rpm.conf | 8 -------- rust2rpm.toml | 7 +++++++ sources | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 9e11690..74df68e 100644 --- a/.gitignore +++ b/.gitignore @@ -83,3 +83,4 @@ /libc-0.2.145.crate /libc-0.2.147.crate /libc-0.2.148.crate +/libc-0.2.149.crate diff --git a/rust-libc.spec b/rust-libc.spec index 7925823..ab01854 100644 --- a/rust-libc.spec +++ b/rust-libc.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate libc Name: rust-libc -Version: 0.2.148 +Version: 0.2.149 Release: %autorelease Summary: Raw FFI bindings to platform libraries like libc @@ -110,7 +110,7 @@ use the "use_std" 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 diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 29b1c06..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,8 +0,0 @@ -[DEFAULT] -unwanted-features = - rustc-dep-of-std - rustc-std-workspace-core -buildrequires = - glibc-devel -lib.requires = - glibc-devel diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..64a60e8 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,7 @@ +[features] +hide = ["rustc-dep-of-std", "rustc-std-workspace-core"] + +[requires] +build = ["glibc-devel"] +lib = ["glibc-devel"] + diff --git a/sources b/sources index fbbcca3..9703760 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libc-0.2.148.crate) = 1dec9ec8f4c610c08f62bc2b45dd32f1e4528a045161d848b5c4f0382be1158a690f4d7760203d7d2347a80422671f43b07531871cf44990887eaaed35d924d4 +SHA512 (libc-0.2.149.crate) = 0def64d400d473d6eed30e985522d36801ee6472b15f90e74dc4592e0a8ffbaf30b731be280de52b30255cf60aeca8efe817b67049227dc7000c807e007d7289