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.3.3/Cargo.toml 2022-07-16T14:22:07.714470+00:00
--- clang-sys-1.4.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ clang-sys-1.4.0/Cargo.toml 2022-10-05T11:38:27.045648+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 = ["clang_13_0", "runtime"]
[dependencies.glob]
features = [

@ -1,21 +1,20 @@
# Generated by rust2rpm 21
# Generated by rust2rpm 22
%bcond_without check
%global debug_package %{nil}
%global crate clang-sys
Name: rust-%{crate}
Version: 1.3.3
Name: rust-clang-sys
Version: 1.4.0
Release: %autorelease
Summary: Rust bindings for libclang
# Upstream license specification: Apache-2.0
License: ASL 2.0
License: Apache-2.0
URL: https://crates.io/crates/clang-sys
Source: %{crates_source}
# Initial patched metadata
# * exclude unnecessary files
Patch0: clang-sys-fix-metadata.diff
# Manually created patch for downstream crate metadata changes
# * exclude files that are only useful for upstream development
Patch: clang-sys-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@ -106,6 +105,32 @@ use the "clang_13_0" feature of the "%{crate}" crate.
%files -n %{name}+clang_13_0-devel
%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
Summary: %{summary}
BuildArch: noarch

@ -1,4 +1,6 @@
[DEFAULT]
unwanted-features =
clang_16_0
buildrequires =
clang-devel >= 3.5
lib+default.requires =
@ -33,3 +35,7 @@ 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
Loading…
Cancel
Save