]> git.proxmox.com Git - mirror_spl.git/blob - rpm/generic/spl.spec.in
7ba71fd58d4c87085f40a00a9b5d4227fddd55c6
[mirror_spl.git] / rpm / generic / spl.spec.in
1 # Python permits the !/usr/bin/python shebang for scripts that are cross
2 # compatible between python2 and python3, but Fedora 28 does not. Fedora
3 # wants us to choose python3 for cross-compatible scripts. Since we want
4 # to support python2 and python3 users, exclude our scripts from Fedora 28's
5 # RPM build check, so that we don't get a bunch of build warnings.
6 #
7 # Details: https://github.com/zfsonlinux/zfs/issues/7360
8 #
9 %global __brp_mangle_shebangs_exclude_from splslab.py
10
11 Name: @PACKAGE@
12 Version: @VERSION@
13 Release: @RELEASE@%{?dist}
14 Summary: Commands to control the kernel modules
15
16 Group: System Environment/Kernel
17 License: GPLv2+
18 URL: http://zfsonlinux.org/
19 Source0: %{name}-%{version}.tar.gz
20 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
21 Requires: %{name}-kmod = %{version}
22 Provides: %{name}-kmod-common = %{version}
23
24 %description
25 This package contains the commands to verify the SPL
26 kernel modules are functioning properly.
27
28 %prep
29 %setup -q
30
31 %build
32 %configure --with-config=user
33 make %{?_smp_mflags}
34
35 %install
36 %{__rm} -rf $RPM_BUILD_ROOT
37 make install DESTDIR=%{?buildroot}
38
39 %files
40 %doc AUTHORS COPYING DISCLAIMER
41 %{_bindir}/*
42 %{_sbindir}/*
43 %{_mandir}/man1/*
44 %{_mandir}/man5/*
45
46 %changelog
47 * Wed Jul 26 2017 Brian Behlendorf <behlendorf1@llnl.gov> - 0.7.0-1
48 - Released 0.7.0-1, detailed release notes are available at:
49 - https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.7.0