|
|
80ca916 |
# Generated by rust2rpm 16
|
|
|
80ca916 |
%bcond_without check
|
|
|
4424d93 |
%global debug_package %{nil}
|
|
|
4424d93 |
|
|
|
4424d93 |
%global crate clang-sys
|
|
|
4424d93 |
|
|
|
4424d93 |
Name: rust-%{crate}
|
|
|
80ca916 |
Version: 1.0.3
|
|
|
80ca916 |
Release: 1%{?dist}
|
|
|
4424d93 |
Summary: Rust bindings for libclang
|
|
|
4424d93 |
|
|
|
4424d93 |
# Upstream license specification: Apache-2.0
|
|
|
4424d93 |
License: ASL 2.0
|
|
|
4424d93 |
URL: https://crates.io/crates/clang-sys
|
|
|
cfb8751 |
Source: %{crates_source}
|
|
|
4424d93 |
# Initial patched metadata
|
|
|
4424d93 |
# * Exclude unneeded files
|
|
|
4424d93 |
Patch0: clang-sys-fix-metadata.diff
|
|
|
4424d93 |
|
|
|
4424d93 |
ExclusiveArch: %{rust_arches}
|
|
|
de85f36 |
%if %{__cargo_skip_build}
|
|
|
de85f36 |
BuildArch: noarch
|
|
|
de85f36 |
%endif
|
|
|
4424d93 |
|
|
|
4424d93 |
BuildRequires: rust-packaging
|
|
|
80ca916 |
BuildRequires: clang-devel >= 3.5
|
|
|
4424d93 |
|
|
|
de85f36 |
%global _description %{expand:
|
|
|
de85f36 |
Rust bindings for libclang.}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%description %{_description}
|
|
|
4424d93 |
|
|
|
4424d93 |
%package devel
|
|
|
4424d93 |
Summary: %{summary}
|
|
|
7773fd5 |
BuildArch: noarch
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%description devel %{_description}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
This package contains library source intended for building other packages
|
|
|
7773fd5 |
which use "%{crate}" crate.
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%files devel
|
|
|
7773fd5 |
%license LICENSE.txt
|
|
|
7773fd5 |
%doc README.md CHANGELOG.md
|
|
|
343a05d |
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%package -n %{name}+default-devel
|
|
|
7773fd5 |
Summary: %{summary}
|
|
|
7773fd5 |
BuildArch: noarch
|
|
|
4424d93 |
Requires: clang-devel >= 3.5
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%description -n %{name}+default-devel %{_description}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
This package contains library source intended for building other packages
|
|
|
7773fd5 |
which use "default" feature of "%{crate}" crate.
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%files -n %{name}+default-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
7773fd5 |
|
|
|
80ca916 |
%package -n %{name}+clang_10_0-devel
|
|
|
80ca916 |
Summary: %{summary}
|
|
|
80ca916 |
BuildArch: noarch
|
|
|
80ca916 |
Requires: clang-devel >= 10.0
|
|
|
80ca916 |
|
|
|
80ca916 |
%description -n %{name}+clang_10_0-devel %{_description}
|
|
|
80ca916 |
|
|
|
80ca916 |
This package contains library source intended for building other packages
|
|
|
80ca916 |
which use "clang_10_0" feature of "%{crate}" crate.
|
|
|
80ca916 |
|
|
|
80ca916 |
%files -n %{name}+clang_10_0-devel
|
|
|
80ca916 |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
80ca916 |
|
|
|
7773fd5 |
%package -n %{name}+clang_3_5-devel
|
|
|
7773fd5 |
Summary: %{summary}
|
|
|
4424d93 |
BuildArch: noarch
|
|
|
7773fd5 |
Requires: clang-devel >= 3.5
|
|
|
4424d93 |
|
|
|
7773fd5 |
%description -n %{name}+clang_3_5-devel %{_description}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
This package contains library source intended for building other packages
|
|
|
7773fd5 |
which use "clang_3_5" feature of "%{crate}" crate.
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%files -n %{name}+clang_3_5-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%package -n %{name}+clang_3_6-devel
|
|
|
7773fd5 |
Summary: %{summary}
|
|
|
7773fd5 |
BuildArch: noarch
|
|
|
80ca916 |
Requires: clang-devel >= 3.6
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%description -n %{name}+clang_3_6-devel %{_description}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
This package contains library source intended for building other packages
|
|
|
7773fd5 |
which use "clang_3_6" feature of "%{crate}" crate.
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%files -n %{name}+clang_3_6-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%package -n %{name}+clang_3_7-devel
|
|
|
7773fd5 |
Summary: %{summary}
|
|
|
7773fd5 |
BuildArch: noarch
|
|
|
80ca916 |
Requires: clang-devel >= 3.7
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%description -n %{name}+clang_3_7-devel %{_description}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
This package contains library source intended for building other packages
|
|
|
7773fd5 |
which use "clang_3_7" feature of "%{crate}" crate.
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%files -n %{name}+clang_3_7-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%package -n %{name}+clang_3_8-devel
|
|
|
7773fd5 |
Summary: %{summary}
|
|
|
7773fd5 |
BuildArch: noarch
|
|
|
80ca916 |
Requires: clang-devel >= 3.8
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%description -n %{name}+clang_3_8-devel %{_description}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
This package contains library source intended for building other packages
|
|
|
7773fd5 |
which use "clang_3_8" feature of "%{crate}" crate.
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%files -n %{name}+clang_3_8-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%package -n %{name}+clang_3_9-devel
|
|
|
7773fd5 |
Summary: %{summary}
|
|
|
7773fd5 |
BuildArch: noarch
|
|
|
80ca916 |
Requires: clang-devel >= 3.9
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%description -n %{name}+clang_3_9-devel %{_description}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
This package contains library source intended for building other packages
|
|
|
7773fd5 |
which use "clang_3_9" feature of "%{crate}" crate.
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%files -n %{name}+clang_3_9-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%package -n %{name}+clang_4_0-devel
|
|
|
7773fd5 |
Summary: %{summary}
|
|
|
7773fd5 |
BuildArch: noarch
|
|
|
80ca916 |
Requires: clang-devel >= 4.0
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%description -n %{name}+clang_4_0-devel %{_description}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
This package contains library source intended for building other packages
|
|
|
7773fd5 |
which use "clang_4_0" feature of "%{crate}" crate.
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%files -n %{name}+clang_4_0-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%package -n %{name}+clang_5_0-devel
|
|
|
7773fd5 |
Summary: %{summary}
|
|
|
7773fd5 |
BuildArch: noarch
|
|
|
80ca916 |
Requires: clang-devel >= 5.0
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%description -n %{name}+clang_5_0-devel %{_description}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
This package contains library source intended for building other packages
|
|
|
7773fd5 |
which use "clang_5_0" feature of "%{crate}" crate.
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%files -n %{name}+clang_5_0-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%package -n %{name}+clang_6_0-devel
|
|
|
7773fd5 |
Summary: %{summary}
|
|
|
7773fd5 |
BuildArch: noarch
|
|
|
80ca916 |
Requires: clang-devel >= 6.0
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%description -n %{name}+clang_6_0-devel %{_description}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
This package contains library source intended for building other packages
|
|
|
7773fd5 |
which use "clang_6_0" feature of "%{crate}" crate.
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%files -n %{name}+clang_6_0-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%package -n %{name}+clang_7_0-devel
|
|
|
7773fd5 |
Summary: %{summary}
|
|
|
7773fd5 |
BuildArch: noarch
|
|
|
80ca916 |
Requires: clang-devel >= 7.0
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%description -n %{name}+clang_7_0-devel %{_description}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
This package contains library source intended for building other packages
|
|
|
7773fd5 |
which use "clang_7_0" feature of "%{crate}" crate.
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%files -n %{name}+clang_7_0-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
7773fd5 |
|
|
|
cfb8751 |
%package -n %{name}+clang_8_0-devel
|
|
|
cfb8751 |
Summary: %{summary}
|
|
|
cfb8751 |
BuildArch: noarch
|
|
|
80ca916 |
Requires: clang-devel >= 8.0
|
|
|
cfb8751 |
|
|
|
cfb8751 |
%description -n %{name}+clang_8_0-devel %{_description}
|
|
|
cfb8751 |
|
|
|
cfb8751 |
This package contains library source intended for building other packages
|
|
|
cfb8751 |
which use "clang_8_0" feature of "%{crate}" crate.
|
|
|
cfb8751 |
|
|
|
cfb8751 |
%files -n %{name}+clang_8_0-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
343a05d |
|
|
|
343a05d |
%package -n %{name}+clang_9_0-devel
|
|
|
343a05d |
Summary: %{summary}
|
|
|
343a05d |
BuildArch: noarch
|
|
|
80ca916 |
Requires: clang-devel >= 9.0
|
|
|
343a05d |
|
|
|
343a05d |
%description -n %{name}+clang_9_0-devel %{_description}
|
|
|
343a05d |
|
|
|
343a05d |
This package contains library source intended for building other packages
|
|
|
343a05d |
which use "clang_9_0" feature of "%{crate}" crate.
|
|
|
343a05d |
|
|
|
343a05d |
%files -n %{name}+clang_9_0-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
cfb8751 |
|
|
|
7773fd5 |
%package -n %{name}+libloading-devel
|
|
|
7773fd5 |
Summary: %{summary}
|
|
|
7773fd5 |
BuildArch: noarch
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%description -n %{name}+libloading-devel %{_description}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
This package contains library source intended for building other packages
|
|
|
7773fd5 |
which use "libloading" feature of "%{crate}" crate.
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%files -n %{name}+libloading-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%package -n %{name}+runtime-devel
|
|
|
7773fd5 |
Summary: %{summary}
|
|
|
7773fd5 |
BuildArch: noarch
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%description -n %{name}+runtime-devel %{_description}
|
|
|
7773fd5 |
|
|
|
7773fd5 |
This package contains library source intended for building other packages
|
|
|
7773fd5 |
which use "runtime" feature of "%{crate}" crate.
|
|
|
7773fd5 |
|
|
|
7773fd5 |
%files -n %{name}+runtime-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
4424d93 |
|
|
|
cfb8751 |
%package -n %{name}+static-devel
|
|
|
cfb8751 |
Summary: %{summary}
|
|
|
cfb8751 |
BuildArch: noarch
|
|
|
cfb8751 |
|
|
|
cfb8751 |
%description -n %{name}+static-devel %{_description}
|
|
|
cfb8751 |
|
|
|
cfb8751 |
This package contains library source intended for building other packages
|
|
|
cfb8751 |
which use "static" feature of "%{crate}" crate.
|
|
|
cfb8751 |
|
|
|
cfb8751 |
%files -n %{name}+static-devel
|
|
|
343a05d |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
cfb8751 |
|
|
|
4424d93 |
%prep
|
|
|
cfb8751 |
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
4424d93 |
%cargo_prep
|
|
|
4424d93 |
|
|
|
de85f36 |
%generate_buildrequires
|
|
|
de85f36 |
%cargo_generate_buildrequires
|
|
|
de85f36 |
|
|
|
4424d93 |
%build
|
|
|
4424d93 |
%cargo_build
|
|
|
4424d93 |
|
|
|
4424d93 |
%install
|
|
|
4424d93 |
%cargo_install
|
|
|
4424d93 |
|
|
|
4424d93 |
%if %{with check}
|
|
|
4424d93 |
%check
|
|
|
4424d93 |
%cargo_test
|
|
|
4424d93 |
%endif
|
|
|
4424d93 |
|
|
|
4424d93 |
%changelog
|
|
|
80ca916 |
* Fri Nov 27 2020 Fabio Valentini <decathorpe@gmail.com> - 1.0.3-1
|
|
|
80ca916 |
- Update to version 1.0.3.
|
|
|
80ca916 |
|
|
|
4254495 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.3-3
|
|
|
4254495 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
4254495 |
|
|
|
cd3ce5b |
* Fri May 29 2020 Josh Stone <jistone@redhat.com> - 0.29.3-2
|
|
|
cd3ce5b |
- Bump to libloading 0.6
|
|
|
cd3ce5b |
|
|
|
568e406 |
* Wed Apr 01 2020 Josh Stone <jistone@redhat.com> - 0.29.3-1
|
|
|
568e406 |
- Update to 0.29.3
|
|
|
568e406 |
|
|
|
95b4b69 |
* Wed Mar 11 2020 Josh Stone <jistone@redhat.com> - 0.29.2-2
|
|
|
95b4b69 |
- Rebuild
|
|
|
95b4b69 |
|
|
|
07ef09c |
* Tue Mar 10 2020 Josh Stone <jistone@redhat.com> - 0.29.2-1
|
|
|
07ef09c |
- Update to 0.29.2
|
|
|
07ef09c |
|
|
|
631ea83 |
* Fri Mar 06 2020 Josh Stone <jistone@redhat.com> - 0.29.1-1
|
|
|
631ea83 |
- Update to 0.29.1
|
|
|
631ea83 |
|
|
|
343a05d |
* Thu Mar 05 2020 Josh Stone <jistone@redhat.com> - 0.29.0-1
|
|
|
343a05d |
- Update to 0.29.0
|
|
|
343a05d |
|
|
|
df7fd53 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.1-2
|
|
|
df7fd53 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
df7fd53 |
|
|
|
de85f36 |
* Sat Nov 23 2019 Josh Stone <jistone@redhat.com> - 0.28.1-1
|
|
|
de85f36 |
- Update to 0.28.1
|
|
|
de85f36 |
|
|
|
f0f7e06 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.0-3
|
|
|
f0f7e06 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
f0f7e06 |
|
|
|
b1c8205 |
* Tue May 07 14:21:57 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.0-2
|
|
|
b1c8205 |
- Update glob to 0.3
|
|
|
b1c8205 |
|
|
|
cfb8751 |
* Sat Mar 16 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.28.0-1
|
|
|
cfb8751 |
- Update to 0.28.0 (#1678018)
|
|
|
cfb8751 |
|
|
|
bea98f8 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.27.0-2
|
|
|
bea98f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
bea98f8 |
|
|
|
581bb22 |
* Tue Jan 22 2019 Josh Stone <jistone@redhat.com> - 0.27.0-1
|
|
|
581bb22 |
- Update to 0.27.0
|
|
|
581bb22 |
|
|
|
cffbb7c |
* Mon Jan 07 2019 Josh Stone <jistone@redhat.com> - 0.26.4-1
|
|
|
cffbb7c |
- Update to 0.26.4
|
|
|
cffbb7c |
|
|
|
60271c6 |
* Wed Nov 14 2018 Josh Stone <jistone@redhat.com> - 0.26.3-1
|
|
|
60271c6 |
- Update to 0.26.3
|
|
|
60271c6 |
|
|
|
7773fd5 |
* Sun Nov 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.26.2-1
|
|
|
7773fd5 |
- Update to 0.26.2
|
|
|
7773fd5 |
|
|
|
22ed69c |
* Thu Oct 11 2018 Josh Stone <jistone@redhat.com> - 0.26.1-1
|
|
|
22ed69c |
- Update to 0.26.1
|
|
|
22ed69c |
|
|
|
16c4069 |
* Mon Oct 08 2018 Josh Stone <jistone@redhat.com> - 0.26.0-1
|
|
|
16c4069 |
- Update to 0.26.0
|
|
|
16c4069 |
|
|
|
4424d93 |
* Thu Oct 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.24.0-1
|
|
|
4424d93 |
- Initial package
|