Fix the crappy warning epel7 generates
This commit is contained in:
parent
942f43a5d7
commit
0d026e868e
@ -1,12 +1,15 @@
|
||||
Name: egl-wayland
|
||||
Version: 1.1.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Wayland EGL External Platform library
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/NVIDIA/%{name}
|
||||
Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: 10_nvidia_wayland.json
|
||||
%if 0%{?rhel}
|
||||
Patch0: fix_deprecated-declarations.patch
|
||||
%endif
|
||||
|
||||
BuildRequires: meson
|
||||
BuildRequires: libtool
|
||||
@ -28,7 +31,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Wayland EGL External Platform library development package
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%meson
|
||||
@ -58,6 +61,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
%{_datadir}/wayland-eglstream/
|
||||
|
||||
%changelog
|
||||
* Thu Dec 06 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.1-2
|
||||
- Fix the crappy warning epel7 generates
|
||||
|
||||
* Thu Dec 06 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.1-1
|
||||
- Update to 1.1.1
|
||||
|
||||
|
11
fix_deprecated-declarations.patch
Normal file
11
fix_deprecated-declarations.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
add_project_arguments('-Wall', language : 'c')
|
||||
add_project_arguments('-Werror', language : 'c')
|
||||
+add_project_arguments('-Wno-deprecated-declarations', language : 'c')
|
||||
add_project_arguments('-fvisibility=hidden', language : 'c')
|
||||
add_project_link_arguments('-Wl,-Bsymbolic', language : 'c')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user