# HG changeset patch # User Przemyslaw # Date 1708791930 -3600 # Node ID 8fa14e28f099704a54d80678d62602d22b7e022e # Parent f61684ae82458083f9179609cfc12f34bab4585b flappyufo-spec fix diff -r f61684ae8245 -r 8fa14e28f099 flappyufo/RPM/flappyufo.spec --- a/flappyufo/RPM/flappyufo.spec Sat Feb 10 21:05:36 2024 +0100 +++ b/flappyufo/RPM/flappyufo.spec Sat Feb 24 17:25:30 2024 +0100 @@ -27,8 +27,8 @@ BuildRequires: java-11-openjdk, ant Requires: java-11-openjdk %else -BuildRequires: java-latest-openjdk, ant -Requires: java-latest-openjdk +BuildRequires: java-11-openjdk, ant +Requires: java-11-openjdk %endif BuildArch: noarch @@ -39,13 +39,14 @@ %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} %build +ant clean ant compile ant jar %install -mkdir -p %{buildroot}/usr +#mkdir -p %{buildroot}/usr mkdir -p %{buildroot}/usr/games -mkdir -p %{buildroot}/usr/share +#mkdir -p %{buildroot}/usr/share mkdir -p %{buildroot}/usr/share/flappyufo mkdir -p %{buildroot}/usr/share/applications @@ -60,8 +61,8 @@ %{_datadir}/flappyufo/ /usr/games/ %defattr(0644,root,root) -/usr/games/FloppyUfo.jar -%{_datadir}/flappyufo/floppyufo.png -%{_datadir}/applications/floppyufo.desktop +/usr/games/FlappyUfo.jar +%{_datadir}/flappyufo/flappyufo.png +%{_datadir}/applications/flappyufo.desktop %changelog