]> git.pld-linux.org Git - packages/efibootmgr.git/commitdiff
- updated to 16 auto/th/efibootmgr-16-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 21 Apr 2018 18:46:18 +0000 (20:46 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 21 Apr 2018 18:46:18 +0000 (20:46 +0200)
efibootmgr.spec

index dd2893db16a79c932383cc3078aee3be20f6da36..f4958f8f1f5da328f3d29702cd5ebf139f3f9dba 100644 (file)
@@ -1,12 +1,13 @@
 Summary:       EFI Boot Manager
 Summary(pl.UTF-8):     Boot Manager dla EFI
 Name:          efibootmgr
-Version:       15
+Version:       16
 Release:       1
 License:       GPL v2+
 Group:         Base
+#Source0Download: https://github.com/rhboot/efibootmgr/releases
 Source0:       https://github.com/rhinstaller/efibootmgr/releases/download/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: 62597b082f27da940bf18f0ec8c5907b
+# Source0-md5: ab7cf46774fda951a0e8a40beb65a90e
 URL:           https://github.com/rhinstaller/efibootmgr
 BuildRequires: efivar-devel >= 30
 BuildRequires: popt-devel
@@ -30,21 +31,19 @@ można znaleźć pod adresem
 %setup -q
 
 %build
+CFLAGS="%{rpmcflags}" \
 %{__make} \
        CC="%{__cc}" \
        EFIDIR=pld \
-       EXTRA_CFLAGS="%{rpmcflags} -I/usr/include/efivar" \
        VPATH=%{_libdir} \
        libdir=%{_libdir}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
 
-install src/efibootmgr $RPM_BUILD_ROOT%{_sbindir}
-install src/efibootdump $RPM_BUILD_ROOT%{_sbindir}
-install src/efibootmgr.8 $RPM_BUILD_ROOT%{_mandir}/man8
-install src/efibootdump.8 $RPM_BUILD_ROOT%{_mandir}/man8
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       EFIDIR=pld
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.096244 seconds and 4 git commands to generate.