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
e25bb6f8
Commit
e25bb6f8
authored
May 09, 2012
by
Luke Macken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RPM specfile improvements
parent
2f7142ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
pkgs/fedora/pyrasite.spec
pkgs/fedora/pyrasite.spec
+8
-11
No files found.
pkgs/fedora/pyrasite.spec
View file @
e25bb6f8
%global betaver beta9
Name: pyrasite
Version: 2.0
Release:
0.1.%{betaver}
%{?dist}
Release:
1
%{?dist}
Summary: Code injection and monitoring of running Python processes
Group: Development/Languages
License: GPLv3
URL: http://pyrasite.com
Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}
%{betaver}
.tar.gz
Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-devel
...
...
@@ -29,24 +27,23 @@ It is comprised of a command-line tool, and a Python API. This package
also comes with a variety of example payloads.
%prep
%setup -q
-n %{name}-%{version}%{betaver}
%setup -q
%build
%{__python} setup.py build
%{__make}
-C docs man
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
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 LICENSE
docs
%doc README.rst LICENSE
%doc %{_mandir}/man1/pyrasite.1.gz
%{_bindir}/pyrasite
%{_bindir}/pyrasite-memory-viewer
...
...
@@ -54,5 +51,5 @@ also comes with a variety of example payloads.
%{python_sitelib}/*
%changelog
* Mon Mar 12 2012 Luke Macken <lmacken@redhat.com> 2.0-
0.1.beta
1
* Mon Mar 12 2012 Luke Macken <lmacken@redhat.com> 2.0-1
- Initial package for Fedora
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