Drop el6 mention
This commit is contained in:
parent
c261ccf4e5
commit
87ce377c72
|
@ -1,9 +1,6 @@
|
||||||
#global commit0 f92208be88dd06a70b6f79a1cb95571e2762a9ec
|
#global commit0 f92208be88dd06a70b6f79a1cb95571e2762a9ec
|
||||||
#global shortcommit0 %%(c=%%{commit0}; echo ${c:0:7})
|
#global shortcommit0 %%(c=%%{commit0}; echo ${c:0:7})
|
||||||
|
|
||||||
%if 0%{?el6}
|
|
||||||
%global _without_mesa_glvnd_default 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: libglvnd
|
Name: libglvnd
|
||||||
Version: 1.3.2
|
Version: 1.3.2
|
||||||
|
@ -29,25 +26,9 @@ BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xext)
|
BuildRequires: pkgconfig(xext)
|
||||||
BuildRequires: xorg-x11-server-Xvfb
|
BuildRequires: xorg-x11-server-Xvfb
|
||||||
|
|
||||||
%if (0%{?rhel} && 0%{?rhel} <= 6)
|
|
||||||
BuildRequires: autoconf268
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%{?_without_mesa_glvnd_default:
|
%{?_without_mesa_glvnd_default:
|
||||||
%if (0%{?rhel} && 0%{?rhel} <= 6)
|
|
||||||
|
|
||||||
%{?filter_setup:
|
|
||||||
%filter_provides_in %{_libdir}/%{name}
|
|
||||||
%filter_requires_in %{_libdir}/%{name}
|
|
||||||
%filter_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
%else
|
|
||||||
|
|
||||||
%global __provides_exclude_from %{_libdir}/%{name}
|
%global __provides_exclude_from %{_libdir}/%{name}
|
||||||
%global __requires_exclude_from %{_libdir}/%{name}
|
%global __requires_exclude_from %{_libdir}/%{name}
|
||||||
|
|
||||||
%endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -145,11 +126,7 @@ libGL and libGLX are the common dispatch interface for the GLX API.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{name}-%{?commit0}%{?!commit0:%{version}}
|
%autosetup -p1 -n %{name}-%{?commit0}%{?!commit0:%{version}}
|
||||||
%if 0%{?rhel} == 6
|
|
||||||
autoreconf268 -vif
|
|
||||||
%else
|
|
||||||
autoreconf -vif
|
autoreconf -vif
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PYTHON=%{__python3}
|
export PYTHON=%{__python3}
|
||||||
|
|
Loading…
Reference in New Issue