update to version 0.2.81

epel9
Fabio Valentini 4 years ago
parent 3bc7b80388
commit 781044c108
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -38,3 +38,4 @@
/libc-0.2.78.crate /libc-0.2.78.crate
/libc-0.2.79.crate /libc-0.2.79.crate
/libc-0.2.80.crate /libc-0.2.80.crate
/libc-0.2.81.crate

@ -1,4 +1,8 @@
[DEFAULT] [DEFAULT]
unwanted-features =
const-extern-fn
rustc-dep-of-std
rustc-std-workspace-core
buildrequires = buildrequires =
glibc-devel glibc-devel
lib.requires = lib.requires =

@ -1,19 +0,0 @@
--- libc-0.2.80/Cargo.toml 2020-10-25T20:52:21+00:00
+++ libc-0.2.80/Cargo.toml 2020-11-04T20:03:44.950947+00:00
@@ -24,16 +24,11 @@
categories = ["external-ffi-bindings", "no-std", "os"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/libc"
-[dependencies.rustc-std-workspace-core]
-version = "1.0.0"
-optional = true
[features]
align = []
-const-extern-fn = []
default = ["std"]
extra_traits = []
-rustc-dep-of-std = ["align", "rustc-std-workspace-core"]
std = []
use_std = ["std"]
[badges.azure-devops]

@ -1,22 +1,18 @@
# Generated by rust2rpm 15 # Generated by rust2rpm 16
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate libc %global crate libc
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.2.80 Version: 0.2.81
Release: 2%{?dist} Release: 1%{?dist}
Summary: Raw FFI bindings to platform libraries like libc Summary: Raw FFI bindings to platform libraries like libc
# Upstream license specification: MIT OR Apache-2.0 # Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/libc URL: https://crates.io/crates/libc
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# * drop dependencies on compiler internals (rustc-std-workspace-core)
# * drop nightly-only "const-extern-fn" feature
Patch0: libc-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build} %if %{__cargo_skip_build}
@ -24,6 +20,7 @@ BuildArch: noarch
%endif %endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: glibc-devel
%global _description %{expand: %global _description %{expand:
Raw FFI bindings to platform libraries like libc.} Raw FFI bindings to platform libraries like libc.}
@ -111,7 +108,6 @@ which use "use_std" feature of "%{crate}" crate.
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires
echo 'glibc-devel'
%build %build
%cargo_build %cargo_build
@ -125,6 +121,10 @@ echo 'glibc-devel'
%endif %endif
%changelog %changelog
* Mon Dec 07 2020 Fabio Valentini <decathorpe@gmail.com> - 0.2.81-1
- Update to version 0.2.81.
- Fixes RHBZ#1904841
* Wed Nov 11 2020 Fabio Valentini <decathorpe@gmail.com> - 0.2.80-2 * Wed Nov 11 2020 Fabio Valentini <decathorpe@gmail.com> - 0.2.80-2
- Reintroduce accidentally removed "align" feature. - Reintroduce accidentally removed "align" feature.

@ -1 +1 @@
SHA512 (libc-0.2.80.crate) = 69b2f4c67d29bd4fc8f6d0388036ac3ea0de2ba7387f56f4e4bd035696ba313fdce10d18107ef83490f574d6fff796b305d5f2c2bb03a7cf33b9136386e65b8c SHA512 (libc-0.2.81.crate) = 8e121e0dcbd8218e02c2c6536ef6398cd002a92406d433c39bf84576e9b881c5b8a66fee826da6a6189f44b825f3a9d959075eeb0501d7f604bf9cc1a8b8d437

Loading…
Cancel
Save