From e5cf780dbd772be9398c2a6203d3d750ec76cf1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret?= Date: Sun, 28 Jan 2018 11:26:44 +0100 Subject: [PATCH] Remove _builddir --- rpm_spec/core-agent.spec.in | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rpm_spec/core-agent.spec.in b/rpm_spec/core-agent.spec.in index c79a3ed..786a025 100644 --- a/rpm_spec/core-agent.spec.in +++ b/rpm_spec/core-agent.spec.in @@ -275,10 +275,6 @@ Requires: Thunar %description thunar Thunar support for Qubes VM tools -%if 0%{?qubes_builder} -%define _builddir %(pwd) -%endif - %define kde_service_dir /usr/share/kde4/services %define kde5_service_dir /usr/share/kservices5/ServiceMenus @@ -467,7 +463,7 @@ sed 's/^net.ipv4.ip_forward.*/#\0/' -i /etc/sysctl.conf %post qrexec %systemd_post qubes-qrexec-agent.service -%post thunar +%post thunar if [ "$1" = 1 ]; then # There is no system-wide Thunar custom actions. There is only a default # file and a user file created from the default one. Qubes actions need @@ -504,7 +500,7 @@ fi %preun qrexec %systemd_preun qubes-qrexec-agent.service -%postun thunar +%postun thunar if [ "$1" = 0 ]; then if [ -f /etc/xdg/Thunar/uca.xml ] ; then mv /etc/xdg/Thunar/uca.xml{,.uninstall}