Minor spec clean-up

epel8
Nicolas Chauvet 5 years ago
parent e719ea2b39
commit 3a7df626cb

@ -53,17 +53,16 @@ echo -e "\ninstall(TARGETS gme_player RUNTIME DESTINATION %{_bindir})" >> player
%build %build
%cmake %cmake
make %{?_smp_mflags} %make_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 %make_build gme_player
%install %install
rm -rf %{buildroot} %make_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 cd player
make install DESTDIR=%{buildroot} %make_install
cd .. cd ..
@ -71,7 +70,8 @@ cd ..
%files %files
%doc changes.txt license.txt readme.txt %doc changes.txt readme.txt
%license license.txt
%{_libdir}/libgme.so.* %{_libdir}/libgme.so.*
%files devel %files devel

Loading…
Cancel
Save