[packages/efilinux] - updated to 1.1 - disable SSP for build

qboosh qboosh at pld-linux.org
Fri Feb 28 12:03:57 CET 2014


commit 9b6241efbc90a834546bb72893f53462a41cb898
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Feb 28 12:06:31 2014 +0100

    - updated to 1.1
    - disable SSP for build

 efilinux.spec | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/efilinux.spec b/efilinux.spec
index b5da720..56507be 100644
--- a/efilinux.spec
+++ b/efilinux.spec
@@ -1,12 +1,12 @@
 Summary:	UEFI bootloader
 Summary(pl.UTF-8):	Bootloader UEFI
 Name:		efilinux
-Version:	1.0
+Version:	1.1
 Release:	1
 License:	BSD
 Group:		Applications/System
-Source0:	http://www.kernel.org/pub/linux/utils/boot/efilinux/%{name}-%{version}.tar.xz
-# Source0-md5:	090e45f839cd23b97d05d82daa54508a
+Source0:	https://www.kernel.org/pub/linux/utils/boot/efilinux/%{name}-%{version}.tar.xz
+# Source0-md5:	2d3c46111cd661e65c912a7450cf40e3
 BuildRequires:	gnu-efi
 BuildRequires:	sed >= 4.0
 BuildRequires:	tar >= 1:1.22
@@ -14,6 +14,10 @@ BuildRequires:	xz
 ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# not supported by gnu-efi toolchain
+%define		_fortify_cflags	%{nil}
+%define		_ssp_cflags	%{nil}
+
 %description
 efilinux is a UEFI OS loader. It was created as a reference
 implementation with the aim of being well documented and containing
@@ -27,10 +31,10 @@ dobrze napisany kod źródłowy.
 %prep
 %setup -q
 
-sed -i -e 's/^CFLAGS=/CFLAGS=$(OPTFLAGS) /' Makefile
+%{__sed} -i -e 's/^CFLAGS=/CFLAGS=$(OPTFLAGS) /' Makefile
 # entry.c:457:6: error: 'cmdline' may be used uninitialized in this function [-Werror=uninitialized]
 # entry.c:457:6: error: 'name' may be used uninitialized in this function [-Werror=uninitialized]
-sed -i -e 's/-Werror//' Makefile
+%{__sed} -i -e 's/-Werror//' Makefile
 
 %build
 %{__make} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/efilinux.git/commitdiff/9b6241efbc90a834546bb72893f53462a41cb898



More information about the pld-cvs-commit mailing list