Update RPM filters for private libraries

This commit is contained in:
Simone Caronni 2017-04-04 14:01:25 +02:00
parent 701eef859d
commit bb49904e86

View File

@ -8,7 +8,7 @@
Name: libglvnd
Version: 0.2.999
Release: 12%{?commit0:.%{date}git%{shortcommit0}}%{?dist}
Release: 13%{?commit0:.%{date}git%{shortcommit0}}%{?dist}
# Provide an upgrade path from the negativo17.org pkgs which have Epoch 1
Epoch: 1
Summary: The GL Vendor-Neutral Dispatch library
@ -38,8 +38,20 @@ BuildRequires: autoconf268
%endif
%{?_without_mesa_glvnd_default:
%global __provides_exclude ^(libGL\\.so.*|libEGL\\.so.*|libGLES*\\.so.*)$
%global __requires_exclude ^(libGL\\.so.*|libEGL\\.so.*|libGLES*\\.so.*)$
%if 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 __requires_exclude_from %{_libdir}/%{name}
%endif
}
%description
@ -232,6 +244,9 @@ xvfb-run -a make check V=1 || cat `find . -name test-suite.log`
%changelog
* Tue Apr 04 2017 Simone Caronni <negativo17@gmail.com> - 1:0.2.999-13.20170308git8e6e102
- Update RPM filters for private libraries (includes GLX, fixes RHEL 6).
* Mon Apr 03 2017 Simone Caronni <negativo17@gmail.com> - 1:0.2.999-12.20170308git8e6e102
- Update to latest snapshot, remove upstreamed patches.
- Update release to packaging guidelines format.