#1 Use %{_docdir} macro instead of /usr/share/doc path
Merged 2 months ago by amigadave. Opened 2 months ago by xberry.
rpms/ xberry/supertux use-macro  into  master

file modified
+5 -2

@@ -2,7 +2,7 @@ 

  

  Name:           supertux

  Version:        0.6.0

- Release:        3%{?dist}

+ Release:        4%{?dist}

  Summary:        Jump'n run like game

  

  License:        GPLv2+

@@ -56,7 +56,7 @@ 

  

  %install

  %make_install

- rm -r %{buildroot}/usr/share/doc/supertux2

+ rm -r %{buildroot}%{_docdir}/supertux2

  

  # Icon stuff

  mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps

@@ -85,6 +85,9 @@ 

  

  

  %changelog

+ * Thu Jul 11 2019 Jan Beran <jaberan@redhat.com> - 0.6.0-4

+ - Use %{_docdir} macro instead of hardcoded /usr/share/doc

+ 

  * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-3

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

  

While converting rpms to flatpaks, we need to use %{_docdir}
macro instead of hardcoded path.

Pull-Request has been merged by amigadave

2 months ago