From 0728726a5e44b05be2be88b235cccaa74794306e Mon Sep 17 00:00:00 2001 From: Jan Beran Date: Jul 11 2019 07:31:35 +0000 Subject: Use %{_docdir} macro instead of /usr/share/doc path While converting rpms to flatpaks, we need to use %{_docdir} macro instead of hardcoded path. --- diff --git a/supertux.spec b/supertux.spec index 10e47a9..967acc9 100644 --- a/supertux.spec +++ b/supertux.spec @@ -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 @@ Grabbing power-ups and other stuff on the way. %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 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/supertux2.desktop %changelog +* Thu Jul 11 2019 Jan Beran - 0.6.0-4 +- Use %{_docdir} macro instead of hardcoded /usr/share/doc + * Sun Feb 03 2019 Fedora Release Engineering - 0.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild