reintroduce accidentally removed "align" feature

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

@ -1,6 +1,6 @@
--- 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,12 @@
@@ -24,16 +24,11 @@
categories = ["external-ffi-bindings", "no-std", "os"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/libc"
@ -9,7 +9,7 @@
-optional = true
[features]
-align = []
align = []
-const-extern-fn = []
default = ["std"]
extra_traits = []

@ -6,13 +6,17 @@
Name: rust-%{crate}
Version: 0.2.80
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Raw FFI bindings to platform libraries like libc
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/libc
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}
%if %{__cargo_skip_build}
@ -53,16 +57,16 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+const-extern-fn-devel
%package -n %{name}+align-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+const-extern-fn-devel %{_description}
%description -n %{name}+align-devel %{_description}
This package contains library source intended for building other packages
which use "const-extern-fn" feature of "%{crate}" crate.
which use "align" feature of "%{crate}" crate.
%files -n %{name}+const-extern-fn-devel
%files -n %{name}+align-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+extra_traits-devel
@ -121,6 +125,9 @@ echo 'glibc-devel'
%endif
%changelog
* Wed Nov 11 2020 Fabio Valentini <decathorpe@gmail.com> - 0.2.80-2
- Reintroduce accidentally removed "align" feature.
* Wed Nov 04 2020 Fabio Valentini <decathorpe@gmail.com> - 0.2.80-1
- Update to version 0.2.80.
- Remove nightly-only and compiler-internal features and dependencies

Loading…
Cancel
Save