Update to version 1.4.0; Fixes RHBZ#2129037

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

Binary file not shown.

@ -1,10 +1,10 @@
--- clang-sys-1.3.3/Cargo.toml 1970-01-01T00:00:01+00:00 --- clang-sys-1.4.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ clang-sys-1.3.3/Cargo.toml 2022-07-16T14:22:07.714470+00:00 +++ clang-sys-1.4.0/Cargo.toml 2022-10-05T11:38:27.045648+00:00
@@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
readme = "README.md" readme = "README.md"
license = "Apache-2.0" license = "Apache-2.0"
repository = "https://github.com/KyleMayes/clang-sys" repository = "https://github.com/KyleMayes/clang-sys"
+exclude = ["/clippy.toml"] +exclude = ["/clippy.toml"]
[package.metadata.docs.rs] [package.metadata.docs.rs]
features = ["clang_13_0", "runtime"] features = [
[dependencies.glob]

@ -1,21 +1,20 @@
# Generated by rust2rpm 21 # Generated by rust2rpm 22
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate clang-sys %global crate clang-sys
Name: rust-%{crate} Name: rust-clang-sys
Version: 1.3.3 Version: 1.4.0
Release: %autorelease Release: %autorelease
Summary: Rust bindings for libclang Summary: Rust bindings for libclang
# Upstream license specification: Apache-2.0 License: Apache-2.0
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 # Manually created patch for downstream crate metadata changes
# * exclude unnecessary files # * exclude files that are only useful for upstream development
Patch0: clang-sys-fix-metadata.diff Patch: clang-sys-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
@ -106,6 +105,32 @@ use the "clang_13_0" feature of the "%{crate}" crate.
%files -n %{name}+clang_13_0-devel %files -n %{name}+clang_13_0-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+clang_14_0-devel
Summary: %{summary}
BuildArch: noarch
Requires: clang-devel >= 14.0
%description -n %{name}+clang_14_0-devel %{_description}
This package contains library source intended for building other packages which
use the "clang_14_0" feature of the "%{crate}" crate.
%files -n %{name}+clang_14_0-devel
%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,4 +1,6 @@
[DEFAULT] [DEFAULT]
unwanted-features =
clang_16_0
buildrequires = buildrequires =
clang-devel >= 3.5 clang-devel >= 3.5
lib+default.requires = lib+default.requires =
@ -33,3 +35,7 @@ lib+clang_12_0.requires =
clang-devel >= 12.0 clang-devel >= 12.0
lib+clang_13_0.requires = lib+clang_13_0.requires =
clang-devel >= 13.0 clang-devel >= 13.0
lib+clang_14_0.requires =
clang-devel >= 14.0
lib+clang_15_0.requires =
clang-devel >= 15.0
Loading…
Cancel
Save