mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
Remove usage of the __id_u macro for portability.
This macro was removed from the default RPM macro file. Interestly, some of the arch specific macro's add it back it based on your distro but it should not be counted on. However, __id still exists and its command line args have historically been fairly stable so we will directly use %{__id} -un to get the user name.
This commit is contained in:
parent
39ab544079
commit
f44078fad5
@ -168,7 +168,7 @@ Version: %{version}
|
|||||||
Release: %{release}
|
Release: %{release}
|
||||||
License: @LICENSE@
|
License: @LICENSE@
|
||||||
URL: git://eris.llnl.gov/spl.git
|
URL: git://eris.llnl.gov/spl.git
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un)
|
||||||
Source: @PACKAGE@-%{version}.tar.gz
|
Source: @PACKAGE@-%{version}.tar.gz
|
||||||
Requires: %{requires}
|
Requires: %{requires}
|
||||||
BuildRequires: %{kdevpkg}
|
BuildRequires: %{kdevpkg}
|
||||||
|
@ -10,7 +10,7 @@ Version: %{version}
|
|||||||
Release: %{release}
|
Release: %{release}
|
||||||
License: @LICENSE@
|
License: @LICENSE@
|
||||||
URL: git://eris.llnl.gov/spl.git
|
URL: git://eris.llnl.gov/spl.git
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un)
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
Reference in New Issue
Block a user