git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add --with-dracutdir configure option
[zfs.git]
/
zfs.spec.in
diff --git
a/zfs.spec.in
b/zfs.spec.in
index
2bed540
..
7c46964
100644
(file)
--- a/
zfs.spec.in
+++ b/
zfs.spec.in
@@
-2,11
+2,10
@@
%define version @VERSION@
%define release @ZFS_META_RELEASE@
%define debug_package %{nil}
%define version @VERSION@
%define release @ZFS_META_RELEASE@
%define debug_package %{nil}
-%define _prefix /
-%define _libexecdir /usr/libexec
-%define _datadir /usr/share
-%define _includedir /usr/include
+%define _sbindir /sbin
+%define _libdir /%{_lib}
%define _udevdir /lib/udev
%define _udevdir /lib/udev
+%define _dracutdir %{_datadir}/dracut
Summary: ZFS Library and Utils
Group: Utilities/System
Summary: ZFS Library and Utils
Group: Utilities/System
@@
-62,7
+61,10
@@
which are ZFS aware.
%prep
%setup
%build
%prep
%setup
%build
-%configure --with-config=user --without-blkid --with-udevdir=%{_udevdir}
+%configure --with-config=user \
+ --without-blkid \
+ --with-udevdir=%{_udevdir} \
+ --with-dracutdir=%{_dracutdir}
make
%install
make
%install
@@
-74,27
+76,29
@@
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%files
%defattr(-, root, root)
-%doc AUTHORS ChangeLog COPYING COPYRIGHT DISCLAIMER
-%doc OPENSOLARIS.LICENSE README.markdown ZFS.RELEASE
%{_sbindir}/*
%{_sbindir}/*
-%{_bindir}/*
%{_libdir}/*
%{_libdir}/*
+%{_mandir}/man5/*
%{_mandir}/man8/*
%{_mandir}/man8/*
-%{_sysconfdir}/init.d/*
-%{_sysconfdir}/zfs/*
%{_udevdir}/*
%{_udevdir}/*
+%config %{_sysconfdir}/init.d/*
+%config %{_sysconfdir}/zfs/*
+
+%doc AUTHORS COPYING COPYRIGHT DISCLAIMER
+%doc OPENSOLARIS.LICENSE README.markdown ZFS.RELEASE
+
%files devel
%defattr(-,root,root)
%{_includedir}/*
%files test
%defattr(-,root,root)
%files devel
%defattr(-,root,root)
%{_includedir}/*
%files test
%defattr(-,root,root)
-%{_
libexec
dir}/@PACKAGE@/*
+%{_
data
dir}/@PACKAGE@/*
%files dracut
%defattr(-,root,root)
%files dracut
%defattr(-,root,root)
-%{_d
atadir}/dracut
/*
+%{_d
racutdir}
/*
%post
[ -x /sbin/chkconfig ] && /sbin/chkconfig --add zfs
%post
[ -x /sbin/chkconfig ] && /sbin/chkconfig --add zfs