forked from pool/bcache-tools
Move udev rules to /usr/lib/udev/..
OBS-URL: https://build.opensuse.org/package/show/filesystems/bcache-tools?expand=0&rev=2
This commit is contained in:
parent
90eca80800
commit
e369fffdd9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 26 21:30:55 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Move udev rules to /usr/lib/udev/rules.d
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 26 09:07:16 UTC 2013 - jengelh@inai.de
|
Tue Feb 26 09:07:16 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -40,19 +40,22 @@ make all CFLAGS="%optflags" %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
mkdir -p "$b"/{sbin,usr/sbin,usr/share/man/man8,lib/udev/rules.d}
|
# Without these existing, make install would fail
|
||||||
mkdir -p "$b/etc/initramfs-tools/scripts/init-premount"
|
mkdir -p "$b"/{sbin,%_sbindir,%_mandir/man8,/lib/udev/rules.d}
|
||||||
mkdir -p "$b/etc/initramfs-tools/hooks"
|
mkdir -p "$b/%_sysconfdir/initramfs-tools/scripts/init-premount"
|
||||||
|
mkdir -p "$b/%_sysconfdir/initramfs-tools/hooks"
|
||||||
make install DESTDIR="$b"
|
make install DESTDIR="$b"
|
||||||
rm -Rf "$b/etc/initramfs-tools"
|
rm -Rf "$b/%_sysconfdir/initramfs-tools"
|
||||||
|
mkdir -p "$b/%_prefix/lib/udev/rules.d"
|
||||||
|
mv "$b/lib/udev/rules.d"/* "$b/%_prefix/lib/udev/rules.d/"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_sbindir/make-bcache
|
%_sbindir/make-bcache
|
||||||
/sbin/probe-bcache
|
/sbin/probe-bcache
|
||||||
%dir /lib/udev
|
%dir %_prefix/lib/udev
|
||||||
%dir /lib/udev/rules.d
|
%dir %_prefix/lib/udev/rules.d
|
||||||
/lib/udev/rules.d/61-bcache.rules
|
%_prefix/lib/udev/rules.d/61-bcache.rules
|
||||||
%_mandir/man8/*.8*
|
%_mandir/man8/*.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user