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
Version: 1.0.3
Release: 29%{?dist}
Release: 30%{?dist}
Summary: Library handling decoding of several popular sound file formats
License: LGPLv2+
URL: http://www.icculus.org/SDL_sound
@ -57,8 +57,9 @@ doxygen Doxyfile
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%make_install
# 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)
cp -a docs/man/man3 man3
@ -95,7 +96,6 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%files
%license COPYING
%doc README TODO
%{_bindir}/playsound*
%{_libdir}/libSDL_sound-1.0.so.*
%files devel
@ -106,6 +106,10 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild