diff --git a/radare2.spec b/radare2.spec index 90e6303..0800bc5 100644 --- a/radare2.spec +++ b/radare2.spec @@ -3,7 +3,7 @@ Name: radare2 Summary: The reverse engineering framework -Version: 4.5.0 +Version: 5.1.0 URL: https://radare.org/ VCS: https://github.com/radare/radare2 @@ -45,6 +45,7 @@ License: LGPLv3+ and GPLv2+ and BSD and MIT and ASL 2.0 and MPLv2.0 and z # shlr/zip/zlib - zlib/libpng License (system installed shared libzip is used instead) # shlr/zip/zip - 3 clause BSD (system installed shared zlib is used instead) # shlr/ptrace-wrap - LGPL v3+ +# shlr/tree-sitter - MIT # Removed from the final package because of the presence of minified JS and # absence of the source JS - this should be packaged with radare2-webui @@ -113,11 +114,12 @@ Provides: bundled(spp) = 1.2.0 # ./shlr/sdb/README.md # sdb is a simple string key/value database based on djb's cdb # https://github.com/radare/sdb -Provides: bundled(sdb) = 1.5.0 +Provides: bundled(sdb) = 1.7.0 # ./shlr/sdb/src/json/README +# Based on js0n with a lot of modifications # https://github.com/quartzjer/js0n -# JSON support for sdb +# JSON support for sdb. Provides: bundled(js0n) # libr/util/regex/README @@ -150,6 +152,9 @@ Provides: bundled(grub2) # https://github.com/thestr4ng3r/ptrace-wrap Provides: bundled(ptrace-wrap) +# ./shlr/tree-sitter +# https://github.com/tree-sitter/tree-sitter +Provides: bundled(tree-sitter) = 0.17.2 %description The radare2 is a reverse-engineering framework that is multi-architecture, @@ -223,13 +228,11 @@ echo "Available under https://github.com/radare/radare2-webui" >> ./shlr/www/REA # removing r2pm because it is a package manager which could install packages # system wide or in the user home directory rm %{buildroot}/%{_bindir}/r2pm -# create r2 symlink because meson build does not create it (yet) -ln -s radare2 %{buildroot}/%{_bindir}/r2 # install README.Fedora for the www part mkdir -p %{buildroot}/%{_datadir}/%{name}/%{version}/www cp ./shlr/www/README.Fedora %{buildroot}/%{_datadir}/%{name}/%{version}/www/README.Fedora # remove unneeded fortunes -rm %{buildroot}/%{_datadir}/doc/%{name}/fortunes.{creepy,nsfw,fun} +rm %{buildroot}/%{_datadir}/doc/%{name}/fortunes.fun %ldconfig_scriptlets @@ -241,7 +244,7 @@ rm %{buildroot}/%{_datadir}/doc/%{name}/fortunes.{creepy,nsfw,fun} %files -%doc AUTHORS.md CONTRIBUTING.md DEVELOPERS.md README.md +%doc CONTRIBUTING.md DEVELOPERS.md README.md %doc doc/3D/ doc/node.js/ doc/pdb/ doc/sandbox/ %doc doc/avr.md doc/brainfuck.md doc/calling-conventions.md doc/debug.md %doc doc/esil.md doc/gdb.md doc/gprobe.md doc/intro.md doc/io.md doc/rap.md @@ -273,12 +276,16 @@ rm %{buildroot}/%{_datadir}/doc/%{name}/fortunes.{creepy,nsfw,fun} %{_datadir}/%{name}/%{version}/magic %{_datadir}/%{name}/%{version}/opcodes %{_datadir}/%{name}/%{version}/syscall +%{_datadir}/%{name}/%{version}/charsets %dir %{_datadir}/%{name} %dir %{_datadir}/doc/%{name} %dir %{_datadir}/%{name}/%{version} %changelog +* Mon Feb 15 2021 Henrik Nordstrom - 5.1.0-2.2 +- Rebase to upstream version 5.1.0 + * Wed Jan 27 2021 Fedora Release Engineering - 4.5.0-2.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild