|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 16
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate clang-sys
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.29.3
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.0.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Rust bindings for libclang
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0
|
|
|
|
@ -15,7 +15,6 @@ URL: https://crates.io/crates/clang-sys
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Exclude unneeded files
|
|
|
|
|
# * Bump to libloading 0.6
|
|
|
|
|
Patch0: clang-sys-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
@ -24,6 +23,7 @@ BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: clang-devel >= 3.5
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Rust bindings for libclang.}
|
|
|
|
@ -57,6 +57,19 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+clang_10_0-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 10.0
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clang_10_0-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "clang_10_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+clang_10_0-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+clang_3_5-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -73,6 +86,7 @@ which use "clang_3_5" feature of "%{crate}" crate.
|
|
|
|
|
%package -n %{name}+clang_3_6-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 3.6
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clang_3_6-devel %{_description}
|
|
|
|
|
|
|
|
|
@ -85,6 +99,7 @@ which use "clang_3_6" feature of "%{crate}" crate.
|
|
|
|
|
%package -n %{name}+clang_3_7-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 3.7
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clang_3_7-devel %{_description}
|
|
|
|
|
|
|
|
|
@ -97,6 +112,7 @@ which use "clang_3_7" feature of "%{crate}" crate.
|
|
|
|
|
%package -n %{name}+clang_3_8-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 3.8
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clang_3_8-devel %{_description}
|
|
|
|
|
|
|
|
|
@ -109,6 +125,7 @@ which use "clang_3_8" feature of "%{crate}" crate.
|
|
|
|
|
%package -n %{name}+clang_3_9-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 3.9
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clang_3_9-devel %{_description}
|
|
|
|
|
|
|
|
|
@ -121,6 +138,7 @@ which use "clang_3_9" feature of "%{crate}" crate.
|
|
|
|
|
%package -n %{name}+clang_4_0-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 4.0
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clang_4_0-devel %{_description}
|
|
|
|
|
|
|
|
|
@ -133,6 +151,7 @@ which use "clang_4_0" feature of "%{crate}" crate.
|
|
|
|
|
%package -n %{name}+clang_5_0-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 5.0
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clang_5_0-devel %{_description}
|
|
|
|
|
|
|
|
|
@ -145,6 +164,7 @@ which use "clang_5_0" feature of "%{crate}" crate.
|
|
|
|
|
%package -n %{name}+clang_6_0-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 6.0
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clang_6_0-devel %{_description}
|
|
|
|
|
|
|
|
|
@ -157,6 +177,7 @@ which use "clang_6_0" feature of "%{crate}" crate.
|
|
|
|
|
%package -n %{name}+clang_7_0-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 7.0
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clang_7_0-devel %{_description}
|
|
|
|
|
|
|
|
|
@ -169,6 +190,7 @@ which use "clang_7_0" feature of "%{crate}" crate.
|
|
|
|
|
%package -n %{name}+clang_8_0-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 8.0
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clang_8_0-devel %{_description}
|
|
|
|
|
|
|
|
|
@ -181,6 +203,7 @@ which use "clang_8_0" feature of "%{crate}" crate.
|
|
|
|
|
%package -n %{name}+clang_9_0-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 9.0
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clang_9_0-devel %{_description}
|
|
|
|
|
|
|
|
|
@ -190,135 +213,6 @@ which use "clang_9_0" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+clang_9_0-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_3_6-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 3.6
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_3_6-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "gte_clang_3_6" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_3_6-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_3_7-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 3.7
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_3_7-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "gte_clang_3_7" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_3_7-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_3_8-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 3.8
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_3_8-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "gte_clang_3_8" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_3_8-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_3_9-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 3.9
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_3_9-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "gte_clang_3_9" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_3_9-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_4_0-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 4.0
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_4_0-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "gte_clang_4_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_4_0-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_5_0-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 5.0
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_5_0-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "gte_clang_5_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_5_0-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_6_0-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 6.0
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_6_0-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "gte_clang_6_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_6_0-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_7_0-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 7.0
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_7_0-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "gte_clang_7_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_7_0-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_8_0-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: clang-devel >= 8.0
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_8_0-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "gte_clang_8_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_8_0-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gte_clang_9_0-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+gte_clang_9_0-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "gte_clang_9_0" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+gte_clang_9_0-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+libloading-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -361,7 +255,6 @@ which use "static" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
echo 'clang-devel >= 3.5'
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
@ -375,6 +268,9 @@ echo 'clang-devel >= 3.5'
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Nov 27 2020 Fabio Valentini <decathorpe@gmail.com> - 1.0.3-1
|
|
|
|
|
- Update to version 1.0.3.
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|