bcachefs-tools/bcache-tools.spec
Claudio Fleiner 75a34da9d0 exclude some files from rpm that gets installed
Change-Id: Id7b749358dcae30f448acc5c1c71e42b2687395b
2014-12-27 20:13:20 -08:00

32 lines
805 B
RPMSpec

Summary: bcache-tools: manage local bcache devices
Name: %{package_name}
Version: 0.datera.%{datera_version}
Release: %{?release:%{release}}%{!?release:eng}
Source0: %{name}-%{version}.tar.gz
License: GPLv2
Group: tools
BuildRoot: %{_tmppath}/%{name}-root
Requires: libblkid
BuildRequires: pkgconfig libblkid-devel linux-headers libnih-devel
Summary: tools to manage bcache
Epoch: 5
%description
bcache tools
%install
make DESTDIR=%buildroot INSTALL=/usr/bin/install -C /bld/$RPM_PACKAGE_NAME install
%files
%_bindir/bcacheadm
%_bindir/bcachectl
%_bindir/make-bcache
%_bindir/probe-bcache
%_bindir/bcache-super-show
%_libdir/libbcache.a
%_mandir/man8/*.gz
%exclude %_prefix/etc/initramfs-tools/hooks/bcache
%exclude %_prefix/lib/udev/bcache-register
%exclude %_prefix/lib/udev/rules.d/69-bcache.rules