]>
Commit | Line | Data |
---|---|---|
73d08ace TH |
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 | ||
493972c8 BB |
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) | |
9bd8cbc5 | 21 | Requires: %{name}-kmod = %{version} |
493972c8 BB |
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 | |
5578f58b | 41 | %{_bindir}/* |
493972c8 | 42 | %{_sbindir}/* |
40748209 | 43 | %{_mandir}/man1/* |
30607d9b | 44 | %{_mandir}/man5/* |
493972c8 BB |
45 | |
46 | %changelog | |
1f2671b9 BB |
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 |