Adapted to F33 System-Wide Change: CMake to do out-of-source builds

(fixes rhbz#1863593)
epel9
Karel Volný 4 years ago
parent a59160243e
commit 748006722d

@ -1,6 +1,6 @@
Name: game-music-emu Name: game-music-emu
Version: 0.6.3 Version: 0.6.3
Release: 3%{?dist} Release: 4%{?dist}
Provides: libgme%{?_isa} = %{version}-%{release} Provides: libgme%{?_isa} = %{version}-%{release}
Summary: Video game music file emulation/playback library Summary: Video game music file emulation/playback library
License: LGPLv2+ License: LGPLv2+
@ -55,18 +55,17 @@ echo -e "\ninstall(TARGETS gme_player RUNTIME DESTINATION %{_bindir})" >> player
%build %build
%cmake %cmake
make %{?_smp_mflags} %cmake_build
# explicitly build the player as it has EXCLUDE_FROM_ALL set # explicitly build the player as it has EXCLUDE_FROM_ALL set
make %{?_smp_mflags} gme_player %cmake_build --target gme_player
%install %install
rm -rf %{buildroot} %cmake_install
make install DESTDIR=%{buildroot}
# explicitly install the player as it has EXCLUDE_FROM_ALL set # explicitly install the player as it has EXCLUDE_FROM_ALL set
cd player pushd %{_vpath_builddir}/player
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
cd .. popd
%ldconfig_scriptlets %ldconfig_scriptlets
@ -87,6 +86,10 @@ cd ..
%changelog %changelog
* Tue Sep 08 2020 Karel Volný <kvolny@redhat.com> 0.6.3-4
- Adapted to F33 System-Wide Change: CMake to do out-of-source builds
(fixes rhbz#1863593)
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-3 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-3
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

Loading…
Cancel
Save