SHA256
1
0
forked from pool/virt-v2v

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
This commit is contained in:
Charles Arnold 2021-02-10 23:25:40 +00:00 committed by Git OBS Bridge
parent abcd99857a
commit e68d451ea5
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 10 22:47:57 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Remove old specfile macros and constructs.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 28 15:20:40 MST 2021 - carnold@suse.com Thu Jan 28 15:20:40 MST 2021 - carnold@suse.com

View File

@ -24,10 +24,9 @@
Name: virt-v2v Name: virt-v2v
Version: 1.43.3 Version: 1.43.3
Release: 1%{?dist} Release: 1
%bcond_without bash_completion Summary: Tools to convert a virtual machine to run on KVM
URL: https://github.com/libguestfs/virt-v2v URL: https://github.com/libguestfs/virt-v2v
Summary: Convert a virtual machine to run on KVM
License: GPL-2.0+ License: GPL-2.0+
Group: System/Management Group: System/Management
@ -141,22 +140,22 @@ autoreconf -i
%build %build
%configure %configure
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
# Delete libtool crap. # 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 # Virt-tools data directory. This contains a symlink to rhsrvany.exe
# which is satisfied by the dependency on mingw32-srvany. # 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). # Delete the v2v test harness (except for the man page).
rm -r $RPM_BUILD_ROOT%{_libdir}/ocaml/v2v_test_harness rm -r %{buildroot}/%{_libdir}/ocaml/v2v_test_harness
rm -r $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/dllv2v_test_harness* rm -r %{buildroot}/%{_libdir}/ocaml/stublibs/dllv2v_test_harness*
# Find locale files. # Find locale files.
%find_lang %{name} %find_lang %{name}