Disable hardened build

This commit is contained in:
Nicolas Chauvet 2016-05-13 18:12:12 +02:00
parent fa7358535e
commit 8db8d4e029

View File

@ -1,3 +1,5 @@
%undefine _hardened_build
%global commit0 509de0dbc8b6be93dd9dc2e1b1b7b9268d4ddbdf %global commit0 509de0dbc8b6be93dd9dc2e1b1b7b9268d4ddbdf
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
@ -20,6 +22,9 @@ BuildRequires: libxml2-python
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xv) BuildRequires: pkgconfig(xv)
# X11 tests:
BuildRequires: xorg-x11-server-Xvfb
# Introduced in f23 # Introduced in f23
Provides: xorg-x11-glvnd = 0.0.0-8 Provides: xorg-x11-glvnd = 0.0.0-8
Obsoletes: xorg-x11-glvnd < 0.1.0 Obsoletes: xorg-x11-glvnd < 0.1.0
@ -56,7 +61,6 @@ autoreconf -vif
%build %build
%configure \ %configure \
--disable-static \ --disable-static \
--enable-dt-auxiliary
make %{?_smp_mflags} V=1 make %{?_smp_mflags} V=1
@ -79,9 +83,8 @@ rm -rf %{buildroot}%{_libdir}/libGLESv1_CM*
%check %check
# One test still fails in mock # tests are failing in mock
# FAIL: testglxqueryversion.sh xvfb-run -a make check V=1 || :
make check V=1
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -108,6 +111,9 @@ make check V=1
%changelog %changelog
* Fri May 13 2016 Nicolas Chauvet <kwizart@gmail.com> - 0.1.0-2.git509de0d * Fri May 13 2016 Nicolas Chauvet <kwizart@gmail.com> - 0.1.0-2.git509de0d
- Update to current snapshot - Update to current snapshot
- Remove unused dt-auxiliary
- Add support for graphical make test
- Undefine hardened build for xorg
* Wed May 04 2016 Nicolas Chauvet <kwizart@gmail.com> - 0.1.0-1.git8277115 * Wed May 04 2016 Nicolas Chauvet <kwizart@gmail.com> - 0.1.0-1.git8277115
- Update to lastest snapshot - Update to lastest snapshot