From c26fa4b8ec4a57408d6b3bede5de9b41d8556614 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:00:00 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.0.7-1mamba;Tue Aug 17 2021] --- README.md | 2 ++ dump_syms.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 dump_syms.spec diff --git a/README.md b/README.md index 393063e..de3e5db 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # dump_syms +Rewrite of breakpad dump_syms tools in Rust. + diff --git a/dump_syms.spec b/dump_syms.spec new file mode 100644 index 0000000..8bc5bcf --- /dev/null +++ b/dump_syms.spec @@ -0,0 +1,47 @@ +Name: dump_syms +Version: 0.0.7 +Release: 1mamba +Summary: Rewrite of breakpad dump_syms tools in Rust +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/mozilla/dump_syms +Source: https://github.com/mozilla/dump_syms.git/v%{version}/dump_syms-%{version}.tar.bz2 +License: Apache License 2.0, MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libbzip2-devel +BuildRequires: libgcc +BuildRequires: libopenssl-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: rustc + +%description +Rewrite of breakpad dump_syms tools in Rust. + +%debug_package + +%prep +%setup -q + +%build +env CARGO_INCREMENTAL=0 cargo build --release --locked + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +install -D -m0755 target/release/dump_syms %{buildroot}%{_bindir}/dump_syms + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/dump_syms +%doc LICENSE-APACHE LICENSE-MIT + +%changelog +* Tue Aug 17 2021 Silvan Calarco 0.0.7-1mamba +- package created using the webbuild interface