Skip to content

Commit

Permalink
spec file fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Islam Amer committed Aug 23, 2011
1 parent f03755d commit e112b0a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions rpm/python-ruote-amqp.spec
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
%define name python-ruote-amqp
%define version 2.1.0
%define release 1

%define python python%{?__python_ver}
%define __python /usr/bin/%{python}
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}


Summary: Python Ruote/AMQP client
Name: %{name}
Version: %{version}
Release: %{release}
Name: python-ruote-amqp
Version: 2.1.0
Release: 1
Source0: %{name}_%{version}.orig.tar.gz
License: UNKNOWN
Group: Development/Libraries
Expand All @@ -26,7 +22,7 @@ Url: http://github.com/lbt/ruote-amqp-pyclient
UNKNOWN

%prep
%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}
%setup -n %{name}-%{version}

%build
python setup.py build
Expand Down

0 comments on commit e112b0a

Please sign in to comment.