update to version from git 30.03.2020

This commit is contained in:
Александр 2020-03-30 10:39:03 +00:00
parent 9b9dd0af16
commit 942dbe9ba6

View file

@ -1,21 +1,23 @@
%define date 20200330
%define major 1
%define libname %mklibname %{name} %{major}
%define develname %mklibname -d %{name}
Name: efivar
Version: 35
Release: 4
Epoch: 1
Summary: Tools to manage UEFI variables
License: LGPLv2.1
Group: System/Kernel and hardware
URL: https://github.com/rhboot/efivar
Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/efivar-%{version}.tar.bz2
Name: efivar
Version: 37
Release: 0.git%{date}.3
Epoch: 1
Summary: Tools to manage UEFI variables
License: LGPLv2.1
Group: System/Kernel and hardware
URL: https://github.com/rhboot/efivar
#Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/efivar-%{version}.tar.bz2
Source0: efivar-git%{date}.tar.gz
Requires: %{libname} = %{EVRD}
Requires: %{libname} = %{EVRD}
BuildRequires: pkgconfig(popt)
BuildRequires: glibc-static-devel
BuildRequires: pkgconfig(popt)
BuildRequires: glibc-static-devel
%description
efivar provides a simple command line interface to the UEFI variable facility.
@ -58,11 +60,12 @@ developing applications that use %{name}.
#---------------------------------------------------------------------------
%prep
%setup -q -n %{name}-%{version}
%setup -q -n %{name}-git%{date}
%apply_patches
%build
make \
make -j1 \
libdir=%{_libdir} \
bindir=%{_bindir} \
CFLAGS="$RPM_OPT_FLAGS -Wstrict-aliasing=3 -flto" \