From 3338e4b85518e7fbe4951ebc5d09f0ab2b402031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Trung=20L=C3=AA?= Date: Tue, 5 May 2020 18:44:42 +1000 Subject: [PATCH] Update RPM spec * Update instructions to fetch 0.99 tarball * Remove missing README.linux file * Add postinstall to create symlink to libvcmi.so --- rpm/vcmi.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/rpm/vcmi.spec b/rpm/vcmi.spec index 09128dc2a..084be4622 100644 --- a/rpm/vcmi.spec +++ b/rpm/vcmi.spec @@ -9,9 +9,9 @@ Group: Amusements/Games # The source for this package was pulled from upstream's vcs. Use the # following commands to generate the tarball: -# wget https://github.com/vcmi/vcmi/archive/0.98.tar.gz -# tar -xzf 0.98.tar.gz vcmi-0.98-1 -Source: vcmi-0.98-1.tar.gz +# wget https://github.com/vcmi/vcmi/archive/0.99.tar.gz +# tar -xzf 0.99.tar.gz vcmi-0.99-1 +Source: vcmi-0.99-1.tar.gz URL: http://forum.vcmi.eu/portal.php @@ -49,7 +49,7 @@ rm -rf %{buildroot} make DESTDIR=%{buildroot} install %files -%doc README.md README.linux license.txt AUTHORS ChangeLog +%doc README.md license.txt AUTHORS ChangeLog %{_bindir}/vcmiclient %{_bindir}/vcmiserver %{_bindir}/vcmibuilder @@ -60,6 +60,9 @@ make DESTDIR=%{buildroot} install %{_datadir}/applications/* %{_datadir}/icons/* +%post +%{__ln_s} -f %{_libdir}/%{name}/libvcmi.so %{_libdir}/libvcmi.so + %changelog * Tue Nov 01 2016 VCMI - 0.99-1