[vegastrike-data] Fix the documentation symlink to point to the unversioned docdir on F-20+

Hans de Goede jwrdegoede at fedoraproject.org
Fri Aug 9 09:46:59 UTC 2013


commit b7c9c9756ff782852ff501c4dad73161e37b4429
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Fri Aug 9 11:46:49 2013 +0200

    Fix the documentation symlink to point to the unversioned docdir on F-20+
    
      (rhbz#993896)

 vegastrike-data.spec |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/vegastrike-data.spec b/vegastrike-data.spec
index 8198d33..d27344a 100644
--- a/vegastrike-data.spec
+++ b/vegastrike-data.spec
@@ -1,6 +1,6 @@
 Name:           vegastrike-data
 Version:        0.5.1
-Release:        5.r1%{dist}
+Release:        6.r1%{dist}
 Summary:        Data files for Vega Strike
 Group:          Amusements/Games
 License:        GPLv2+
@@ -81,8 +81,12 @@ for i in .vegastrike ai animations bases cockpits communications \
          *.xml *.csv *.config *.cur *.xpm New_Game Version.txt; do
   cp -a $i $RPM_BUILD_ROOT%{_datadir}/vegastrike
 done
+%if 0%{?fedora} && 0%{?fedora} < 20
 ln -s ../doc/%{name}-%{version} \
   $RPM_BUILD_ROOT%{_datadir}/vegastrike/documentation
+%else
+ln -s ../doc/%{name} $RPM_BUILD_ROOT%{_datadir}/vegastrike/documentation
+%endif
 
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps
 install -p -m 644 vegastrike.xpm \
@@ -112,6 +116,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Fri Aug 09 2013 Hans de Goede <hdegoede at redhat.com> - 0.5.1-6.r1
+- Fix the documentation symlink to point to the unversioned docdir on F-20+
+  (rhbz#993896)
+
 * Fri Aug 09 2013 Hans de Goede <hdegoede at redhat.com> - 0.5.1-5.r1
 - Add missing BuildRequires python to fix byte-compiling of python files,
   fixing FTBFS (rhbz#992851)
@@ -134,10 +142,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.1-0.3.beta1.2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
-* Tue Jul 09 2011 Bruno Wolff III <bruno at wolff.to> 0.5.1-0.2.beta.2
+* Sat Jul 09 2011 Bruno Wolff III <bruno at wolff.to> 0.5.1-0.2.beta.2
 - techniques is a new directory that needs to be installed.
 
-* Tue Jul 09 2011 Bruno Wolff III <bruno at wolff.to> 0.5.1-0.1.beta.2
+* Sat Jul 09 2011 Bruno Wolff III <bruno at wolff.to> 0.5.1-0.1.beta.2
 - Update to upstream 0.5.1beta1-2
 - Add optional vegastrike-extra subpackage for extra textures.
 


More information about the scm-commits mailing list