mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
f44078fad5
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.
39 lines
824 B
RPMSpec
39 lines
824 B
RPMSpec
%define name @PACKAGE@
|
|
%define version @VERSION@
|
|
%define release @SPL_META_RELEASE@
|
|
%define debug_package %{nil}
|
|
|
|
Summary: SPL Utils
|
|
Group: Utilities/System
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: %{release}
|
|
License: @LICENSE@
|
|
URL: git://eris.llnl.gov/spl.git
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id} -un)
|
|
Source: %{name}-%{version}.tar.gz
|
|
|
|
%description
|
|
The %{name} package contains the support utilities for the spl.
|
|
|
|
%prep
|
|
%setup
|
|
%build
|
|
%configure --with-config=user
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS ChangeLog COPYING DISCLAIMER INSTALL
|
|
%{_sbindir}/*
|
|
|
|
%post
|
|
%postun
|