|
|
b5b0780 |
# Generated by rust2rpm 16
|
|
|
c513242 |
%bcond_without check
|
|
|
c513242 |
|
|
|
c513242 |
%global crate bindgen
|
|
|
c513242 |
|
|
|
c513242 |
Name: rust-%{crate}
|
|
|
b5b0780 |
Version: 0.56.0
|
|
|
a2736d6 |
Release: 2%{?dist}
|
|
|
2a2f3cb |
Summary: Automatically generates Rust FFI bindings to C and C++ libraries
|
|
|
c513242 |
|
|
|
c513242 |
# Upstream license specification: BSD-3-Clause
|
|
|
c513242 |
License: BSD
|
|
|
c513242 |
URL: https://crates.io/crates/bindgen
|
|
|
b4613ad |
Source: %{crates_source}
|
|
|
0667b01 |
# Initial patched metadata
|
|
|
0667b01 |
# * No "runtime" feature by default. We can afford linking directly to libclang
|
|
|
0667b01 |
# and rebuild it for each SONAME change. This just makes it better integrated
|
|
|
0667b01 |
# in distribution context.
|
|
|
b25d6e5 |
# * Bump which from 3.0 to 4.0
|
|
|
0667b01 |
Patch0: bindgen-fix-metadata.diff
|
|
|
c513242 |
|
|
|
c513242 |
ExclusiveArch: %{rust_arches}
|
|
|
8e0854a |
%if %{__cargo_skip_build}
|
|
|
8e0854a |
BuildArch: noarch
|
|
|
8e0854a |
%endif
|
|
|
c513242 |
|
|
|
c513242 |
BuildRequires: rust-packaging
|
|
|
c513242 |
|
|
|
2a2f3cb |
%global _description %{expand:
|
|
|
2a2f3cb |
Automatically generates Rust FFI bindings to C and C++ libraries.}
|
|
|
91a14a7 |
|
|
|
91a14a7 |
%description %{_description}
|
|
|
c513242 |
|
|
|
8e0854a |
%if ! %{__cargo_skip_build}
|
|
|
c513242 |
%package -n %{crate}
|
|
|
c513242 |
Summary: %{summary}
|
|
|
c513242 |
|
|
|
1b0751e |
%description -n %{crate} %{_description}
|
|
|
c513242 |
|
|
|
91a14a7 |
%files -n %{crate}
|
|
|
91a14a7 |
%license LICENSE
|
|
|
91a14a7 |
%doc README.md
|
|
|
91a14a7 |
%{_bindir}/bindgen
|
|
|
8e0854a |
%endif
|
|
|
91a14a7 |
|
|
|
c513242 |
%package devel
|
|
|
c513242 |
Summary: %{summary}
|
|
|
c513242 |
BuildArch: noarch
|
|
|
c513242 |
|
|
|
91a14a7 |
%description devel %{_description}
|
|
|
91a14a7 |
|
|
|
91a14a7 |
This package contains library source intended for building other packages
|
|
|
91a14a7 |
which use "%{crate}" crate.
|
|
|
91a14a7 |
|
|
|
91a14a7 |
%files devel
|
|
|
b6fe0bc |
%license LICENSE
|
|
|
91a14a7 |
%doc README.md
|
|
|
b6fe0bc |
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
b5b0780 |
%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/csmith-fuzzing/
|
|
|
91a14a7 |
|
|
|
91a14a7 |
%package -n %{name}+default-devel
|
|
|
91a14a7 |
Summary: %{summary}
|
|
|
91a14a7 |
BuildArch: noarch
|
|
|
91a14a7 |
|
|
|
91a14a7 |
%description -n %{name}+default-devel %{_description}
|
|
|
91a14a7 |
|
|
|
91a14a7 |
This package contains library source intended for building other packages
|
|
|
91a14a7 |
which use "default" feature of "%{crate}" crate.
|
|
|
91a14a7 |
|
|
|
91a14a7 |
%files -n %{name}+default-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
91a14a7 |
|
|
|
8e0854a |
%package -n %{name}+clap-devel
|
|
|
8e0854a |
Summary: %{summary}
|
|
|
8e0854a |
BuildArch: noarch
|
|
|
8e0854a |
|
|
|
8e0854a |
%description -n %{name}+clap-devel %{_description}
|
|
|
8e0854a |
|
|
|
8e0854a |
This package contains library source intended for building other packages
|
|
|
8e0854a |
which use "clap" feature of "%{crate}" crate.
|
|
|
8e0854a |
|
|
|
8e0854a |
%files -n %{name}+clap-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
8e0854a |
|
|
|
91a14a7 |
%package -n %{name}+env_logger-devel
|
|
|
91a14a7 |
Summary: %{summary}
|
|
|
91a14a7 |
BuildArch: noarch
|
|
|
91a14a7 |
|
|
|
91a14a7 |
%description -n %{name}+env_logger-devel %{_description}
|
|
|
c513242 |
|
|
|
c513242 |
This package contains library source intended for building other packages
|
|
|
91a14a7 |
which use "env_logger" feature of "%{crate}" crate.
|
|
|
91a14a7 |
|
|
|
91a14a7 |
%files -n %{name}+env_logger-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
91a14a7 |
|
|
|
91a14a7 |
%package -n %{name}+log-devel
|
|
|
91a14a7 |
Summary: %{summary}
|
|
|
91a14a7 |
BuildArch: noarch
|
|
|
91a14a7 |
|
|
|
91a14a7 |
%description -n %{name}+log-devel %{_description}
|
|
|
91a14a7 |
|
|
|
91a14a7 |
This package contains library source intended for building other packages
|
|
|
91a14a7 |
which use "log" feature of "%{crate}" crate.
|
|
|
91a14a7 |
|
|
|
91a14a7 |
%files -n %{name}+log-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
91a14a7 |
|
|
|
91a14a7 |
%package -n %{name}+logging-devel
|
|
|
91a14a7 |
Summary: %{summary}
|
|
|
91a14a7 |
BuildArch: noarch
|
|
|
91a14a7 |
|
|
|
91a14a7 |
%description -n %{name}+logging-devel %{_description}
|
|
|
91a14a7 |
|
|
|
91a14a7 |
This package contains library source intended for building other packages
|
|
|
91a14a7 |
which use "logging" feature of "%{crate}" crate.
|
|
|
91a14a7 |
|
|
|
91a14a7 |
%files -n %{name}+logging-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
c513242 |
|
|
|
634f6ae |
%package -n %{name}+runtime-devel
|
|
|
634f6ae |
Summary: %{summary}
|
|
|
634f6ae |
BuildArch: noarch
|
|
|
634f6ae |
|
|
|
634f6ae |
%description -n %{name}+runtime-devel %{_description}
|
|
|
634f6ae |
|
|
|
634f6ae |
This package contains library source intended for building other packages
|
|
|
634f6ae |
which use "runtime" feature of "%{crate}" crate.
|
|
|
634f6ae |
|
|
|
634f6ae |
%files -n %{name}+runtime-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
634f6ae |
|
|
|
b4613ad |
%package -n %{name}+static-devel
|
|
|
b4613ad |
Summary: %{summary}
|
|
|
b4613ad |
BuildArch: noarch
|
|
|
b4613ad |
|
|
|
b4613ad |
%description -n %{name}+static-devel %{_description}
|
|
|
b4613ad |
|
|
|
b4613ad |
This package contains library source intended for building other packages
|
|
|
b4613ad |
which use "static" feature of "%{crate}" crate.
|
|
|
b4613ad |
|
|
|
b4613ad |
%files -n %{name}+static-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
b4613ad |
|
|
|
2a2f3cb |
%package -n %{name}+testing_only_docs-devel
|
|
|
2a2f3cb |
Summary: %{summary}
|
|
|
2a2f3cb |
BuildArch: noarch
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%description -n %{name}+testing_only_docs-devel %{_description}
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
This package contains library source intended for building other packages
|
|
|
2a2f3cb |
which use "testing_only_docs" feature of "%{crate}" crate.
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%files -n %{name}+testing_only_docs-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%package -n %{name}+testing_only_extra_assertions-devel
|
|
|
2a2f3cb |
Summary: %{summary}
|
|
|
2a2f3cb |
BuildArch: noarch
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%description -n %{name}+testing_only_extra_assertions-devel %{_description}
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
This package contains library source intended for building other packages
|
|
|
2a2f3cb |
which use "testing_only_extra_assertions" feature of "%{crate}" crate.
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%files -n %{name}+testing_only_extra_assertions-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%package -n %{name}+testing_only_libclang_3_9-devel
|
|
|
2a2f3cb |
Summary: %{summary}
|
|
|
2a2f3cb |
BuildArch: noarch
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%description -n %{name}+testing_only_libclang_3_9-devel %{_description}
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
This package contains library source intended for building other packages
|
|
|
2a2f3cb |
which use "testing_only_libclang_3_9" feature of "%{crate}" crate.
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%files -n %{name}+testing_only_libclang_3_9-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%package -n %{name}+testing_only_libclang_4-devel
|
|
|
2a2f3cb |
Summary: %{summary}
|
|
|
2a2f3cb |
BuildArch: noarch
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%description -n %{name}+testing_only_libclang_4-devel %{_description}
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
This package contains library source intended for building other packages
|
|
|
2a2f3cb |
which use "testing_only_libclang_4" feature of "%{crate}" crate.
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%files -n %{name}+testing_only_libclang_4-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%package -n %{name}+testing_only_libclang_5-devel
|
|
|
2a2f3cb |
Summary: %{summary}
|
|
|
2a2f3cb |
BuildArch: noarch
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%description -n %{name}+testing_only_libclang_5-devel %{_description}
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
This package contains library source intended for building other packages
|
|
|
2a2f3cb |
which use "testing_only_libclang_5" feature of "%{crate}" crate.
|
|
|
2a2f3cb |
|
|
|
2a2f3cb |
%files -n %{name}+testing_only_libclang_5-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
2a2f3cb |
|
|
|
634f6ae |
%package -n %{name}+testing_only_libclang_9-devel
|
|
|
634f6ae |
Summary: %{summary}
|
|
|
634f6ae |
BuildArch: noarch
|
|
|
634f6ae |
|
|
|
634f6ae |
%description -n %{name}+testing_only_libclang_9-devel %{_description}
|
|
|
634f6ae |
|
|
|
634f6ae |
This package contains library source intended for building other packages
|
|
|
634f6ae |
which use "testing_only_libclang_9" feature of "%{crate}" crate.
|
|
|
634f6ae |
|
|
|
634f6ae |
%files -n %{name}+testing_only_libclang_9-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
634f6ae |
|
|
|
634f6ae |
%package -n %{name}+which-devel
|
|
|
634f6ae |
Summary: %{summary}
|
|
|
634f6ae |
BuildArch: noarch
|
|
|
634f6ae |
|
|
|
634f6ae |
%description -n %{name}+which-devel %{_description}
|
|
|
634f6ae |
|
|
|
634f6ae |
This package contains library source intended for building other packages
|
|
|
634f6ae |
which use "which" feature of "%{crate}" crate.
|
|
|
634f6ae |
|
|
|
634f6ae |
%files -n %{name}+which-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
634f6ae |
|
|
|
634f6ae |
%package -n %{name}+which-rustfmt-devel
|
|
|
634f6ae |
Summary: %{summary}
|
|
|
634f6ae |
BuildArch: noarch
|
|
|
634f6ae |
|
|
|
634f6ae |
%description -n %{name}+which-rustfmt-devel %{_description}
|
|
|
634f6ae |
|
|
|
634f6ae |
This package contains library source intended for building other packages
|
|
|
634f6ae |
which use "which-rustfmt" feature of "%{crate}" crate.
|
|
|
634f6ae |
|
|
|
634f6ae |
%files -n %{name}+which-rustfmt-devel
|
|
|
b6fe0bc |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
634f6ae |
|
|
|
c513242 |
%prep
|
|
|
b4613ad |
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
c513242 |
%cargo_prep
|
|
|
c513242 |
|
|
|
8e0854a |
%generate_buildrequires
|
|
|
8e0854a |
%cargo_generate_buildrequires
|
|
|
8e0854a |
|
|
|
c513242 |
%build
|
|
|
c513242 |
%cargo_build
|
|
|
c513242 |
|
|
|
c513242 |
%install
|
|
|
c513242 |
%cargo_install
|
|
|
c513242 |
|
|
|
c513242 |
%if %{with check}
|
|
|
c513242 |
%check
|
|
|
b5b0780 |
# skip a test that requires files not shipped with the published crate
|
|
|
b5b0780 |
%cargo_test -- -- --skip test::commandline_multiple_headers
|
|
|
c513242 |
%endif
|
|
|
c513242 |
|
|
|
c513242 |
%changelog
|
|
|
a2736d6 |
* Mon Dec 28 13:27:44 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.56.0-2
|
|
|
a2736d6 |
- Rebuild
|
|
|
a2736d6 |
|
|
|
b5b0780 |
* Fri Nov 27 2020 Fabio Valentini <decathorpe@gmail.com> - 0.56.0-1
|
|
|
b5b0780 |
- Update to version 0.56.0.
|
|
|
b5b0780 |
|
|
|
b25d6e5 |
* Fri Sep 18 2020 Fabio Valentini <decathorpe@gmail.com> - 0.54.0-3
|
|
|
b25d6e5 |
- Bump to which 4.
|
|
|
b25d6e5 |
|
|
|
b7be523 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.54.0-2
|
|
|
b7be523 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b7be523 |
|
|
|
b502c22 |
* Sat May 30 2020 Josh Stone <jistone@redhat.com> - 0.54.0-1
|
|
|
b502c22 |
- Update to 0.54.0
|
|
|
b502c22 |
|
|
|
0667b01 |
* Thu May 14 08:11:52 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.53.2-2
|
|
|
0667b01 |
- Link with libclang instead of runtime detection
|
|
|
0667b01 |
|
|
|
a59b0e6 |
* Tue Mar 10 2020 Josh Stone <jistone@redhat.com> - 0.53.2-1
|
|
|
a59b0e6 |
- Update to 0.53.2
|
|
|
a59b0e6 |
|
|
|
895ca90 |
* Thu Mar 05 2020 Josh Stone <jistone@redhat.com> - 0.53.1-2
|
|
|
895ca90 |
- Bump to clang-sys 0.29
|
|
|
895ca90 |
|
|
|
b6fe0bc |
* Thu Feb 27 2020 Josh Stone <jistone@redhat.com> - 0.53.1-1
|
|
|
b6fe0bc |
- Update to 0.53.1
|
|
|
b6fe0bc |
|
|
|
5d6142a |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.52.0-2
|
|
|
5d6142a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
5d6142a |
|
|
|
634f6ae |
* Thu Dec 05 14:57:26 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.52.0-1
|
|
|
634f6ae |
- Update to 0.52.0
|
|
|
634f6ae |
|
|
|
8e0854a |
* Wed Jul 31 18:31:15 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.51.0-1
|
|
|
8e0854a |
- Release 0.51.0
|
|
|
8e0854a |
|
|
|
18d7215 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.49.0-4
|
|
|
18d7215 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
18d7215 |
|
|
|
2a2f3cb |
* Wed May 15 08:38:03 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.49.0-3
|
|
|
2a2f3cb |
- Update hashbrown to 0.3
|
|
|
2a2f3cb |
|
|
|
abd5aee |
* Sun Apr 14 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.49.0-2
|
|
|
abd5aee |
- Rebuilt for hashbrown 0.2.0
|
|
|
abd5aee |
|
|
|
36334d9 |
* Wed Mar 27 2019 Josh Stone <jistone@redhat.com> - 0.49.0-1
|
|
|
36334d9 |
- Update to 0.49.0
|
|
|
36334d9 |
|
|
|
b4613ad |
* Sat Mar 16 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.48.1-1
|
|
|
b4613ad |
- Update to 0.48.1
|
|
|
b4613ad |
|
|
|
a714a21 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.47.0-2
|
|
|
a714a21 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
a714a21 |
|
|
|
d1bd769 |
* Tue Jan 22 2019 Josh Stone <jistone@redhat.com> - 0.47.0-1
|
|
|
d1bd769 |
- Update to 0.47.0
|
|
|
d1bd769 |
|
|
|
2a47207 |
* Mon Jan 14 2019 Josh Stone <jistone@redhat.com> - 0.46.0-1
|
|
|
2a47207 |
- Update to 0.46.0
|
|
|
2a47207 |
|
|
|
1fb115d |
* Sat Nov 10 2018 Josh Stone <jistone@redhat.com> - 0.43.1-1
|
|
|
1fb115d |
- Update to 0.43.1
|
|
|
1fb115d |
|
|
|
91a14a7 |
* Sun Nov 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.43.0-2
|
|
|
91a14a7 |
- Adapt to new packaging
|
|
|
91a14a7 |
|
|
|
f5d2e85 |
* Mon Oct 22 2018 Josh Stone <jistone@redhat.com> - 0.43.0-1
|
|
|
f5d2e85 |
- Update to 0.43.0
|
|
|
f5d2e85 |
|
|
|
6926496 |
* Thu Oct 11 2018 Josh Stone <jistone@redhat.com> - 0.42.2-1
|
|
|
6926496 |
- Update to 0.42.2
|
|
|
6926496 |
|
|
|
7a6cbf8 |
* Mon Oct 08 2018 Josh Stone <jistone@redhat.com> - 0.42.1-1
|
|
|
7a6cbf8 |
- Update to 0.42.1
|
|
|
7a6cbf8 |
|
|
|
c513242 |
* Thu Oct 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.42.0-1
|
|
|
c513242 |
- Initial package
|