Accepting request 120999 from home:worldcitizen:branches:network

Enable the same CFLAGS as for other hardware

OBS-URL: https://build.opensuse.org/request/show/120999
OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=39
This commit is contained in:
Marcus Meissner 2012-05-16 22:31:35 +00:00 committed by Git OBS Bridge
parent 4e890a35c8
commit 69864838c9
2 changed files with 11 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 14 21:47:20 UTC 2012 - joop.boonen@opensuse.org
- Enable the same CFLAGS as for other hardware
-------------------------------------------------------------------
Wed Oct 19 13:55:27 UTC 2011 - vcizek@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package freeradius-server
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,14 +16,13 @@
#
Name: freeradius-server
Version: 2.1.12
Release: 1
License: GPL-2.0 ; LGPL-2.1
Release: 0
Summary: Very Highly Configurable Radius Server
Url: http://www.freeradius.org/
License: GPL-2.0 ; LGPL-2.1
Group: Productivity/Networking/Radius/Servers
Url: http://www.freeradius.org/
Source: %{name}-%{version}.tar.bz2
Patch1: freeradius-server-2.1.6-dialup_admin.patch
Patch2: freeradius-server-2.1.6-rcradiusd.patch
@ -70,8 +69,8 @@ PreReq: pwdutils
Requires: %{name}-libs = %{version}
Requires: python
Recommends: logrotate
Provides: radiusd
Provides: freeradius = %{version}
Provides: radiusd
Obsoletes: freeradius < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Conflicts: radiusd-livingston radiusd-cistron icradius
@ -114,7 +113,6 @@ attributes Selecting a particular configuration Authentication methods
%endif
%package libs
License: GPL-2.0 ; LGPL-2.1
Summary: FreeRADIUS shared library
Group: Productivity/Networking/Radius/Servers
@ -122,7 +120,6 @@ Group: Productivity/Networking/Radius/Servers
The FreeRADIUS shared library
%package utils
License: GPL-2.0 ; LGPL-2.1
Summary: FreeRADIUS Clients
Group: Productivity/Networking/Radius/Clients
Requires: %{name}-libs = %{version}
@ -143,7 +140,6 @@ features are:
* Accounting methods
%package dialupadmin
License: GPL-2.0 ; LGPL-2.1
Summary: Web management for FreeRADIUS
Group: Productivity/Networking/Radius/Servers
Requires: http_daemon
@ -161,7 +157,6 @@ supported) or in LDAP. Apart from the web pages, it also includes a
number of scripts to make the administrator's life a lot easier.
%package devel
License: GPL-2.0 ; LGPL-2.1
Summary: FreeRADIUS Development Files (static libs)
Group: Development/Libraries/C and C++
Requires: %{name}-libs = %{version}
@ -170,7 +165,6 @@ Requires: %{name}-libs = %{version}
These are the static libraries for the FreeRADIUS package.
%package doc
License: GPL-2.0 ; LGPL-2.1
Summary: FreeRADIUS Documentation
Group: Productivity/Networking/Radius/Servers
Requires: %{name}
@ -199,7 +193,7 @@ find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g
# So we disable it here, if you want to retest, just delete this comment and the line below.
export SUSE_ASNEEDED=0
export CFLAGS="%{optflags} -DLDAP_DEPRECATED -fstack-protector"
%ifarch x86_64 ppc ppc64 s390 s390x
%ifarch x86_64 ppc ppc64 s390 s390x %arm
export CFLAGS="$CFLAGS -fPIC -DPIC"
%endif
export LDFLAGS="-pie"