From e68d451ea5eac43cf5713e35c5ba0ec7afb95a81927d8489d0d32ef56efe0603 Mon Sep 17 00:00:00 2001 From: Charles Arnold Date: Wed, 10 Feb 2021 23:25:40 +0000 Subject: [PATCH] Accepting request 871008 from home:jengelh:branches:Virtualization - Remove old specfile macros and constructs. OBS-URL: https://build.opensuse.org/request/show/871008 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-v2v?expand=0&rev=10 --- virt-v2v.changes | 5 +++++ virt-v2v.spec | 15 +++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/virt-v2v.changes b/virt-v2v.changes index 864c9b0..2f1f369 100644 --- a/virt-v2v.changes +++ b/virt-v2v.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 10 22:47:57 UTC 2021 - Jan Engelhardt + +- Remove old specfile macros and constructs. + ------------------------------------------------------------------- Thu Jan 28 15:20:40 MST 2021 - carnold@suse.com diff --git a/virt-v2v.spec b/virt-v2v.spec index 59f36bf..2970fad 100644 --- a/virt-v2v.spec +++ b/virt-v2v.spec @@ -24,10 +24,9 @@ Name: virt-v2v Version: 1.43.3 -Release: 1%{?dist} -%bcond_without bash_completion +Release: 1 +Summary: Tools to convert a virtual machine to run on KVM URL: https://github.com/libguestfs/virt-v2v -Summary: Convert a virtual machine to run on KVM License: GPL-2.0+ Group: System/Management @@ -141,22 +140,22 @@ autoreconf -i %build %configure -make %{?_smp_mflags} +%make_build %install %make_install # Delete libtool crap. -find $RPM_BUILD_ROOT -name '*.la' -delete +find %{buildroot} -name '*.la' -delete # Virt-tools data directory. This contains a symlink to rhsrvany.exe # which is satisfied by the dependency on mingw32-srvany. -mkdir -p $RPM_BUILD_ROOT%{_datadir}/virt-tools +mkdir -p %{buildroot}/%{_datadir}/virt-tools # Delete the v2v test harness (except for the man page). -rm -r $RPM_BUILD_ROOT%{_libdir}/ocaml/v2v_test_harness -rm -r $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/dllv2v_test_harness* +rm -r %{buildroot}/%{_libdir}/ocaml/v2v_test_harness +rm -r %{buildroot}/%{_libdir}/ocaml/stublibs/dllv2v_test_harness* # Find locale files. %find_lang %{name}