Update to version 1.6.1; Fixes RHBZ#2182940

epel9
Fabio Valentini 2 years ago
parent 3ecbbf0dc8
commit 61ac92310a
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -21,3 +21,4 @@
/clang-sys-1.3.2.crate /clang-sys-1.3.2.crate
/clang-sys-1.3.3.crate /clang-sys-1.3.3.crate
/clang-sys-1.6.0.crate /clang-sys-1.6.0.crate
/clang-sys-1.6.1.crate

@ -1,10 +0,0 @@
--- clang-sys-1.6.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ clang-sys-1.6.0/Cargo.toml 2023-02-23T15:25:42.991764+00:00
@@ -20,6 +20,7 @@
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/KyleMayes/clang-sys"
+exclude = ["/clippy.toml"]
[package.metadata.docs.rs]
features = [

@ -5,16 +5,13 @@
%global crate clang-sys %global crate clang-sys
Name: rust-clang-sys Name: rust-clang-sys
Version: 1.6.0 Version: 1.6.1
Release: %autorelease Release: %autorelease
Summary: Rust bindings for libclang Summary: Rust bindings for libclang
License: Apache-2.0 License: Apache-2.0
URL: https://crates.io/crates/clang-sys URL: https://crates.io/crates/clang-sys
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * exclude files that are only useful for upstream development
Patch: clang-sys-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: rust-packaging >= 21
@ -116,6 +113,19 @@ 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

@ -1,6 +1,5 @@
[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
@ -38,5 +37,7 @@ 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 =
clang-devel >= 15.0
lib+runtime.requires = lib+runtime.requires =
clang-libs clang-libs

@ -1 +1 @@
SHA512 (clang-sys-1.6.0.crate) = 0cceba8835b7c2108c5be6124aeb36130da759e9e05fe34c04528c9fa3f14826af2ec003ff8232ef789a740ff39635007cade54833c0ce30869ab3f2bb9560ef SHA512 (clang-sys-1.6.1.crate) = a6c62c1d3faae3796f5e7d98ed4f1a8119f0ffaf8fceee8e728cd4da57b0140e82631012450bb0c551cd13814a97065e9e47015320707a87bdfbb6fd317e952c

Loading…
Cancel
Save