|
|
@ -5,7 +5,7 @@
|
|
|
|
%global crate clang-sys
|
|
|
|
%global crate clang-sys
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 1.2.2
|
|
|
|
Version: 1.3.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Rust bindings for libclang
|
|
|
|
Summary: Rust bindings for libclang
|
|
|
|
|
|
|
|
|
|
|
@ -14,7 +14,7 @@ License: ASL 2.0
|
|
|
|
URL: https://crates.io/crates/clang-sys
|
|
|
|
URL: https://crates.io/crates/clang-sys
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
# * Exclude unneeded files
|
|
|
|
# * exclude unnecessary files
|
|
|
|
Patch0: clang-sys-fix-metadata.diff
|
|
|
|
Patch0: clang-sys-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
@ -82,6 +82,32 @@ which use "clang_11_0" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+clang_11_0-devel
|
|
|
|
%files -n %{name}+clang_11_0-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+clang_12_0-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: clang-devel >= 12.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clang_12_0-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "clang_12_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+clang_12_0-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+clang_13_0-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: clang-devel >= 13.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clang_13_0-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "clang_13_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+clang_13_0-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+clang_3_5-devel
|
|
|
|
%package -n %{name}+clang_3_5-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|