diff --git a/.gitignore b/.gitignore index 46b71d6..050bffe 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /libc-0.2.46.crate /libc-0.2.47.crate /libc-0.2.48.crate +/libc-0.2.49.crate diff --git a/libc-fix-metadata.diff b/libc-fix-metadata.diff index c8ec6c5..450f85d 100644 --- a/libc-fix-metadata.diff +++ b/libc-fix-metadata.diff @@ -1,6 +1,6 @@ ---- libc-0.2.45/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ libc-0.2.45/Cargo.toml 2018-12-10T13:48:04.205201-08:00 -@@ -24,14 +24,10 @@ +--- libc-0.2.49/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ libc-0.2.49/Cargo.toml 2019-02-22T14:37:30.558110-08:00 +@@ -24,15 +24,11 @@ categories = ["external-ffi-bindings", "no-std", "os"] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/libc" @@ -11,6 +11,7 @@ [features] align = [] default = ["use_std"] + extra_traits = [] -rustc-dep-of-std = ["align", "rustc-std-workspace-core"] use_std = [] [badges.appveyor] diff --git a/rust-libc.spec b/rust-libc.spec index d8a78fd..bd5c026 100644 --- a/rust-libc.spec +++ b/rust-libc.spec @@ -6,14 +6,14 @@ %global crate libc Name: rust-%{crate} -Version: 0.2.48 -Release: 2%{?dist} +Version: 0.2.49 +Release: 1%{?dist} Summary: Library for types and bindings to native C functions # 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 +Source: %{crates_source} # Initial patched metadata # * No rustc workspace hack Patch0: libc-fix-metadata.diff @@ -68,6 +68,18 @@ which use "align" feature of "%{crate}" crate. %files -n %{name}+align-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+extra_traits-devel +Summary: %{summary} +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. + +%files -n %{name}+extra_traits-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+use_std-devel Summary: %{summary} BuildArch: noarch @@ -81,7 +93,7 @@ which use "use_std" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -96,6 +108,9 @@ which use "use_std" feature of "%{crate}" crate. %endif %changelog +* Fri Feb 22 2019 Josh Stone - 0.2.49-1 +- Update to 0.2.49 + * Sat Feb 02 2019 Fedora Release Engineering - 0.2.48-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 0c0fb39..9c94681 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libc-0.2.48.crate) = 3ca3482cbdf8a031c6dfbc063537cee95b1735f8224baaad562f29279554ffd17999bb02c5ca54b25c845f63e70868b76d5d4123dcfa65d86d6e466527f4ce99 +SHA512 (libc-0.2.49.crate) = 2a337c4574a226c600593ae7c78b7aa8da34881e0002872a362f34fc10e8b667d9425bbce8a39486c605f35676e43dc02717e2da68300da98e4e3728fb7056a1