Update to 1.1.gitf7fbc4b

This commit is contained in:
Nicolas Chauvet 2016-08-30 19:00:57 +02:00
parent 6753d933cb
commit e33afc51a0

View File

@ -1,22 +1,23 @@
%undefine _hardened_build %undefine _hardened_build
%global commit0 093f0485da8f4e9d39949b8a4ee20fd318b318ad %global commit0 f7fbc4bb8b75eafca2a109db812f437aba717d67
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
Name: libglvnd Name: libglvnd
Version: 0.1.0 Version: 0.1.1
Release: 4%{?commit0:.git%{shortcommit0}}%{?dist} Release: 1%{?commit0:.git%{shortcommit0}}%{?dist}
Summary: The GL Vendor-Neutral Dispatch library Summary: The GL Vendor-Neutral Dispatch library
License: MIT and BSD and LGPLv2+ License: MIT and BSD and LGPLv2+
URL: https://github.com/NVIDIA/libglvnd URL: https://github.com/NVIDIA/libglvnd
Source0: https://github.com/NVIDIA/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz Source0: https://github.com/NVIDIA/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
#This library only target few architectures use case #This library is only intended on theses architectures
ExclusiveArch: x86_64 i686 armv7hl ExclusiveArch: x86_64 i686 armv7hl
BuildRequires: libtool BuildRequires: libtool
BuildRequires: gcc
BuildRequires: libxml2-python BuildRequires: libxml2-python
BuildRequires: pkgconfig(glproto) BuildRequires: pkgconfig(glproto)
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
@ -30,8 +31,8 @@ Provides: xorg-x11-glvnd = 0.0.0-8
Obsoletes: xorg-x11-glvnd < 0.1.0 Obsoletes: xorg-x11-glvnd < 0.1.0
%{!?_with_mesa_glvnd_default: %{!?_with_mesa_glvnd_default:
%global __provides_exclude ^(libGL.\\.so.*|libGLES*\\.so.*)$ %global __provides_exclude ^(libGL\\.so.*|libGLESv2\\.so.*)$
%global __requires_exclude ^(libGL.\\.so.*|libGLES*\\.so.*)$ %global __requires_exclude ^(libGL\\.so.*|libGLESv2\\.so.*)$
} }
@ -53,7 +54,7 @@ developing applications that use %{name}.
%prep %prep
%setup -q -n %{name}-%{?commit0}%{?!commit0:%{version}} %autosetup -n %{name}-%{?commit0}%{?!commit0:%{version}}
autoreconf -vif autoreconf -vif
@ -63,7 +64,7 @@ autoreconf -vif
--enable-asm \ --enable-asm \
--enable-tls --enable-tls
make %{?_smp_mflags} V=1 %make_build V=1
%install %install
@ -85,7 +86,10 @@ rm -rf %{buildroot}%{_libdir}/libGLESv1_CM*
%check %check
export DO_X11_TESTS=1 export DO_X11_TESTS=1
# tests are failing in mock # theses tests are failing in mock
#FAIL: testglxqueryversion.sh
#FAIL: testglxnscrthreads.sh
#reported as https://github.com/NVIDIA/libglvnd/issues/93
xvfb-run -a make check V=1 || : xvfb-run -a make check V=1 || :
@ -113,6 +117,9 @@ xvfb-run -a make check V=1 || :
%changelog %changelog
* Tue Aug 30 2016 Nicolas Chauvet <kwizart@gmail.com> - 0.1.1-1.gitf7fbc4b
- Update to 1.1.gitf7fbc4b
* Tue Jun 14 2016 Nicolas Chauvet <kwizart@gmail.com> - 0.1.0-4.git093f048 * Tue Jun 14 2016 Nicolas Chauvet <kwizart@gmail.com> - 0.1.0-4.git093f048
- Update to 20160610 git commit - Update to 20160610 git commit