Update to version 1.7.0; Fixes RHBZ#2256353

epel9 imports/e9/rust-clang-sys-1.7.0-1.el9
Fabio Valentini 1 year ago
parent 61ac92310a
commit 8d2fbedbff
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -22,3 +22,4 @@
/clang-sys-1.3.3.crate
/clang-sys-1.6.0.crate
/clang-sys-1.6.1.crate
/clang-sys-1.7.0.crate

@ -1,11 +1,11 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate clang-sys
Name: rust-clang-sys
Version: 1.6.1
Version: 1.7.0
Release: %autorelease
Summary: Rust bindings for libclang
@ -13,7 +13,7 @@ License: Apache-2.0
URL: https://crates.io/crates/clang-sys
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Rust bindings for libclang.}
@ -126,6 +126,19 @@ 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_16_0-devel
Summary: %{summary}
BuildArch: noarch
Requires: clang-devel >= 16.0
%description -n %{name}+clang_16_0-devel %{_description}
This package contains library source intended for building other packages which
use the "clang_16_0" feature of the "%{crate}" crate.
%files -n %{name}+clang_16_0-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+clang_3_5-devel
Summary: %{summary}
BuildArch: noarch
@ -307,7 +320,7 @@ use the "static" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

@ -1,43 +0,0 @@
[DEFAULT]
unwanted-features =
clang_16_0
buildrequires =
clang-devel >= 3.5
lib+default.requires =
clang-devel >= 3.5
lib+clang_3_5.requires =
clang-devel >= 3.5
lib+clang_3_6.requires =
clang-devel >= 3.6
lib+clang_3_7.requires =
clang-devel >= 3.7
lib+clang_3_8.requires =
clang-devel >= 3.8
lib+clang_3_9.requires =
clang-devel >= 3.9
lib+clang_4_0.requires =
clang-devel >= 4.0
lib+clang_5_0.requires =
clang-devel >= 5.0
lib+clang_6_0.requires =
clang-devel >= 6.0
lib+clang_7_0.requires =
clang-devel >= 7.0
lib+clang_8_0.requires =
clang-devel >= 8.0
lib+clang_9_0.requires =
clang-devel >= 9.0
lib+clang_10_0.requires =
clang-devel >= 10.0
lib+clang_11_0.requires =
clang-devel >= 11.0
lib+clang_12_0.requires =
clang-devel >= 12.0
lib+clang_13_0.requires =
clang-devel >= 13.0
lib+clang_14_0.requires =
clang-devel >= 14.0
lib+clang_15_0.requires =
clang-devel >= 15.0
lib+runtime.requires =
clang-libs

@ -0,0 +1,28 @@
[features]
hide = ["clang_17_0"]
[requires]
build = ["clang-devel >= 3.5"]
[requires.features]
default = ["clang-devel >= 3.5"]
runtime = ["clang-libs"]
clang_3_5 = ["clang-devel >= 3.5"]
clang_3_6 = ["clang-devel >= 3.6"]
clang_3_7 = ["clang-devel >= 3.7"]
clang_3_8 = ["clang-devel >= 3.8"]
clang_3_9 = ["clang-devel >= 3.9"]
clang_4_0 = ["clang-devel >= 4.0"]
clang_5_0 = ["clang-devel >= 5.0"]
clang_6_0 = ["clang-devel >= 6.0"]
clang_7_0 = ["clang-devel >= 7.0"]
clang_8_0 = ["clang-devel >= 8.0"]
clang_9_0 = ["clang-devel >= 9.0"]
clang_10_0 = ["clang-devel >= 10.0"]
clang_11_0 = ["clang-devel >= 11.0"]
clang_12_0 = ["clang-devel >= 12.0"]
clang_13_0 = ["clang-devel >= 13.0"]
clang_14_0 = ["clang-devel >= 14.0"]
clang_15_0 = ["clang-devel >= 15.0"]
clang_16_0 = ["clang-devel >= 16.0"]

@ -1 +1 @@
SHA512 (clang-sys-1.6.1.crate) = a6c62c1d3faae3796f5e7d98ed4f1a8119f0ffaf8fceee8e728cd4da57b0140e82631012450bb0c551cd13814a97065e9e47015320707a87bdfbb6fd317e952c
SHA512 (clang-sys-1.7.0.crate) = e544984d5bd76824ea2093f43f98b59a99e1ca8a5de40e49164b870ed4a91a530f3492faf0678190b91e74aa5d122bdbb32c649998d0ce24912dfb0b83ed6b81

Loading…
Cancel
Save