diff --git a/.gitignore b/.gitignore index b0e33d2..5d6fb7f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /clang-sys-0.26.3.crate /clang-sys-0.26.4.crate /clang-sys-0.27.0.crate +/clang-sys-0.28.0.crate diff --git a/clang-sys-fix-metadata.diff b/clang-sys-fix-metadata.diff index 6a04a6d..cd4e62f 100644 --- a/clang-sys-fix-metadata.diff +++ b/clang-sys-fix-metadata.diff @@ -1,5 +1,5 @@ ---- clang-sys-0.26.2/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ clang-sys-0.26.2/Cargo.toml 2018-11-04T08:20:04.810931+01:00 +--- clang-sys-0.28.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ clang-sys-0.28.0/Cargo.toml 2019-03-16T22:51:08.284446+01:00 @@ -21,6 +21,7 @@ readme = "README.md" license = "Apache-2.0" diff --git a/rust-clang-sys.spec b/rust-clang-sys.spec index c94955d..bb2b662 100644 --- a/rust-clang-sys.spec +++ b/rust-clang-sys.spec @@ -5,14 +5,14 @@ %global crate clang-sys Name: rust-%{crate} -Version: 0.27.0 -Release: 2%{?dist} +Version: 0.28.0 +Release: 1%{?dist} Summary: Rust bindings for libclang # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: https://crates.io/crates/clang-sys -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * Exclude unneeded files Patch0: clang-sys-fix-metadata.diff @@ -57,18 +57,6 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml -%package -n %{name}+assert-minimum-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+assert-minimum-devel %{_description} - -This package contains library source intended for building other packages -which use "assert-minimum" feature of "%{crate}" crate. - -%files -n %{name}+assert-minimum-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml - %package -n %{name}+clang_3_5-devel Summary: %{summary} BuildArch: noarch @@ -178,6 +166,18 @@ which use "clang_7_0" feature of "%{crate}" crate. %files -n %{name}+clang_7_0-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+clang_8_0-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+clang_8_0-devel %{_description} + +This package contains library source intended for building other packages +which use "clang_8_0" feature of "%{crate}" crate. + +%files -n %{name}+clang_8_0-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+gte_clang_3_6-devel Summary: %{summary} BuildArch: noarch @@ -282,6 +282,19 @@ which use "gte_clang_7_0" feature of "%{crate}" crate. %files -n %{name}+gte_clang_7_0-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+gte_clang_8_0-devel +Summary: %{summary} +BuildArch: noarch +Requires: clang-devel >= 8.0 + +%description -n %{name}+gte_clang_8_0-devel %{_description} + +This package contains library source intended for building other packages +which use "gte_clang_8_0" feature of "%{crate}" crate. + +%files -n %{name}+gte_clang_8_0-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+libloading-devel Summary: %{summary} BuildArch: noarch @@ -306,8 +319,20 @@ which use "runtime" feature of "%{crate}" crate. %files -n %{name}+runtime-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+static-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+static-devel %{_description} + +This package contains library source intended for building other packages +which use "static" feature of "%{crate}" crate. + +%files -n %{name}+static-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -322,6 +347,9 @@ which use "runtime" feature of "%{crate}" crate. %endif %changelog +* Sat Mar 16 2019 Robert-André Mauchin - 0.28.0-1 +- Update to 0.28.0 (#1678018) + * Sat Feb 02 2019 Fedora Release Engineering - 0.27.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 6d8fc90..50d555a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (clang-sys-0.27.0.crate) = cf62c13af66bb5acc8d55e54df5af600721c579e69c19bfdd5cb9f49b33059bf3dba2a01ffbf2001b023ebb52eae64885f52aef30d8ac6f5b734a877757f142e +SHA512 (clang-sys-0.28.0.crate) = f55b5dc0aa595619e59f456970621c115aa629d9550b1e2d62c45d8c29f16e66b540b41fcc2bdb8160ead0272c73bd1cb0eb2a7d911f91737f95647d889a4fec