Accepting request 832982 from filesystems
- Cure fallout from %_libexecdir change [boo#1174075, boo#1176244] OBS-URL: https://build.opensuse.org/request/show/832982 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bcache-tools?expand=0&rev=12
This commit is contained in:
commit
144fa99181
@ -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>
|
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
|
%build
|
||||||
export SUSE_ASNEEDED=0
|
export SUSE_ASNEEDED=0
|
||||||
make all CFLAGS="%optflags $(pkg-config blkid uuid smartcols --cflags) -std=gnu99" \
|
%make_build all \
|
||||||
LDFLAGS="$(pkg-config blkid uuid smartcols --libs)" %{?_smp_mflags}
|
CFLAGS="%optflags $(pkg-config blkid uuid smartcols --cflags) -std=gnu99" \
|
||||||
|
LDFLAGS="$(pkg-config blkid uuid smartcols --libs)"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
@ -49,7 +50,7 @@ b="%buildroot"
|
|||||||
mkdir -p "$b"/{sbin,%_sbindir,%_mandir/man8,/lib/udev/rules.d}
|
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/scripts/init-premount"
|
||||||
mkdir -p "$b/%_sysconfdir/initramfs-tools/hooks"
|
mkdir -p "$b/%_sysconfdir/initramfs-tools/hooks"
|
||||||
make install DESTDIR="$b" DRACUTLIBDIR="%_libexecdir/dracut"
|
%make_install DRACUTLIBDIR="%_prefix/lib/dracut"
|
||||||
# Not used in openSUSE
|
# Not used in openSUSE
|
||||||
rm -Rf "$b/%_sysconfdir/initramfs-tools" "$b/%_prefix/lib/initcpio" \
|
rm -Rf "$b/%_sysconfdir/initramfs-tools" "$b/%_prefix/lib/initcpio" \
|
||||||
"$b/%_datadir/initramfs-tools"
|
"$b/%_datadir/initramfs-tools"
|
||||||
@ -60,8 +61,8 @@ mv "$b/lib/udev" "$b/%_prefix/lib/"
|
|||||||
%_sbindir/bcache-super-show
|
%_sbindir/bcache-super-show
|
||||||
%_sbindir/make-bcache
|
%_sbindir/make-bcache
|
||||||
%_sbindir/bcache
|
%_sbindir/bcache
|
||||||
|
%_prefix/lib/dracut/
|
||||||
%_prefix/lib/udev
|
%_prefix/lib/udev
|
||||||
%_libexecdir/dracut/
|
|
||||||
%_mandir/man8/*.8*
|
%_mandir/man8/*.8*
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user