diff --git a/.gitignore b/.gitignore index adbeff2..e409b8e 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,18 @@ /libc-0.2.106.crate /libc-0.2.107.crate /libc-0.2.108.crate +/libc-0.2.109.crate +/libc-0.2.112.crate +/libc-0.2.113.crate +/libc-0.2.114.crate +/libc-0.2.116.crate +/libc-0.2.117.crate +/libc-0.2.119.crate +/libc-0.2.120.crate +/libc-0.2.121.crate +/libc-0.2.125.crate +/libc-0.2.126.crate +/libc-0.2.127.crate +/libc-0.2.131.crate +/libc-0.2.132.crate +/libc-0.2.134.crate diff --git a/rust-libc.spec b/rust-libc.spec index 36b86cb..ba5325d 100644 --- a/rust-libc.spec +++ b/rust-libc.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate libc -Name: rust-%{crate} -Version: 0.2.108 +Name: rust-libc +Version: 0.2.134 Release: %autorelease Summary: Raw FFI bindings to platform libraries like libc -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/libc Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Raw FFI bindings to platform libraries like libc.} @@ -33,13 +29,15 @@ Requires: glibc-devel %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%doc 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} @@ -47,11 +45,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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} @@ -59,11 +57,23 @@ BuildArch: noarch %description -n %{name}+align-devel %{_description} -This package contains library source intended for building other packages -which use "align" feature of "%{crate}" crate. +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} +BuildArch: noarch + +%description -n %{name}+const-extern-fn-devel %{_description} + +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 %{crate_instdir}/Cargo.toml %package -n %{name}+extra_traits-devel Summary: %{summary} @@ -71,11 +81,11 @@ BuildArch: noarch %description -n %{name}+extra_traits-devel %{_description} -This package contains library source intended for building other packages -which use "extra_traits" feature of "%{crate}" crate. +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} @@ -83,11 +93,11 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +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} @@ -95,11 +105,11 @@ BuildArch: noarch %description -n %{name}+use_std-devel %{_description} -This package contains library source intended for building other packages -which use "use_std" feature of "%{crate}" crate. +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/.rust2rpm.conf b/rust2rpm.conf similarity index 88% rename from .rust2rpm.conf rename to rust2rpm.conf index 5a099e0..29b1c06 100644 --- a/.rust2rpm.conf +++ b/rust2rpm.conf @@ -1,6 +1,5 @@ [DEFAULT] unwanted-features = - const-extern-fn rustc-dep-of-std rustc-std-workspace-core buildrequires = diff --git a/sources b/sources index af30ada..5105951 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libc-0.2.108.crate) = a29f0c5cc7e4b653c2bc33c92dc90b5d3a7132d4409d6b92b94fa9fe1391d8cf57a63d339ca0602f2efac28d3dc3beb854cf9a6d03bf027fef5e5276fc5b1487 +SHA512 (libc-0.2.134.crate) = fcc142061df7b363b2dacec5fb3c9a19e63addd8210678117f681b8e1b62e5784cb78067639df464f32e22c9ab4d0932bbe1c01cc992348cc0fad4a46cc7b1c3