From 6311eef54789715bbb0334d8611ed65256f66cbaa163e637bb55433b0fdd8e53 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 4 Apr 2022 16:40:05 +0000 Subject: [PATCH] remove braces from rpmspec macros OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/unison?expand=0&rev=23 --- unison.spec | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/unison.spec b/unison.spec index b02a509..747711e 100644 --- a/unison.spec +++ b/unison.spec @@ -25,11 +25,11 @@ License: GPL-3.0+ Group: Productivity/Networking/Other BuildRoot: %_tmppath/%name-%version-build URL: https://github.com/bcpierce00/unison -Source0: %{name}-%{version}.tar.xz +Source0: %name-%version.tar.xz #https://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html Source1: unison-2.48.4-manual.html -Source2: %{name}.desktop -Source3: %{name}.png +Source2: %name.desktop +Source3: %name.png BuildRequires: ocaml-lablgtk2-devel > 2.18.5 BuildRequires: ocaml-rpm-macros >= 20210409 BuildRequires: ocamlfind(findlib) @@ -54,22 +54,22 @@ replica to the other. make UISTYLE=gtk2 NATIVE=true %install -install -m 755 -D %{name} %{buildroot}%{_bindir}/%{name} -install -m 755 -D %{name}-fsmonitor %{buildroot}%{_bindir}/%{name}-fsmonitor -install -m 644 -D %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/%{name}.png +install -m 755 -D %name %buildroot%_bindir/%name +install -m 755 -D %name-fsmonitor %buildroot%_bindir/%name-fsmonitor +install -m 644 -D %{SOURCE3} %buildroot%_datadir/pixmaps/%name.png install -m 644 %{SOURCE1} unison-manual.html %if %{defined suse_update_desktop_file} %suse_update_desktop_file -i %name Utility SyncUtility %else -install -m 644 -D %{SOURCE2} %{buildroot}/%{_datadir}/applications/%{name}.desktop +install -m 644 -D %{SOURCE2} %buildroot/%_datadir/applications/%name.desktop %endif %files %defattr(-,root,root,-) %doc COPYING NEWS README unison-manual.html -%{_datadir}/applications/* -%{_datadir}/pixmaps/* -%{_bindir}/%{name} -%{_bindir}/%{name}-fsmonitor +%_datadir/applications/* +%_datadir/pixmaps/* +%_bindir/%name +%_bindir/%name-fsmonitor %changelog