From f90483ffdcbbb3f546551eafe78e385d1e692880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20T=C3=A4tzner?= Date: Wed, 1 Jan 2014 22:30:43 +0100 Subject: [PATCH] track /usr/bin/unison alternative in files --- unison240.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/unison240.spec b/unison240.spec index c273161..de25c00 100644 --- a/unison240.spec +++ b/unison240.spec @@ -145,6 +145,9 @@ cp -a %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png desktop-file-install --dir %{buildroot}%{_datadir}/applications \ %{name}.desktop +# create/own alternatives target +touch %{buildroot}%{_bindir}/unison + %posttrans gtk alternatives \ @@ -182,6 +185,7 @@ fi %files gtk +%ghost %{_bindir}/unison %{_bindir}/unison-gtk-%{ver_compat} %{_bindir}/unison-%{ver_compat} %{_datadir}/applications/%{name}.desktop @@ -189,10 +193,14 @@ fi %files text +%ghost %{_bindir}/unison %{_bindir}/unison-text-%{ver_compat} %changelog +* Wed Jan 01 2014 Rex Dieter - 2.40.102-6 +- own alternatives target + * Mon Sep 09 2013 Gregor Tätzner - 2.40.102-5 - ship 2 versions of unison: text only and gtk2 user interface - move binaries into subpackages