peter pushed to python-sippy (master). "Use freeradius-client-utils (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Sat May 2 17:31:23 UTC 2015


>From 179e4f0515283ef9e9679881b0fba592755f5c49 Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov at gmail.com>
Date: Sat, 2 May 2015 20:18:45 +0300
Subject: Use freeradius-client-utils

* Switch from radiusclient-ng-utils to freeradius-client-utils
* Drop compatibility with EL5

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>

diff --git a/python-sippy.spec b/python-sippy.spec
index 9d89905..c10101d 100644
--- a/python-sippy.spec
+++ b/python-sippy.spec
@@ -1,10 +1,8 @@
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
-%define realname sippy
+%global realname sippy
 
 Name:           python-%{realname}
 Version:        1.0.3
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        B2BUA (back-to-back user agent) SIP call controlling component
 Group:          Development/Libraries
 License:        GPLv2+
@@ -13,12 +11,11 @@ BuildArch:      noarch
 Provides:       %{realname} = %{version}-%{release}
 Source0:        http://b2bua.org/chrome/site/%{realname}-%{version}.tar.gz
 Patch0:         sippy-setup.diff
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 Requires: python-twisted-core
 # for sippy/Radius_client.py
-Requires: radiusclient-ng-utils
+Requires: freeradius-client-utils
 
 
 %description
@@ -50,33 +47,26 @@ python setup.py build
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 python setup.py install --skip-build --root $RPM_BUILD_ROOT
 # remove unused files
 rm -f $RPM_BUILD_ROOT%{python_sitelib}/sippy/b2bua_radius.py*
 rm -f $RPM_BUILD_ROOT%{python_sitelib}/sippy/b2bua_simple.py*
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc COPYING README
 %dir %{_sysconfdir}/%{realname}
 %config(noreplace) %{_sysconfdir}/%{realname}/dictionary
 %{_bindir}/b2bua_radius.py
 %{_bindir}/b2bua_simple.py
-%if 0%{?el5}
-# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=182498
-%exclude %{_bindir}/*.pyc
-%exclude %{_bindir}/*.pyo
-%endif
 %{python_sitelib}/*
 
 
 %changelog
+* Sat May  2 2015 Peter Lemenkov <lemenkov at gmail.com> 1.0.3-11
+- Switch from radiusclient-ng-utils to freeradius-client-utils
+- Drop compatibility with EL5
+
 * Mon Jun 30 2014 Toshio Kuratomi <toshio at fedoraproject.org> - 1.0.3-10
 - Replace python-setuptools-devel BR with python-setuptools
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-sippy.git/commit/?h=master&id=179e4f0515283ef9e9679881b0fba592755f5c49


More information about the scm-commits mailing list