Use _service to clone git repo, as tests are not available in PyPI
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
.osc
|
.osc
|
||||||
|
libdebug/
|
||||||
|
23
_service
Normal file
23
_service
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<services>
|
||||||
|
<service name="format_spec_file" mode="manual" />
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="filename">libdebug</param>
|
||||||
|
<param name="url">https://github.com/libdebug/libdebug.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">0.8.0-2</param>
|
||||||
|
<param name="version">0.8.0.post2</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
</service>
|
||||||
|
|
||||||
|
|
||||||
|
<service name="set_version" mode="manual" />
|
||||||
|
|
||||||
|
<service name="tar" mode="buildtime">
|
||||||
|
<param name="package-meta">yes</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
</service>
|
||||||
|
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/libdebug/libdebug.git</param>
|
||||||
|
<param name="changesrevision">cfbcc3e502b747ea95e155cb2f3df85c82e89695</param></service></servicedata>
|
BIN
libdebug-0.8.0.post2.obscpio
(Stored with Git LFS)
Normal file
BIN
libdebug-0.8.0.post2.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
libdebug-0.8.0.post2.tar.gz
(Stored with Git LFS)
BIN
libdebug-0.8.0.post2.tar.gz
(Stored with Git LFS)
Binary file not shown.
4
libdebug.obsinfo
Normal file
4
libdebug.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
name: libdebug
|
||||||
|
version: 0.8.0.post2
|
||||||
|
mtime: 1743065435
|
||||||
|
commit: cfbcc3e502b747ea95e155cb2f3df85c82e89695
|
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 22 12:45:15 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 0.8.0-2:
|
||||||
|
* docs: fixes from 0.8.0 mistakes
|
||||||
|
* build: added needed dependency and removed useless folders
|
||||||
|
* fix: handle all possible errors during memory operations in process_memory_manager
|
||||||
|
* fix: handle all possible errors during memory operations in ptrace_interface
|
||||||
|
* test: validate mem r/w operations raise ValueError on both locally and globally invalid addresses
|
||||||
|
* build: updated pyproject and dependencies
|
||||||
|
* doc: updated README dscription
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 16 17:19:02 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
Wed Apr 16 17:19:02 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||||
|
|
||||||
|
@@ -22,27 +22,33 @@ Release: 0
|
|||||||
Summary: A Python library for the debugging of binary executables
|
Summary: A Python library for the debugging of binary executables
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://libdebug.org
|
URL: https://libdebug.org
|
||||||
Source: https://files.pythonhosted.org/packages/source/l/libdebug/libdebug-%{version}.tar.gz
|
Source: libdebug-%{version}.tar.gz
|
||||||
Patch1: cmakelist-fixes.patch
|
Patch1: cmakelist-fixes.patch
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: ninja
|
|
||||||
BuildRequires: binutils-devel
|
|
||||||
BuildRequires: libelf-devel
|
|
||||||
BuildRequires: libdwarf-devel
|
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module nanobind >= 1.3.2}
|
BuildRequires: %{python_module nanobind >= 1.3.2}
|
||||||
BuildRequires: %{python_module nanobind-devel >= 1.3.2}
|
BuildRequires: %{python_module nanobind-devel >= 1.3.2}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module scikit-build-core >= 0.4.3}
|
BuildRequires: %{python_module scikit-build-core >= 0.4.3}
|
||||||
BuildRequires: %{python_module typing_extensions}
|
BuildRequires: %{python_module typing_extensions}
|
||||||
|
BuildRequires: binutils-devel
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libdwarf-devel
|
||||||
|
BuildRequires: ninja
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: pkgconfig(libelf)
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module objgraph}
|
||||||
BuildRequires: %{python_module prompt-toolkit}
|
BuildRequires: %{python_module prompt-toolkit}
|
||||||
BuildRequires: %{python_module psutil}
|
BuildRequires: %{python_module psutil}
|
||||||
BuildRequires: %{python_module pyelftools}
|
BuildRequires: %{python_module pyelftools}
|
||||||
|
BuildRequires: %{python_module pwntools}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requests}
|
BuildRequires: %{python_module requests}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -52,7 +58,7 @@ libdebug provides a comprehensive set of building blocks designed to facilitate
|
|||||||
debugging tools for different purposes, including reverse engineering and exploitation.
|
debugging tools for different purposes, including reverse engineering and exploitation.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for libdebug
|
Summary: Development files for libdebug
|
||||||
Requires: libdwarf0
|
Requires: libdwarf0
|
||||||
Requires: python-prompt-toolkit
|
Requires: python-prompt-toolkit
|
||||||
Requires: python-psutil
|
Requires: python-psutil
|
||||||
@@ -74,7 +80,11 @@ export CMAKE_GENERATOR=Ninja
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
|
%check
|
||||||
|
cd test
|
||||||
|
%pyunittest_arch
|
||||||
|
|
||||||
%files %{python_files devel}
|
%files %{python_files devel}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Reference in New Issue
Block a user