mirror of
https://abf.rosa.ru/djam/efivar.git
synced 2025-02-23 18:52:45 +00:00
update to version from git 30.03.2020
This commit is contained in:
parent
9b9dd0af16
commit
942dbe9ba6
1 changed files with 17 additions and 14 deletions
31
efivar.spec
31
efivar.spec
|
@ -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" \
|
||||
|
|
Loading…
Add table
Reference in a new issue