forked from pool/bcache-tools
- Cure fallout from %_libexecdir change [boo#1174075, boo#1176244]
OBS-URL: https://build.opensuse.org/package/show/filesystems/bcache-tools?expand=0&rev=25
This commit is contained in:
parent
3477964303
commit
bc77932fcf
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 8 11:58:38 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Cure fallout from %_libexecdir change [boo#1174075, boo#1176244]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 19:27:52 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -40,8 +40,9 @@ This package contains utilities for configuring the bcache Module.
|
||||
|
||||
%build
|
||||
export SUSE_ASNEEDED=0
|
||||
make all CFLAGS="%optflags $(pkg-config blkid uuid smartcols --cflags) -std=gnu99" \
|
||||
LDFLAGS="$(pkg-config blkid uuid smartcols --libs)" %{?_smp_mflags}
|
||||
%make_build all \
|
||||
CFLAGS="%optflags $(pkg-config blkid uuid smartcols --cflags) -std=gnu99" \
|
||||
LDFLAGS="$(pkg-config blkid uuid smartcols --libs)"
|
||||
|
||||
%install
|
||||
b="%buildroot"
|
||||
@ -49,7 +50,7 @@ b="%buildroot"
|
||||
mkdir -p "$b"/{sbin,%_sbindir,%_mandir/man8,/lib/udev/rules.d}
|
||||
mkdir -p "$b/%_sysconfdir/initramfs-tools/scripts/init-premount"
|
||||
mkdir -p "$b/%_sysconfdir/initramfs-tools/hooks"
|
||||
make install DESTDIR="$b" DRACUTLIBDIR="%_libexecdir/dracut"
|
||||
%make_install DRACUTLIBDIR="%_prefix/lib/dracut"
|
||||
# Not used in openSUSE
|
||||
rm -Rf "$b/%_sysconfdir/initramfs-tools" "$b/%_prefix/lib/initcpio" \
|
||||
"$b/%_datadir/initramfs-tools"
|
||||
@ -60,8 +61,8 @@ mv "$b/lib/udev" "$b/%_prefix/lib/"
|
||||
%_sbindir/bcache-super-show
|
||||
%_sbindir/make-bcache
|
||||
%_sbindir/bcache
|
||||
%_prefix/lib/dracut/
|
||||
%_prefix/lib/udev
|
||||
%_libexecdir/dracut/
|
||||
%_mandir/man8/*.8*
|
||||
%license COPYING
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user