diff --git a/.gitignore b/.gitignore index a53ad06..2734833 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /clang-sys-0.29.2.crate /clang-sys-0.29.3.crate /clang-sys-1.0.3.crate +/clang-sys-1.1.0.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf index d3a102a..9d99a16 100644 --- a/.rust2rpm.conf +++ b/.rust2rpm.conf @@ -27,3 +27,5 @@ 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 diff --git a/clang-sys-fix-metadata.diff b/clang-sys-fix-metadata.diff index 2d8191f..fe88880 100644 --- a/clang-sys-fix-metadata.diff +++ b/clang-sys-fix-metadata.diff @@ -1,5 +1,5 @@ ---- clang-sys-1.0.3/Cargo.toml 2020-11-19T10:46:33+00:00 -+++ clang-sys-1.0.3/Cargo.toml 2020-11-27T22:43:53.920534+00:00 +--- clang-sys-1.1.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ clang-sys-1.1.0/Cargo.toml 2021-02-10T18:59:37.290087+00: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 d5da896..6eaf55b 100644 --- a/rust-clang-sys.spec +++ b/rust-clang-sys.spec @@ -5,8 +5,8 @@ %global crate clang-sys Name: rust-%{crate} -Version: 1.0.3 -Release: 2%{?dist} +Version: 1.1.0 +Release: 1%{?dist} Summary: Rust bindings for libclang # Upstream license specification: Apache-2.0 @@ -70,6 +70,19 @@ which use "clang_10_0" feature of "%{crate}" crate. %files -n %{name}+clang_10_0-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+clang_11_0-devel +Summary: %{summary} +BuildArch: noarch +Requires: clang-devel >= 11.0 + +%description -n %{name}+clang_11_0-devel %{_description} + +This package contains library source intended for building other packages +which use "clang_11_0" feature of "%{crate}" crate. + +%files -n %{name}+clang_11_0-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+clang_3_5-devel Summary: %{summary} BuildArch: noarch @@ -268,6 +281,9 @@ which use "static" feature of "%{crate}" crate. %endif %changelog +* Wed Feb 10 2021 Fabio Valentini - 1.1.0-1 +- Update to version 1.1.0. + * Wed Jan 27 2021 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 33a919b..d60e5a9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (clang-sys-1.0.3.crate) = e31bf0ae28f1e8c516fe2558b1ea8a46b925ddcbf4963d1e598c668331b65b139927bff58dc3ff3a80f9e258f69af2893d24ec3977cbb9f5e440a344eaf150c8 +SHA512 (clang-sys-1.1.0.crate) = fca71df569e39b076fd9bf51e0f3d9aeed4d057d08cd1e6d25b7ace41fae20412215402a051e14bedeb38856345a4b5d97567be32ff0e28da1df64c9612c4f6a