OSDN Git Service

linux.h: add some more sysfs helpers, and improve their error handling.
[android-x86/external-efivar.git] / efivar.spec.in
index 78c8449..180e537 100644 (file)
@@ -7,7 +7,7 @@ URL:            https://github.com/rhinstaller/efivar
 Requires:       %{name}-libs = %{version}-%{release}
 ExclusiveArch:  %{ix86} x86_64 aarch64
 
-BuildRequires:  popt-devel git glibc-static libabigail
+BuildRequires:  git glibc-static libabigail
 Source0:        https://github.com/rhboot/efivar/archive/%{version}.tar.gz
 
 %description
@@ -38,7 +38,7 @@ git config --unset user.email
 git config --unset user.name
 
 %build
-make libdir=%{_libdir} bindir=%{_bindir} CFLAGS="$RPM_OPT_FLAGS -flto" LDFLAGS="$RPM_LD_FLAGS -flto"
+make LIBDIR=%{_libdir} BINDIR=%{_bindir} CFLAGS="$RPM_OPT_FLAGS -flto" LDFLAGS="$RPM_LD_FLAGS -flto"
 
 %install
 rm -rf $RPM_BUILD_ROOT