[unison240] track /usr/bin/unison alternative in files

brummbq brummbq at fedoraproject.org
Wed Jan 1 21:34:20 UTC 2014


commit f90483ffdcbbb3f546551eafe78e385d1e692880
Author: Gregor Tätzner <gregor at freenet.de>
Date:   Wed Jan 1 22:30:43 2014 +0100

    track /usr/bin/unison alternative in files

 unison240.spec |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
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 <rdieter at fedoraproject.org> - 2.40.102-6
+- own alternatives target
+
 * Mon Sep 09 2013 Gregor Tätzner <brummbq at fedoraproject.org> - 2.40.102-5
 - ship 2 versions of unison: text only and gtk2 user interface
 - move binaries into subpackages


More information about the scm-commits mailing list