|
|
|
@ -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
|
|
|
|
|