You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
348 lines
11 KiB
348 lines
11 KiB
1 month ago
|
## START: Set by rpmautospec
|
||
|
## (rpmautospec version 0.7.3)
|
||
|
## RPMAUTOSPEC: autorelease, autochangelog
|
||
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||
|
release_number = 1;
|
||
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||
|
print(release_number + base_release_number - 1);
|
||
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||
|
## END: Set by rpmautospec
|
||
|
|
||
|
# Generated by rust2rpm 26
|
||
|
%bcond_without check
|
||
|
%global debug_package %{nil}
|
||
|
|
||
|
%global crate bindgen
|
||
|
|
||
|
Name: rust-bindgen
|
||
|
Version: 0.69.5
|
||
|
Release: %autorelease
|
||
|
Summary: Automatically generates Rust FFI bindings to C and C++ libraries
|
||
|
|
||
|
License: BSD-3-Clause
|
||
|
URL: https://crates.io/crates/bindgen
|
||
|
Source: %{crates_source}
|
||
|
|
||
|
BuildRequires: cargo-rpm-macros >= 24
|
||
|
|
||
|
%global _description %{expand:
|
||
|
Automatically generates Rust FFI bindings to C and C++ libraries.}
|
||
|
|
||
|
%description %{_description}
|
||
|
|
||
|
%package devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "%{crate}" crate.
|
||
|
|
||
|
%files devel
|
||
|
%license %{crate_instdir}/LICENSE
|
||
|
%doc %{crate_instdir}/README.md
|
||
|
%{crate_instdir}/
|
||
|
|
||
|
%package -n %{name}+default-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+default-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "default" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+default-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+__cli-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+__cli-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "__cli" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+__cli-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+__testing_only_extra_assertions-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+__testing_only_extra_assertions-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "__testing_only_extra_assertions" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+__testing_only_extra_assertions-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+__testing_only_libclang_16-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+__testing_only_libclang_16-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "__testing_only_libclang_16" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+__testing_only_libclang_16-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+__testing_only_libclang_9-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+__testing_only_libclang_9-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "__testing_only_libclang_9" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+__testing_only_libclang_9-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+experimental-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+experimental-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "experimental" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+experimental-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+logging-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+logging-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "logging" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+logging-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+prettyplease-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+prettyplease-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "prettyplease" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+prettyplease-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+runtime-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+runtime-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "runtime" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+runtime-devel
|
||
|
%ghost %{crate_instdir}/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 the "static" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+static-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+which-rustfmt-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+which-rustfmt-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "which-rustfmt" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+which-rustfmt-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
|
%prep
|
||
|
%autosetup -n %{crate}-%{version} -p1
|
||
|
%cargo_prep
|
||
|
|
||
|
%generate_buildrequires
|
||
|
%cargo_generate_buildrequires
|
||
|
|
||
|
%build
|
||
|
%cargo_build
|
||
|
|
||
|
%install
|
||
|
%cargo_install
|
||
|
|
||
|
%if %{with check}
|
||
|
%check
|
||
|
%cargo_test
|
||
|
%endif
|
||
|
|
||
|
%changelog
|
||
|
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.69.5-1
|
||
|
- Rebuilt for MSVSphere 10
|
||
|
|
||
|
## START: Generated by rpmautospec
|
||
|
* Wed Oct 23 2024 Fabio Valentini <decathorpe@gmail.com> - 0.69.5-1
|
||
|
- Update to version 0.69.5
|
||
|
|
||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.69.4-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||
|
|
||
|
* Wed Feb 07 2024 Fabio Valentini <decathorpe@gmail.com> - 0.69.4-1
|
||
|
- Update to version 0.69.4; Fixes RHBZ#2247521
|
||
|
|
||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.68.1-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Sun Sep 17 2023 Fabio Valentini <decathorpe@gmail.com> - 0.68.1-1
|
||
|
- Update to version 0.68.1; Fixes RHBZ#2167834
|
||
|
|
||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.63.0-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||
|
|
||
|
* Mon Jan 30 2023 Fabio Valentini <decathorpe@gmail.com> - 0.63.0-4
|
||
|
- Stop removing the "runtime" feature from the default feature set
|
||
|
|
||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.63.0-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||
|
|
||
|
* Tue Dec 13 2022 Fabio Valentini <decathorpe@gmail.com> - 0.63.0-2
|
||
|
- Default to linking with libclang instead of using dlopen
|
||
|
|
||
|
* Fri Nov 25 2022 Fabio Valentini <decathorpe@gmail.com> - 0.63.0-1
|
||
|
- Update to version 0.63.0; Fixes RHBZ#2093740
|
||
|
|
||
|
* Fri Nov 25 2022 Fabio Valentini <decathorpe@gmail.com> - 0.62.0-1
|
||
|
- Update to version 0.62.0
|
||
|
|
||
|
* Mon Sep 19 2022 Pete Walter <pwalter@fedoraproject.org> - 0.59.2-5
|
||
|
- Rebuild for clang 15
|
||
|
|
||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.59.2-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||
|
|
||
|
* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.59.2-3
|
||
|
- Rebuild with package notes
|
||
|
|
||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.59.2-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||
|
|
||
|
* Wed Dec 15 2021 Fabio Valentini <decathorpe@gmail.com> - 0.59.2-1
|
||
|
- Update to version 0.59.2; Fixes RHBZ#2026817
|
||
|
|
||
|
* Thu Nov 11 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0.59.1-1
|
||
|
- Update to 0.59.1 Close: rhbz#1945996
|
||
|
|
||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.57.0-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||
|
|
||
|
* Wed May 26 2021 Tom Stellard <tstellar@redhat.com> - 0.57.0-2
|
||
|
- Rebuild for LLVM 12.0.0-final
|
||
|
|
||
|
* Wed Mar 31 16:16:57 CEST 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0.57.0-1
|
||
|
- Update to 0.57.0
|
||
|
- Close: rhbz#1923131
|
||
|
|
||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.56.0-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||
|
|
||
|
* Fri Jan 22 2021 Tom Stellard <tstellar@redhat.com> - 0.56.0-3
|
||
|
- Rebuild for clang-11.1.0
|
||
|
|
||
|
* Mon Dec 28 13:27:44 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.56.0-2
|
||
|
- Rebuild
|
||
|
|
||
|
* Fri Nov 27 2020 Fabio Valentini <decathorpe@gmail.com> - 0.56.0-1
|
||
|
- Update to version 0.56.0.
|
||
|
|
||
|
* Fri Sep 18 2020 Fabio Valentini <decathorpe@gmail.com> - 0.54.0-3
|
||
|
- Bump to which 4.
|
||
|
|
||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.54.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
|
* Sat May 30 2020 Josh Stone <jistone@redhat.com> - 0.54.0-1
|
||
|
- Update to 0.54.0
|
||
|
|
||
|
* Thu May 14 08:11:52 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.53.2-2
|
||
|
- Link with libclang instead of runtime detection
|
||
|
|
||
|
* Tue Mar 10 2020 Josh Stone <jistone@redhat.com> - 0.53.2-1
|
||
|
- Update to 0.53.2
|
||
|
|
||
|
* Thu Mar 05 2020 Josh Stone <jistone@redhat.com> - 0.53.1-2
|
||
|
- Bump to clang-sys 0.29
|
||
|
|
||
|
* Thu Feb 27 2020 Josh Stone <jistone@redhat.com> - 0.53.1-1
|
||
|
- Update to 0.53.1
|
||
|
|
||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.52.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||
|
|
||
|
* Thu Dec 05 14:57:26 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.52.0-1
|
||
|
- Update to 0.52.0
|
||
|
|
||
|
* Wed Jul 31 18:31:15 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.51.0-1
|
||
|
- Release 0.51.0
|
||
|
|
||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.49.0-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||
|
|
||
|
* Wed May 15 08:38:03 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.49.0-3
|
||
|
- Update hashbrown to 0.3
|
||
|
|
||
|
* Sun Apr 14 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.49.0-2
|
||
|
- Rebuilt for hashbrown 0.2.0
|
||
|
|
||
|
* Wed Mar 27 2019 Josh Stone <jistone@redhat.com> - 0.49.0-1
|
||
|
- Update to 0.49.0
|
||
|
|
||
|
* Sat Mar 16 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.48.1-1
|
||
|
- Update to 0.48.1
|
||
|
|
||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.47.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||
|
|
||
|
* Tue Jan 22 2019 Josh Stone <jistone@redhat.com> - 0.47.0-1
|
||
|
- Update to 0.47.0
|
||
|
|
||
|
* Mon Jan 14 2019 Josh Stone <jistone@redhat.com> - 0.46.0-1
|
||
|
- Update to 0.46.0
|
||
|
|
||
|
* Sat Nov 10 2018 Josh Stone <jistone@redhat.com> - 0.43.1-1
|
||
|
- Update to 0.43.1
|
||
|
|
||
|
* Sun Nov 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.43.0-2
|
||
|
- Adapt to new packaging
|
||
|
|
||
|
* Mon Oct 22 2018 Josh Stone <jistone@redhat.com> - 0.43.0-1
|
||
|
- Update to 0.43.0
|
||
|
|
||
|
* Thu Oct 11 2018 Josh Stone <jistone@redhat.com> - 0.42.2-1
|
||
|
- Update to 0.42.2
|
||
|
|
||
|
* Mon Oct 08 2018 Josh Stone <jistone@redhat.com> - 0.42.1-1
|
||
|
- Update to 0.42.1
|
||
|
|
||
|
* Thu Oct 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.42.0-1
|
||
|
- Initial package
|
||
|
|
||
|
## END: Generated by rpmautospec
|