Add missing runtime dependency on clang-libs

epel9
Fabio Valentini 2 years ago
parent 9c141d7293
commit db9ba2af9d
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,4 +1,4 @@
# Generated by rust2rpm 22 # Generated by rust2rpm 23
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
@ -16,8 +16,6 @@ Source: %{crates_source}
# * exclude files that are only useful for upstream development # * exclude files that are only useful for upstream development
Patch: clang-sys-fix-metadata.diff Patch: clang-sys-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21 BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
@ -118,19 +116,6 @@ use the "clang_14_0" feature of the "%{crate}" crate.
%files -n %{name}+clang_14_0-devel %files -n %{name}+clang_14_0-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+clang_15_0-devel
Summary: %{summary}
BuildArch: noarch
Requires: clang-devel >= 15.0
%description -n %{name}+clang_15_0-devel %{_description}
This package contains library source intended for building other packages which
use the "clang_15_0" feature of the "%{crate}" crate.
%files -n %{name}+clang_15_0-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+clang_3_5-devel %package -n %{name}+clang_3_5-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -289,6 +274,7 @@ use the "libloading" feature of the "%{crate}" crate.
%package -n %{name}+runtime-devel %package -n %{name}+runtime-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
Requires: clang-libs
%description -n %{name}+runtime-devel %{_description} %description -n %{name}+runtime-devel %{_description}

@ -1,5 +1,6 @@
[DEFAULT] [DEFAULT]
unwanted-features = unwanted-features =
clang_15_0
clang_16_0 clang_16_0
buildrequires = buildrequires =
clang-devel >= 3.5 clang-devel >= 3.5
@ -37,5 +38,5 @@ lib+clang_13_0.requires =
clang-devel >= 13.0 clang-devel >= 13.0
lib+clang_14_0.requires = lib+clang_14_0.requires =
clang-devel >= 14.0 clang-devel >= 14.0
lib+clang_15_0.requires = lib+runtime.requires =
clang-devel >= 15.0 clang-libs

Loading…
Cancel
Save