Compare commits
No commits in common. 'epel9' and 'i10ce' have entirely different histories.
@ -1,20 +1 @@
|
|||||||
/cpp_demangle-0.2.7.crate
|
SOURCES/cpp_demangle-0.4.4.crate
|
||||||
/cpp_demangle-0.2.8.crate
|
|
||||||
/cpp_demangle-0.2.9.crate
|
|
||||||
/cpp_demangle-0.2.10.crate
|
|
||||||
/cpp_demangle-0.2.11.crate
|
|
||||||
/cpp_demangle-0.2.12.crate
|
|
||||||
/cpp_demangle-0.2.14.crate
|
|
||||||
/cpp_demangle-0.2.15.crate
|
|
||||||
/cpp_demangle-0.2.16.crate
|
|
||||||
/cpp_demangle-0.2.17.crate
|
|
||||||
/cpp_demangle-0.3.0.crate
|
|
||||||
/cpp_demangle-0.3.1.crate
|
|
||||||
/cpp_demangle-0.3.2.crate
|
|
||||||
/cpp_demangle-0.3.3.crate
|
|
||||||
/cpp_demangle-0.3.4.crate
|
|
||||||
/cpp_demangle-0.3.5.crate
|
|
||||||
/cpp_demangle-0.4.0.crate
|
|
||||||
/cpp_demangle-0.4.1.crate
|
|
||||||
/cpp_demangle-0.4.2.crate
|
|
||||||
/cpp_demangle-0.4.3.crate
|
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
386c955e5d9df37d443c0be28da1fee697c3fa22 SOURCES/cpp_demangle-0.4.4.crate
|
@ -0,0 +1,41 @@
|
|||||||
|
--- cpp_demangle-0.4.4/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||||
|
+++ cpp_demangle-0.4.4/Cargo.toml 2024-08-28T21:41:04.687375+00:00
|
||||||
|
@@ -50,30 +50,8 @@
|
||||||
|
name = "cpp_demangle"
|
||||||
|
path = "src/lib.rs"
|
||||||
|
|
||||||
|
-[[bin]]
|
||||||
|
-name = "afl_runner"
|
||||||
|
-path = "src/bin/afl_runner.rs"
|
||||||
|
-required-features = ["afl"]
|
||||||
|
-
|
||||||
|
-[[example]]
|
||||||
|
-name = "cppfilt"
|
||||||
|
-path = "examples/cppfilt.rs"
|
||||||
|
-
|
||||||
|
-[[example]]
|
||||||
|
-name = "simple"
|
||||||
|
-path = "examples/simple.rs"
|
||||||
|
-required-features = ["std"]
|
||||||
|
-
|
||||||
|
-[dependencies.afl]
|
||||||
|
-version = "0.15"
|
||||||
|
-optional = true
|
||||||
|
-
|
||||||
|
[dependencies.cfg-if]
|
||||||
|
version = "1.0.0"
|
||||||
|
-
|
||||||
|
-[dev-dependencies.clap]
|
||||||
|
-version = "4.0"
|
||||||
|
-features = ["derive"]
|
||||||
|
|
||||||
|
[dev-dependencies.diff]
|
||||||
|
version = "0.1.11"
|
||||||
|
@@ -81,7 +59,6 @@
|
||||||
|
[features]
|
||||||
|
alloc = []
|
||||||
|
default = ["std"]
|
||||||
|
-fuzz = ["afl"]
|
||||||
|
logging = ["std"]
|
||||||
|
run_libiberty_tests = []
|
||||||
|
std = ["alloc"]
|
@ -0,0 +1,7 @@
|
|||||||
|
[package]
|
||||||
|
summary = "Crate for demangling C++ symbols"
|
||||||
|
cargo-toml-patch-comments = [
|
||||||
|
"drop unused support for the AFL fuzzer",
|
||||||
|
"drop examples and example-only dev-dependencies",
|
||||||
|
]
|
||||||
|
|
@ -0,0 +1,255 @@
|
|||||||
|
## START: Set by rpmautospec
|
||||||
|
## (rpmautospec version 0.7.1)
|
||||||
|
## 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 cpp_demangle
|
||||||
|
|
||||||
|
Name: rust-cpp_demangle
|
||||||
|
Version: 0.4.4
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: Crate for demangling C++ symbols
|
||||||
|
|
||||||
|
License: MIT OR Apache-2.0
|
||||||
|
URL: https://crates.io/crates/cpp_demangle
|
||||||
|
Source: %{crates_source}
|
||||||
|
# Manually created patch for downstream crate metadata changes
|
||||||
|
# * drop unused support for the AFL fuzzer
|
||||||
|
# * drop examples and example-only dev-dependencies
|
||||||
|
Patch: cpp_demangle-fix-metadata.diff
|
||||||
|
|
||||||
|
BuildRequires: cargo-rpm-macros >= 24
|
||||||
|
|
||||||
|
%global _description %{expand:
|
||||||
|
A crate for demangling C++ symbols.}
|
||||||
|
|
||||||
|
%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-APACHE
|
||||||
|
%license %{crate_instdir}/LICENSE-MIT
|
||||||
|
%doc %{crate_instdir}/CHANGELOG.md
|
||||||
|
%doc %{crate_instdir}/CONTRIBUTING.md
|
||||||
|
%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}+alloc-devel
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n %{name}+alloc-devel %{_description}
|
||||||
|
|
||||||
|
This package contains library source intended for building other packages which
|
||||||
|
use the "alloc" feature of the "%{crate}" crate.
|
||||||
|
|
||||||
|
%files -n %{name}+alloc-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}+run_libiberty_tests-devel
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n %{name}+run_libiberty_tests-devel %{_description}
|
||||||
|
|
||||||
|
This package contains library source intended for building other packages which
|
||||||
|
use the "run_libiberty_tests" feature of the "%{crate}" crate.
|
||||||
|
|
||||||
|
%files -n %{name}+run_libiberty_tests-devel
|
||||||
|
%ghost %{crate_instdir}/Cargo.toml
|
||||||
|
|
||||||
|
%package -n %{name}+std-devel
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n %{name}+std-devel %{_description}
|
||||||
|
|
||||||
|
This package contains library source intended for building other packages which
|
||||||
|
use the "std" feature of the "%{crate}" crate.
|
||||||
|
|
||||||
|
%files -n %{name}+std-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.4.4-1
|
||||||
|
- Rebuilt for MSVSphere 10
|
||||||
|
|
||||||
|
## START: Generated by rpmautospec
|
||||||
|
* Wed Aug 28 2024 Fabio Valentini <decathorpe@gmail.com> - 0.4.4-1
|
||||||
|
- Update to version 0.4.4
|
||||||
|
|
||||||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Aug 23 2023 Fabio Valentini <decathorpe@gmail.com> - 0.4.3-1
|
||||||
|
- Update to version 0.4.3; Fixes RHBZ#2232800
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 26 2023 Fabio Valentini <decathorpe@gmail.com> - 0.4.2-1
|
||||||
|
- Update to version 0.4.2; Fixes RHBZ#2217657
|
||||||
|
|
||||||
|
* Fri Apr 14 2023 Fabio Valentini <decathorpe@gmail.com> - 0.4.1-1
|
||||||
|
- Update to version 0.4.1; Fixes RHBZ#2186649
|
||||||
|
|
||||||
|
* Thu Mar 30 2023 Fabio Valentini <decathorpe@gmail.com> - 0.4.0-1
|
||||||
|
- Update to version 0.4.0; Fixes RHBZ#2136539
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Dec 09 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.5-1
|
||||||
|
- Update to version 0.3.5; Fixes RHBZ#2028578
|
||||||
|
|
||||||
|
* Tue Nov 23 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.4-1
|
||||||
|
- Update to version 0.3.4; Fixes RHBZ#2025350
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 08 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.3-1
|
||||||
|
- Update to version 0.3.3; Fixes RHBZ#1980481
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Nov 28 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.2-1
|
||||||
|
- Update to version 0.3.2.
|
||||||
|
- Fixes RHBZ#1902355
|
||||||
|
|
||||||
|
* Wed Nov 25 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.1-2
|
||||||
|
- Remove features with broken dependencies.
|
||||||
|
|
||||||
|
* Sun Oct 11 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.1-1
|
||||||
|
- Update to version 0.3.1.
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 22 2020 Josh Stone <jistone@redhat.com> - 0.3.0-1
|
||||||
|
- Update to 0.3.0
|
||||||
|
|
||||||
|
* Wed Jun 10 2020 Josh Stone <jistone@redhat.com> - 0.2.17-1
|
||||||
|
- Update to 0.2.17
|
||||||
|
|
||||||
|
* Thu May 14 2020 Josh Stone <jistone@redhat.com> - 0.2.16-1
|
||||||
|
- Update to 0.2.16
|
||||||
|
|
||||||
|
* Wed Apr 29 2020 Josh Stone <jistone@redhat.com> - 0.2.15-1
|
||||||
|
- Update to 0.2.15
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.14-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Nov 19 2019 Josh Stone <jistone@redhat.com> - 0.2.14-1
|
||||||
|
- Update to 0.2.14
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 07 17:06:18 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.12-4
|
||||||
|
- Update glob to 0.3
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Nov 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.12-2
|
||||||
|
- Adapt to new packaging
|
||||||
|
|
||||||
|
* Tue Sep 11 2018 Josh Stone <jistone@redhat.com> - 0.2.12-1
|
||||||
|
- Update to 0.2.12
|
||||||
|
|
||||||
|
* Fri Aug 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.11-1
|
||||||
|
- Update to 0.2.11
|
||||||
|
|
||||||
|
* Thu Aug 09 2018 Josh Stone <jistone@redhat.com> - 0.2.10-1
|
||||||
|
- Update to 0.2.10
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 15 2018 Josh Stone <jistone@redhat.com> - 0.2.9-1
|
||||||
|
- Update to 0.2.9
|
||||||
|
|
||||||
|
* Sat May 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.8-1
|
||||||
|
- Update to 0.2.8
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.7-2
|
||||||
|
- Rebuild for rust-packaging v5
|
||||||
|
|
||||||
|
* Fri Dec 01 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.7-1
|
||||||
|
- Initial package
|
||||||
|
|
||||||
|
## END: Generated by rpmautospec
|
@ -1,72 +0,0 @@
|
|||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Nov 28 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.2-1
|
|
||||||
- Update to version 0.3.2.
|
|
||||||
- Fixes RHBZ#1902355
|
|
||||||
|
|
||||||
* Wed Nov 25 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.1-2
|
|
||||||
- Remove features with broken dependencies.
|
|
||||||
|
|
||||||
* Sun Oct 11 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.1-1
|
|
||||||
- Update to version 0.3.1.
|
|
||||||
|
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 22 2020 Josh Stone <jistone@redhat.com> - 0.3.0-1
|
|
||||||
- Update to 0.3.0
|
|
||||||
|
|
||||||
* Wed Jun 10 2020 Josh Stone <jistone@redhat.com> - 0.2.17-1
|
|
||||||
- Update to 0.2.17
|
|
||||||
|
|
||||||
* Thu May 14 2020 Josh Stone <jistone@redhat.com> - 0.2.16-1
|
|
||||||
- Update to 0.2.16
|
|
||||||
|
|
||||||
* Wed Apr 29 2020 Josh Stone <jistone@redhat.com> - 0.2.15-1
|
|
||||||
- Update to 0.2.15
|
|
||||||
|
|
||||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.14-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Nov 19 2019 Josh Stone <jistone@redhat.com> - 0.2.14-1
|
|
||||||
- Update to 0.2.14
|
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue May 07 17:06:18 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.12-4
|
|
||||||
- Update glob to 0.3
|
|
||||||
|
|
||||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Nov 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.12-2
|
|
||||||
- Adapt to new packaging
|
|
||||||
|
|
||||||
* Tue Sep 11 2018 Josh Stone <jistone@redhat.com> - 0.2.12-1
|
|
||||||
- Update to 0.2.12
|
|
||||||
|
|
||||||
* Fri Aug 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.11-1
|
|
||||||
- Update to 0.2.11
|
|
||||||
|
|
||||||
* Thu Aug 09 2018 Josh Stone <jistone@redhat.com> - 0.2.10-1
|
|
||||||
- Update to 0.2.10
|
|
||||||
|
|
||||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue May 15 2018 Josh Stone <jistone@redhat.com> - 0.2.9-1
|
|
||||||
- Update to 0.2.9
|
|
||||||
|
|
||||||
* Sat May 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.8-1
|
|
||||||
- Update to 0.2.8
|
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.7-2
|
|
||||||
- Rebuild for rust-packaging v5
|
|
||||||
|
|
||||||
* Fri Dec 01 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.7-1
|
|
||||||
- Initial package
|
|
@ -1,30 +0,0 @@
|
|||||||
--- cpp_demangle-0.4.3/Cargo.toml 1970-01-01T00:00:01+00:00
|
|
||||||
+++ cpp_demangle-0.4.3/Cargo.toml 2023-08-23T09:35:41.147931+00:00
|
|
||||||
@@ -38,18 +38,10 @@
|
|
||||||
]
|
|
||||||
license = "MIT OR Apache-2.0"
|
|
||||||
repository = "https://github.com/gimli-rs/cpp_demangle"
|
|
||||||
+autobins = false
|
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
debug = 2
|
|
||||||
-
|
|
||||||
-[[bin]]
|
|
||||||
-name = "afl_runner"
|
|
||||||
-path = "src/bin/afl_runner.rs"
|
|
||||||
-required-features = ["afl"]
|
|
||||||
-
|
|
||||||
-[dependencies.afl]
|
|
||||||
-version = "0.13.1"
|
|
||||||
-optional = true
|
|
||||||
|
|
||||||
[dependencies.cfg-if]
|
|
||||||
version = "1.0.0"
|
|
||||||
@@ -64,7 +56,6 @@
|
|
||||||
[features]
|
|
||||||
alloc = []
|
|
||||||
default = ["std"]
|
|
||||||
-fuzz = ["afl"]
|
|
||||||
logging = ["std"]
|
|
||||||
run_libiberty_tests = []
|
|
||||||
std = ["alloc"]
|
|
@ -1,122 +0,0 @@
|
|||||||
# Generated by rust2rpm 24
|
|
||||||
%bcond_without check
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
%global crate cpp_demangle
|
|
||||||
|
|
||||||
Name: rust-cpp_demangle
|
|
||||||
Version: 0.4.3
|
|
||||||
Release: %autorelease
|
|
||||||
Summary: Crate for demangling C++ symbols
|
|
||||||
|
|
||||||
License: MIT OR Apache-2.0
|
|
||||||
URL: https://crates.io/crates/cpp_demangle
|
|
||||||
Source: %{crates_source}
|
|
||||||
# Manually created patch for downstream crate metadata changes
|
|
||||||
# * drop unused support for the AFL fuzzer
|
|
||||||
Patch: cpp_demangle-fix-metadata.diff
|
|
||||||
|
|
||||||
BuildRequires: rust-packaging >= 21
|
|
||||||
|
|
||||||
%global _description %{expand:
|
|
||||||
A crate for demangling C++ symbols.}
|
|
||||||
|
|
||||||
%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-APACHE
|
|
||||||
%license %{crate_instdir}/LICENSE-MIT
|
|
||||||
%doc %{crate_instdir}/CHANGELOG.md
|
|
||||||
%doc %{crate_instdir}/CONTRIBUTING.md
|
|
||||||
%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}+alloc-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+alloc-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages which
|
|
||||||
use the "alloc" feature of the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+alloc-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}+run_libiberty_tests-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+run_libiberty_tests-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages which
|
|
||||||
use the "run_libiberty_tests" feature of the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+run_libiberty_tests-devel
|
|
||||||
%ghost %{crate_instdir}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+std-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+std-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages which
|
|
||||||
use the "std" feature of the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+std-devel
|
|
||||||
%ghost %{crate_instdir}/Cargo.toml
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
||||||
%cargo_prep
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%cargo_generate_buildrequires
|
|
||||||
|
|
||||||
%build
|
|
||||||
%cargo_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%cargo_install
|
|
||||||
|
|
||||||
%if %{with check}
|
|
||||||
%check
|
|
||||||
%cargo_test
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
%autochangelog
|
|
@ -1,2 +0,0 @@
|
|||||||
[DEFAULT]
|
|
||||||
summary = Crate for demangling C++ symbols
|
|
Loading…
Reference in new issue