Update to version 0.4.0; Fixes RHBZ#2136539

epel9
Fabio Valentini 2 years ago
parent 943ef22ca7
commit 0858cfa789
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -14,3 +14,4 @@
/cpp_demangle-0.3.3.crate /cpp_demangle-0.3.3.crate
/cpp_demangle-0.3.4.crate /cpp_demangle-0.3.4.crate
/cpp_demangle-0.3.5.crate /cpp_demangle-0.3.5.crate
/cpp_demangle-0.4.0.crate

@ -1,3 +0,0 @@
# rust-cpp_demangle
The rust-cpp_demangle package

@ -1,11 +1,11 @@
--- cpp_demangle-0.3.5/Cargo.toml 1970-01-01T00:00:01+00:00 --- cpp_demangle-0.4.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ cpp_demangle-0.3.5/Cargo.toml 2021-12-09T12:50:09.434927+00:00 +++ cpp_demangle-0.4.0/Cargo.toml 2023-03-30T18:36:09.764806+00:00
@@ -22,16 +22,10 @@ @@ -38,18 +38,10 @@
categories = ["development-tools::debugging", "development-tools::ffi"] ]
license = "Apache-2.0/MIT" license = "MIT OR Apache-2.0"
repository = "https://github.com/gimli-rs/cpp_demangle" repository = "https://github.com/gimli-rs/cpp_demangle"
+autobins = false +autobins = false
+
[profile.release] [profile.release]
debug = true debug = true
- -
@ -13,17 +13,18 @@
-name = "afl_runner" -name = "afl_runner"
-path = "src/bin/afl_runner.rs" -path = "src/bin/afl_runner.rs"
-required-features = ["afl"] -required-features = ["afl"]
-
-[dependencies.afl] -[dependencies.afl]
-version = "0.11.0" -version = "0.12.0"
-optional = true -optional = true
[dependencies.cfg-if] [dependencies.cfg-if]
version = "1.0.0" version = "1.0.0"
@@ -45,7 +39,6 @@ @@ -64,7 +56,6 @@
[features]
alloc = [] alloc = []
cppfilt = []
default = ["std"] default = ["std"]
-fuzz = ["afl"] -fuzz = ["afl"]
logging = [] logging = ["std"]
nightly = []
run_libiberty_tests = [] run_libiberty_tests = []
std = ["alloc"]

@ -1,28 +1,25 @@
# Generated by rust2rpm 20 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate cpp_demangle %global crate cpp_demangle
Name: rust-%{crate} Name: rust-cpp_demangle
Version: 0.3.5 Version: 0.4.0
Release: %autorelease Release: %autorelease
Summary: Crate for demangling C++ symbols Summary: Crate for demangling C++ symbols
# Upstream license specification: Apache-2.0/MIT License: MIT OR Apache-2.0
License: ASL 2.0 or MIT
URL: https://crates.io/crates/cpp_demangle URL: https://crates.io/crates/cpp_demangle
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Manually created patch for downstream crate metadata changes
# * drop unused support for the AFL fuzzer # * drop unused support for the AFL fuzzer
Patch0: cpp_demangle-fix-metadata.diff Patch: cpp_demangle-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Crate for demangling C++ symbols.} A crate for demangling C++ symbols.}
%description %{_description} %description %{_description}
@ -36,9 +33,12 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc CHANGELOG.md CONTRIBUTING.md README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/CONTRIBUTING.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -50,7 +50,7 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+alloc-devel %package -n %{name}+alloc-devel
Summary: %{summary} Summary: %{summary}
@ -62,19 +62,7 @@ This package contains library source intended for building other packages which
use the "alloc" feature of the "%{crate}" crate. use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel %files -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+cppfilt-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+cppfilt-devel %{_description}
This package contains library source intended for building other packages which
use the "cppfilt" feature of the "%{crate}" crate.
%files -n %{name}+cppfilt-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+logging-devel %package -n %{name}+logging-devel
Summary: %{summary} Summary: %{summary}
@ -86,19 +74,7 @@ This package contains library source intended for building other packages which
use the "logging" feature of the "%{crate}" crate. use the "logging" feature of the "%{crate}" crate.
%files -n %{name}+logging-devel %files -n %{name}+logging-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nightly-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+nightly-devel %{_description}
This package contains library source intended for building other packages which
use the "nightly" feature of the "%{crate}" crate.
%files -n %{name}+nightly-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+run_libiberty_tests-devel %package -n %{name}+run_libiberty_tests-devel
Summary: %{summary} Summary: %{summary}
@ -110,7 +86,7 @@ This package contains library source intended for building other packages which
use the "run_libiberty_tests" feature of the "%{crate}" crate. use the "run_libiberty_tests" feature of the "%{crate}" crate.
%files -n %{name}+run_libiberty_tests-devel %files -n %{name}+run_libiberty_tests-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -122,7 +98,7 @@ This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (cpp_demangle-0.3.5.crate) = ef59cba0cb54cd12232fcd96dc5734b5997ad6ecaf4e86d7f6cccf56c4c18a6cffaa1f6eca46a8889f5a0fb3ea1774495364b698cfd27caccf99fbbaa08d3378 SHA512 (cpp_demangle-0.4.0.crate) = 49d2c8a6f9e32e8cc123dda0921e62c426afcce3d2982f18ac95c478c187bd00ea0c8e10f96101a2a3cd667b7cbea77669ff113ec23e20eb2b7ad2a99e132dc7

Loading…
Cancel
Save