From 870ec3c38bfcac6588ae8ae905a3cc5f7037f725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Fri, 19 Jan 2018 17:59:12 +0100 Subject: [PATCH] Fix runtime dependency: 's!lipreport!libreport!g' (#1536580) Prefer %%global over %%define Remove obsolete %%defattr(-,root,root,-) --- setroubleshoot.spec | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/setroubleshoot.spec b/setroubleshoot.spec index 7c0bb8d..9bec27e 100644 --- a/setroubleshoot.spec +++ b/setroubleshoot.spec @@ -1,7 +1,7 @@ Summary: Helps troubleshoot SELinux problems Name: setroubleshoot Version: 3.3.15 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: Applications/System URL: https://pagure.io/setroubleshoot @@ -13,7 +13,7 @@ BuildRequires: desktop-file-utils dbus-glib-devel gtk2-devel libnotify-devel aud BuildRequires: python3-libselinux python3-pydbus python3-gobject gtk3-devel Requires: %{name}-server = %{version}-%{release} Requires: gtk3, libnotify -Requires: libreport-gtk >= 2.2.1-2, lipreport-python3 +Requires: libreport-gtk >= 2.2.1-2, libreport-python3 Requires: python3-gobject, python3-pydbus Requires(post): desktop-file-utils Requires(post): dbus @@ -24,13 +24,13 @@ BuildRequires: xdg-utils Requires: xdg-utils %global pkgpythondir %{python3_sitelib}/%{name} -%define pkgguidir %{_datadir}/%{name}/gui -%define pkgdatadir %{_datadir}/%{name} -%define pkglibexecdir %{_prefix}/libexec/%{name} -%define pkgvardatadir %{_localstatedir}/lib/%{name} -%define pkgconfigdir %{_sysconfdir}/%{name} +%global pkgguidir %{_datadir}/%{name}/gui +%global pkgdatadir %{_datadir}/%{name} +%global pkglibexecdir %{_prefix}/libexec/%{name} +%global pkgvardatadir %{_localstatedir}/lib/%{name} +%global pkgconfigdir %{_sysconfdir}/%{name} %global pkgdatabase %{pkgvardatadir}/setroubleshoot_database.xml -%define username setroubleshoot +%global username setroubleshoot %description setroubleshoot GUI. Application that allows you to view setroubleshoot-server @@ -41,7 +41,6 @@ about the problem and help track its resolution. Alerts can be configured to user preference. The same tools can be run on existing log files. %files -%defattr(-,root,root,-) %{pkgguidir} %config(noreplace) %{_sysconfdir}/xdg/autostart/* %{_datadir}/applications/*.desktop @@ -128,7 +127,6 @@ chown -R setroubleshoot:setroubleshoot %{pkgvardatadir} rm -rf %{buildroot} %files server -f %{name}.lang -%defattr(-,root,root,-) %{_bindir}/sealert %{_sbindir}/sedispatch %{_sbindir}/setroubleshootd @@ -204,10 +202,14 @@ Requires: %{name} = %{version}-%{release} SELinux troubleshoot legacy applet %files legacy -%defattr(-,root,root,-) %{_bindir}/seappletlegacy %changelog +* Fri Jan 19 2018 Björn Esser - 3.3.15-2 +- Fix runtime dependency: 's!lipreport!libreport!g' (#1536580) +- Prefer %%global over %%define +- Remove obsolete %%defattr(-,root,root,-) + * Fri Jan 19 2018 Petr Lautrbach - 3.3.15-1 - Rewrite seapplet to Python3 to use Notify and Gtk 3.0 - Add setroubleshoot-seappletlegacy with legacy seappletlegacy based on Gtk 2