Compare commits

...

9 Commits

Author SHA1 Message Date
Fedora Release Engineering c822edc27b Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
7 months ago
Fabio Valentini 4fe60488bf
Update to version 1.8.1; Fixes RHBZ#2283352
8 months ago
Fedora Release Engineering 29766550e1 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
1 year ago
Fabio Valentini b4859a3af6
Update to version 1.7.0; Fixes RHBZ#2256353
1 year ago
Fedora Release Engineering 2a43a5e280 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2 years ago
Fabio Valentini 0d4771a0c8
Update to version 1.6.1; Fixes RHBZ#2182940
2 years ago
Fabio Valentini d0d03a7747
Update to version 1.6.0; Fixes RHBZ#2167236
2 years ago
Fabio Valentini bc2924a374
Add missing runtime dependency on clang-libs
2 years ago
Fedora Release Engineering 222fced261 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2 years ago

4
.gitignore vendored

@ -20,3 +20,7 @@
/clang-sys-1.3.1.crate
/clang-sys-1.3.2.crate
/clang-sys-1.3.3.crate
/clang-sys-1.6.0.crate
/clang-sys-1.6.1.crate
/clang-sys-1.7.0.crate
/clang-sys-1.8.1.crate

@ -1,3 +0,0 @@
# rust-clang-sys
The rust-clang-sys package

Binary file not shown.

@ -1,10 +1,11 @@
--- 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"]
--- 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"
[package.metadata.docs.rs]
features = [
[dev-dependencies.tempfile]
-version = ">=3.0.0, <3.7.0"
+version = "3"
[build-dependencies.glob]
version = "0.3"

@ -1,11 +1,11 @@
# Generated by rust2rpm 22
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate clang-sys
Name: rust-clang-sys
Version: 1.4.0
Version: 1.8.1
Release: %autorelease
Summary: Rust bindings for libclang
@ -13,12 +13,11 @@ License: Apache-2.0
URL: https://crates.io/crates/clang-sys
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * exclude files that are only useful for upstream development
# * relax tempfile dev-dependency to allow building with 3.7+
Patch: clang-sys-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: clang-devel >= 3.5
%global _description %{expand:
Rust bindings for libclang.}
@ -131,6 +130,45 @@ 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_17_0-devel
Summary: %{summary}
BuildArch: noarch
Requires: clang-devel >= 17.0
%description -n %{name}+clang_17_0-devel %{_description}
This package contains library source intended for building other packages which
use the "clang_17_0" feature of the "%{crate}" crate.
%files -n %{name}+clang_17_0-devel
%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
Summary: %{summary}
BuildArch: noarch
@ -274,6 +312,18 @@ use the "clang_9_0" feature of the "%{crate}" crate.
%files -n %{name}+clang_9_0-devel
%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
Summary: %{summary}
BuildArch: noarch
@ -289,6 +339,7 @@ use the "libloading" feature of the "%{crate}" crate.
%package -n %{name}+runtime-devel
Summary: %{summary}
BuildArch: noarch
Requires: clang-libs
%description -n %{name}+runtime-devel %{_description}
@ -311,12 +362,11 @@ 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
%cargo_generate_buildrequires
echo 'clang-devel >= 3.5'
%build
%cargo_build

@ -1,41 +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

@ -0,0 +1,32 @@
[package]
cargo-toml-patch-comments = [
"relax tempfile dev-dependency to allow building with 3.7+",
]
[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"]
clang_17_0 = ["clang-devel >= 17.0"]
clang_18_0 = ["clang-devel >= 18.0"]

@ -1 +1 @@
SHA512 (clang-sys-1.3.3.crate) = fd922627ff66f9265aae30bf585bccab1efdea7f66b9fb95f45af0f316727bff7b791f36ef42010df5d8b3b474f36457fec03fdbb25c50cc8922c3b157387dc9
SHA512 (clang-sys-1.8.1.crate) = a68c426c20110fddb8bba07d6631517b0528fad45802e5a34a22561d7e6dad82dc5001387019a03f275e9a671b09ee0a06b6e86793c4fb4ec655700bb0f5e125

Loading…
Cancel
Save