Fix eln build

Explicitly remove the gdialog binary: even though it doesn't get built
for Fedora, it still does for eln as the build root is different.

Just rm -f it so that we can be sure it doesn't appear in the package.
This commit is contained in:
Kalev Lember 2021-10-06 16:32:01 +02:00
parent 2841e4236e
commit d626dc42ca

View File

@ -1,6 +1,6 @@
Name: zenity
Version: 3.41.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Display dialog boxes from shell scripts
License: LGPLv2+
@ -31,6 +31,9 @@ from the same family as dialog, Xdialog, and cdialog.
%install
%meson_install
# we don't want a perl dependency just for this
rm -f $RPM_BUILD_ROOT%{_bindir}/gdialog
%find_lang zenity --with-gnome
@ -43,6 +46,9 @@ from the same family as dialog, Xdialog, and cdialog.
%changelog
* Wed Oct 06 2021 Kalev Lember <klember@redhat.com> - 3.41.0-2
- Fix eln build
* Mon Aug 23 2021 Kalev Lember <klember@redhat.com> - 3.41.0-1
- Update to 3.41.0
- Switch to meson build system