Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyrasite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
pyrasite
Commits
18f0431a
Commit
18f0431a
authored
Mar 26, 2012
by
Luke Macken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build a pyrasite manpage in our spec, and make rpmlint happy.
parent
2b20382b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
pkgs/fedora/pyrasite.spec
pkgs/fedora/pyrasite.spec
+8
-2
pyrasite/tools/memory_viewer.py
pyrasite/tools/memory_viewer.py
+0
-1
No files found.
pkgs/fedora/pyrasite.spec
View file @
18f0431a
...
...
@@ -14,8 +14,9 @@ BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools-devel
BuildRequires: python-nose
BuildRequires: python-sphinx
Requires: gdb
>= 7.3
Requires: gdb
%if 0%{?rhel} <= 6
BuildRequires: python-argparse
...
...
@@ -32,16 +33,21 @@ also comes with a variety of example payloads.
%build
%{__python} setup.py build
PYTHONPATH=$(pwd) make -C docs man
%check
%{__python} setup.py test
%install
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%{__mkdir_p} %{buildroot}%{_mandir}/man1
%{__gzip} -c docs/_build/man/pyrasite.1 > %{buildroot}/%{_mandir}/man1/pyrasite.1.gz
%files
%defattr(-,root,root,-)
%doc README.rst
%doc README.rst LICENSE docs
%doc %{_mandir}/man1/pyrasite.1.gz
%{_bindir}/pyrasite
%{_bindir}/pyrasite-memory-viewer
%{_bindir}/pyrasite-shell
...
...
pyrasite/tools/memory_viewer.py
View file @
18f0431a
#!/usr/bin/python
# This file is part of pyrasite.
#
# pyrasite is free software: you can redistribute it and/or modify
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment