Fix whitespaces in CMake file (RHBZ #1366868)

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2016-08-14 09:13:49 +02:00
parent dca00078ab
commit 063e801036
2 changed files with 16 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: SDL2 Name: SDL2
Version: 2.0.4 Version: 2.0.4
Release: 7%{?dist} Release: 8%{?dist}
Summary: A cross-platform multimedia library Summary: A cross-platform multimedia library
License: zlib and MIT License: zlib and MIT
@ -11,6 +11,9 @@ Source1: SDL_config.h
Patch0: multilib.patch Patch0: multilib.patch
# https://bugzilla.libsdl.org/show_bug.cgi?id=3255 # https://bugzilla.libsdl.org/show_bug.cgi?id=3255
Patch1: SDL2-wayland-dyn-wl_proxy_marshal_constructor_versioned.patch Patch1: SDL2-wayland-dyn-wl_proxy_marshal_constructor_versioned.patch
# https://bugzilla.libsdl.org/show_bug.cgi?id=3295
# https://bugzilla.redhat.com/show_bug.cgi?id=1366868
Patch2: bug_822210_fix_sdl2-config.cmake_whitespace.patch
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
BuildRequires: audiofile-devel BuildRequires: audiofile-devel
@ -119,6 +122,9 @@ rm -f %{buildroot}%{_libdir}/*.la
%{_libdir}/lib*.a %{_libdir}/lib*.a
%changelog %changelog
* Sun Aug 14 2016 Igor Gnatenko <ignatenko@redhat.com> - 2.0.4-8
- Fix whitespaces in CMake file (RHBZ #1366868)
* Sun Jul 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.4-7 * Sun Jul 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.4-7
- Remove useless Requirements from -devel subpkg - Remove useless Requirements from -devel subpkg

View File

@ -0,0 +1,9 @@
diff --git a/sdl2-config.cmake.in b/sdl2-config.cmake.in
index e5a036a..03efbe1 100644
--- a/sdl2-config.cmake.in
+++ b/sdl2-config.cmake.in
@@ -8,3 +8,4 @@ set(SDL2_EXEC_PREFIX "@prefix@")
set(SDL2_LIBDIR "@libdir@")
set(SDL2_INCLUDE_DIRS "@includedir@/SDL2")
set(SDL2_LIBRARIES "-L${SDL2_LIBDIR} @SDL_RLD_FLAGS@ @SDL_LIBS@")
+string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES)