From 2428fc71bcc2bcb4f33a3aed9f87162ae4c24a51 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 2 Oct 2018 13:35:07 -0400 Subject: [PATCH] Avoid gratitious use of %{_bindir} This brakes module builds. --- file-roller.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/file-roller.spec b/file-roller.spec index 08ca533..f297067 100644 --- a/file-roller.spec +++ b/file-roller.spec @@ -1,6 +1,6 @@ Name: file-roller Version: 3.30.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tool for viewing and creating archives License: GPLv2+ @@ -17,11 +17,11 @@ BuildRequires: pkgconfig(json-glib-1.0) >= 0.14.0 BuildRequires: pkgconfig(libnotify) >= 0.4.3 BuildRequires: pkgconfig(libarchive) >= 3.0.0 BuildRequires: file-devel -BuildRequires: (%{_bindir}/gcpio or %{_bindir}/cpio) +BuildRequires: (/usr/bin/gcpio or /usr/bin/cpio) BuildRequires: gettext BuildRequires: itstool -BuildRequires: %{_bindir}/desktop-file-validate -BuildRequires: %{_bindir}/appstream-util +BuildRequires: /usr/bin/desktop-file-validate +BuildRequires: /usr/bin/appstream-util %description File Roller is an application for creating and viewing archives files, @@ -70,6 +70,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.FileRoller. %{_libdir}/nautilus/extensions-3.0/libnautilus-fileroller.so %changelog +* Tue Oct 2 2018 Matthias Clasen - 3.30.1-2 +- Avoid gratitious use of %{_bindir}. This breaks module builds + * Wed Sep 26 2018 Kalev Lember - 3.30.1-1 - Update to 3.30.1