Accepting request 887293 from home:wfrisch:branches:Base:System

Hardening: Link as PIE (bsc#1184123).

OBS-URL: https://build.opensuse.org/request/show/887293
OBS-URL: https://build.opensuse.org/package/show/Base:System/libhugetlbfs?expand=0&rev=58
This commit is contained in:
Thomas Renninger 2021-04-22 14:08:49 +00:00 committed by Git OBS Bridge
parent 02511ba8eb
commit 4badc303c9
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 21 12:36:14 UTC 2021 - Wolfgang Frisch <wolfgang.frisch@suse.com>
- Hardening: Link as PIE (bsc#1184123).
-------------------------------------------------------------------
Mon Aug 17 13:48:04 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package libhugetlbfs
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,7 @@
#
%define my_make_flags V=1 CFLAGS="%{optflags} -fPIC" BUILDTYPE=NATIVEONLY PREFIX=%{_prefix} LIBDIR32=%{_libdir} DESTDIR=%{buildroot}
%define my_make_flags V=1 CFLAGS="%{optflags} -fPIC" LDFLAGS="-pie" BUILDTYPE=NATIVEONLY PREFIX=%{_prefix} LIBDIR32=%{_libdir} DESTDIR=%{buildroot}
Name: libhugetlbfs
Version: 2.22
Release: 0
@ -24,7 +24,7 @@ Summary: Helper library for the Huge Translation Lookaside Buffer Filesys
License: LGPL-2.1-or-later
Group: System/Libraries
URL: https://github.com/libhugetlbfs/libhugetlbfs
Source0: https://github.com/libhugetlbfs/libhugetlbfs/releases/download/%{version}/libhugetlbfs-%{version}.tar.gz
Source0: https://github.com/libhugetlbfs/libhugetlbfs/releases/download/%{version}/libhugetlbfs-%{version}.tar.gz
Source1: baselibs.conf
Patch2: libhugetlbfs.s390.patch
Patch4: libhugetlbfs.tests-malloc.patch