From b7480194ffbfa3f3c7e972aa2b05371ecf65539b Mon Sep 17 00:00:00 2001 From: Christopher Date: Dec 20 2020 17:33:30 +0000 Subject: fixing manpage placement and reverting to 0.5.7.1 --- diff --git a/fix-manpage-placement.patch b/fix-manpage-placement.patch new file mode 100644 index 0000000..ca84f6e --- /dev/null +++ b/fix-manpage-placement.patch @@ -0,0 +1,31 @@ +From 515a24fad435620c91a475a552f7444c375975e9 Mon Sep 17 00:00:00 2001 +From: Christopher +Date: Sun, 20 Dec 2020 09:17:28 -0800 +Subject: [PATCH] fix manpage placement + +--- + meson.build | 2 +- + share/man/{ => man1}/lutris.1 | 0 + 2 files changed, 1 insertion(+), 1 deletion(-) + rename share/man/{ => man1}/lutris.1 (100%) + +diff --git a/meson.build b/meson.build +index f5d6697..2963b09 100644 +--- a/meson.build ++++ b/meson.build +@@ -61,7 +61,7 @@ install_subdir( + ) + + install_man( +- files('share/man/lutris.1'), ++ files('share/man/man1/lutris.1'), + install_dir: join_paths(mandir, 'man1'), + ) + +diff --git a/share/man/lutris.1 b/share/man/man1/lutris.1 +similarity index 100% +rename from share/man/lutris.1 +rename to share/man/man1/lutris.1 +-- +2.29.2 + diff --git a/lutris.spec b/lutris.spec index a113e2b..c22def6 100644 --- a/lutris.spec +++ b/lutris.spec @@ -1,9 +1,8 @@ %define debug_package %{nil} Name: lutris -Version: 0.5.8.1 -Release: 2%{?dist} - +Version: 0.5.7.1 +Release: 4%{?dist} Summary: Install and play any video game easily License: GPLv3 @@ -38,8 +37,12 @@ Recommends: wine-core BuildRequires: fdupes BuildRequires: libappstream-glib -#remove dependency on python-magic as it causes problems atm -Patch0: removing-python-magic-dep.patch +#change manpage placement in 0.5.7.1 +Patch0: fix-manpage-placement.patch + +#gzip manpage +#Patch1: gzip-manfile.patch + %description Lutris is a gaming platform for GNU/Linux. Its goal is to make gaming on Linux as easy as possible by taking care of installing @@ -75,12 +78,15 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications share/applicatio %{_datadir}/icons/hicolor/48x48/apps/%{name}.png %{_datadir}/icons/hicolor/64x64/apps/%{name}.png %{_datadir}/icons/hicolor/128x128/apps/%{name}.png -%{_datadir}/man/man1/%{name}.1.gz %{python3_sitelib}/%{name}-*.egg-info %{python3_sitelib}/%{name}/ %{_datadir}/metainfo/ +%{_datadir}/man/man1/%{name}.1.gz %changelog +* Sun Dec 20 2020 Christopher King - 0.5.7.1-4 +- Reverting to 0.5.7.1 til lutris dev fixes bugs blocking 0.5.8, also fixing manpage placement in that branch + * Sun Nov 29 2020 Christopher King - 0.5.8.1-2 - Patch to remove python-magic as a requirement to fix some issues