From d3ef81e6e07cb56dbf1d6e050706640ebc2cceb7c8de0082d5c716b1ceb6ff3d Mon Sep 17 00:00:00 2001
From: Charles Arnold <carnold@suse.com>
Date: Mon, 23 May 2022 18:42:01 +0000
Subject: [PATCH] lua-guestfs should be lua-libguestfs

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=504
---
 libguestfs.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libguestfs.spec b/libguestfs.spec
index 557a439..99f4c47 100644
--- a/libguestfs.spec
+++ b/libguestfs.spec
@@ -456,14 +456,14 @@ Provides:       ruby(guestfs) = %{version}
 %description -n rubygem-%{name}
 ruby-%{name} contains Ruby bindings for %{name}.
 
-%package -n lua-guestfs
+%package -n lua-%{name}
 Summary:        Lua bindings for %{name}
 BuildRequires:  lua-devel
 Requires:       %{name} = %{version}-%{release}
 Requires:       lua
 
-%description -n lua-guestfs
-lua-guestfs contains Lua bindings for %{name}.
+%description -n lua-%{name}
+lua-%{name} contains Lua bindings for %{name}.
 
 %package gobject
 Summary:        GObject bindings for %{name}
@@ -627,7 +627,7 @@ for %{name}.
 %{_libdir}/ruby
 %{_mandir}/man3/guestfs-ruby.3*
 
-%files -n lua-guestfs
+%files -n lua-%{name}
 %doc lua/examples/*.lua
 %doc lua/examples/LICENSE
 %{_libdir}/lua