Skip to content

Commit

Permalink
v.1.0.2: added new setuptools as dependency, bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dzzh committed Oct 7, 2013
1 parent 38b187d commit 5ee9087
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
Binary file removed rpmbuild/SOURCES/elfstats-env-1.0.1.tar.gz
Binary file not shown.
Binary file added rpmbuild/SOURCES/elfstats-env-1.0.2.tar.gz
Binary file not shown.
11 changes: 8 additions & 3 deletions rpmbuild/SPECS/elfstats-env.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
%define ENVNAME elfstats
Name: elfstats-env
Version: 1.0.1
Version: 1.0.2
Release: 1.el6
Summary: A Python virtual environment configured to support elfstats. Requires Python 2.6.x/2.7.x to be installed in a system.

Expand All @@ -9,6 +10,8 @@ URL: https://github.com/dzzh/elfstats-env
Source0: %{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Prefix: /srv/virtualenvs
Requires: /usr/bin/python
BuildRequires: prelink

%description
This Python virtual environment is configured to support installation of elfstatsd and elfstats-munin.
Expand All @@ -17,12 +20,14 @@ This Python virtual environment is configured to support installation of elfstat
%setup -q

%build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{prefix}
cp -rp elfstats %{buildroot}%{prefix}

%install
# undo prelinking
/usr/sbin/prelink -u $RPM_BUILD_ROOT%{prefix}/%{ENVNAME}/bin/python

%clean
rm -rf %{buildroot}

Expand Down

0 comments on commit 5ee9087

Please sign in to comment.