Remove /usr/bin/playsound* from the package to avoid conflict with SDL2_sound,

users who want this should use SDL2_sound (#2069453)
This commit is contained in:
Hans de Goede 2022-04-02 17:47:24 +02:00
parent 603a682a4e
commit 4bf256e214
1 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Name: SDL_sound Name: SDL_sound
Version: 1.0.3 Version: 1.0.3
Release: 29%{?dist} Release: 30%{?dist}
Summary: Library handling decoding of several popular sound file formats Summary: Library handling decoding of several popular sound file formats
License: LGPLv2+ License: LGPLv2+
URL: http://www.icculus.org/SDL_sound URL: http://www.icculus.org/SDL_sound
@ -57,8 +57,9 @@ doxygen Doxyfile
%install %install
rm -rf $RPM_BUILD_ROOT %make_install
make install DESTDIR=$RPM_BUILD_ROOT # Avoid conflict with SDL2_sound, users who want this should use SDL2_sound
rm $RPM_BUILD_ROOT%{_bindir}/playsound*
# Add namespaces to man pages (livna bug #1181) # Add namespaces to man pages (livna bug #1181)
cp -a docs/man/man3 man3 cp -a docs/man/man3 man3
@ -95,7 +96,6 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%files %files
%license COPYING %license COPYING
%doc README TODO %doc README TODO
%{_bindir}/playsound*
%{_libdir}/libSDL_sound-1.0.so.* %{_libdir}/libSDL_sound-1.0.so.*
%files devel %files devel
@ -106,6 +106,10 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%changelog %changelog
* Sat Apr 2 2022 Hans de Goede <hdegoede@redhat.com> - 1.0.3-30
- Remove /usr/bin/playsound* from the package to avoid conflict with SDL2_sound,
users who want this should use SDL2_sound (#2069453)
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-29 * Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild