Update to version 1.8.1; Fixes RHBZ#2283352

epel10
Fabio Valentini 8 months ago
parent 29766550e1
commit 4fe60488bf
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -23,3 +23,4 @@
/clang-sys-1.6.0.crate /clang-sys-1.6.0.crate
/clang-sys-1.6.1.crate /clang-sys-1.6.1.crate
/clang-sys-1.7.0.crate /clang-sys-1.7.0.crate
/clang-sys-1.8.1.crate

@ -0,0 +1,11 @@
--- clang-sys-1.8.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ clang-sys-1.8.1/Cargo.toml 2024-06-10T17:21:16.762166+00:00
@@ -46,7 +46,7 @@
version = "1"
[dev-dependencies.tempfile]
-version = ">=3.0.0, <3.7.0"
+version = "3"
[build-dependencies.glob]
version = "0.3"

@ -1,19 +1,23 @@
# Generated by rust2rpm 25 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate clang-sys %global crate clang-sys
Name: rust-clang-sys Name: rust-clang-sys
Version: 1.7.0 Version: 1.8.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
# * relax tempfile dev-dependency to allow building with 3.7+
Patch: clang-sys-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-rpm-macros >= 24
BuildRequires: clang-devel >= 3.5
%global _description %{expand: %global _description %{expand:
Rust bindings for libclang.} Rust bindings for libclang.}
@ -152,6 +156,19 @@ use the "clang_17_0" feature of the "%{crate}" crate.
%files -n %{name}+clang_17_0-devel %files -n %{name}+clang_17_0-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+clang_18_0-devel
Summary: %{summary}
BuildArch: noarch
Requires: clang-devel >= 18.0
%description -n %{name}+clang_18_0-devel %{_description}
This package contains library source intended for building other packages which
use the "clang_18_0" feature of the "%{crate}" crate.
%files -n %{name}+clang_18_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
@ -295,6 +312,18 @@ use the "clang_9_0" feature of the "%{crate}" crate.
%files -n %{name}+clang_9_0-devel %files -n %{name}+clang_9_0-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+libcpp-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+libcpp-devel %{_description}
This package contains library source intended for building other packages which
use the "libcpp" feature of the "%{crate}" crate.
%files -n %{name}+libcpp-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+libloading-devel %package -n %{name}+libloading-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -338,7 +367,6 @@ use the "static" feature of the "%{crate}" crate.
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires
echo 'clang-devel >= 3.5'
%build %build
%cargo_build %cargo_build

@ -1,3 +1,8 @@
[package]
cargo-toml-patch-comments = [
"relax tempfile dev-dependency to allow building with 3.7+",
]
[requires] [requires]
build = ["clang-devel >= 3.5"] build = ["clang-devel >= 3.5"]
@ -23,4 +28,5 @@ clang_14_0 = ["clang-devel >= 14.0"]
clang_15_0 = ["clang-devel >= 15.0"] clang_15_0 = ["clang-devel >= 15.0"]
clang_16_0 = ["clang-devel >= 16.0"] clang_16_0 = ["clang-devel >= 16.0"]
clang_17_0 = ["clang-devel >= 17.0"] clang_17_0 = ["clang-devel >= 17.0"]
clang_18_0 = ["clang-devel >= 18.0"]

@ -1 +1 @@
SHA512 (clang-sys-1.7.0.crate) = e544984d5bd76824ea2093f43f98b59a99e1ca8a5de40e49164b870ed4a91a530f3492faf0678190b91e74aa5d122bdbb32c649998d0ce24912dfb0b83ed6b81 SHA512 (clang-sys-1.8.1.crate) = a68c426c20110fddb8bba07d6631517b0528fad45802e5a34a22561d7e6dad82dc5001387019a03f275e9a671b09ee0a06b6e86793c4fb4ec655700bb0f5e125

Loading…
Cancel
Save