From b3af8a4a1c217dd5d7e1ff2c290185cad53ecaaa Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 26 Nov 2018 13:23:26 -0800 Subject: [PATCH] Update to 0.2.44 --- .gitignore | 1 + libc-fix-metadata.diff | 17 ++++++++++++----- rust-libc.spec | 11 +++++++---- sources | 2 +- 4 files changed, 21 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index ab1c393..29717bc 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /libc-0.2.41.crate /libc-0.2.42.crate /libc-0.2.43.crate +/libc-0.2.44.crate diff --git a/libc-fix-metadata.diff b/libc-fix-metadata.diff index 79d10a2..ec5293a 100644 --- a/libc-fix-metadata.diff +++ b/libc-fix-metadata.diff @@ -1,10 +1,17 @@ ---- libc-0.2.43/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ libc-0.2.43/Cargo.toml 2018-10-26T22:48:53.137031+02:00 -@@ -20,6 +20,7 @@ +--- libc-0.2.44/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ libc-0.2.44/Cargo.toml 2018-11-26T13:19:32.940302-08:00 +@@ -22,14 +22,10 @@ readme = "README.md" - license = "MIT/Apache-2.0" + license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/libc" -+exclude = ["/ci/*", "/.travis.yml", "/appveyor.yml"] +-[dependencies.rustc-std-workspace-core] +-version = "1.0.0" +-optional = true [features] align = [] + default = ["use_std"] +-rustc-dep-of-std = ["align", "rustc-std-workspace-core"] + use_std = [] + [badges.appveyor] + project_name = "rust-lang-libs/libc" diff --git a/rust-libc.spec b/rust-libc.spec index 636b414..914661d 100644 --- a/rust-libc.spec +++ b/rust-libc.spec @@ -6,16 +6,16 @@ %global crate libc Name: rust-%{crate} -Version: 0.2.43 -Release: 3%{?dist} +Version: 0.2.44 +Release: 1%{?dist} Summary: Library for types and bindings to native C functions -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/libc Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata -# * Exclude CI files, https://github.com/rust-lang/libc/pull/1107 +# * No rustc workspace hack Patch0: libc-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -96,6 +96,9 @@ which use "use_std" feature of "%{crate}" crate. %endif %changelog +* Mon Nov 26 2018 Josh Stone - 0.2.44-1 +- Update to 0.2.44 + * Fri Oct 26 2018 Igor Gnatenko - 0.2.43-3 - Adapt to new packaging diff --git a/sources b/sources index f0d5271..7003c1e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libc-0.2.43.crate) = d53b9fc460c68ed77b9c1a23c093c927125c0946b5231c343cf239e706d859af42efc2c7a4b95fecb46ab6ea9dd8473f7de308176a7dbab18e220246c5a7a8fe +SHA512 (libc-0.2.44.crate) = fda87b206acb1a65be60784516c7d4f4aacb1ce53063e3c67a6a5335a02b3a7232867d11b0cdc574131d562fd98471df8bd0427cc5790c4add0556b2a090b284