Accepting request 878979 from home:jengelh:branches:Virtualization

factory new package, might as well use contemporary macros/syntaxes

OBS-URL: https://build.opensuse.org/request/show/878979
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=3
This commit is contained in:
James Fehlig 2021-03-15 01:31:59 +00:00 committed by Git OBS Bridge
parent f3b58bb72c
commit 5cd3cdcc60
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Mar 14 18:31:11 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Specfile modernization
-------------------------------------------------------------------
Thu Feb 25 23:25:24 UTC 2021 - James Fehlig <jfehlig@suse.com>

View File

@ -117,13 +117,13 @@ autoreconf -fiv
%make_install
%fdupes %{buildroot}
# Delete libtool crap.
find $RPM_BUILD_ROOT -name '*.la' -delete
find "%{buildroot}" -name '*.la' -delete
# Delete the golang man page since we're not distributing the bindings.
rm $RPM_BUILD_ROOT%{_mandir}/man3/libnbd-golang.3*
rm %{buildroot}/%{_mandir}/man3/libnbd-golang.3*
# Delete the ocaml man page. 'make install' should be fixed to not install it when ocaml is disabled
rm $RPM_BUILD_ROOT%{_mandir}/man3/libnbd-ocaml.3*
rm %{buildroot}/%{_mandir}/man3/libnbd-ocaml.3*
%check
# All fuse tests fail in Koji with:
@ -136,8 +136,8 @@ for f in fuse/test-*.sh; do
done
make %{?_smp_mflags} check || {
for f in $(find -name test-suite.log); do
%make_build check || {
for f in $(find . -name test-suite.log); do
echo
echo "==== $f ===="
cat $f