diff --git a/libxcb.spec b/libxcb.spec index bb6d4e3..92a8a13 100644 --- a/libxcb.spec +++ b/libxcb.spec @@ -2,7 +2,7 @@ Name: libxcb Version: 1.11 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A C binding to the X11 protocol License: MIT URL: http://xcb.freedesktop.org/ @@ -19,6 +19,7 @@ BuildRequires: doxygen BuildRequires: graphviz BuildRequires: libtool BuildRequires: libxslt +BuildRequires: pkgconfig BuildRequires: pkgconfig(xau) >= 0.99.2 BuildRequires: pkgconfig(xcb-proto) >= 1.11 BuildRequires: pkgconfig(xorg-macros) >= 1.18 @@ -31,8 +32,7 @@ threading support, and extensibility. %package devel Summary: Development files for %{name} -Requires: %{name} = %{version}-%{release} -Requires: pkgconfig +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing @@ -50,7 +50,8 @@ The %{name}-doc package contains documentation for the %{name} library. %build sed -i 's/pthread-stubs //' configure.ac -autoreconf -v --install +# autoreconf -f needed to expunge rpaths +autoreconf -v -f --install %configure \ --disable-static \ --docdir=%{_pkgdocdir} \ @@ -110,6 +111,10 @@ find $RPM_BUILD_ROOT -name '*.la' -delete %{_pkgdocdir} %changelog +* Tue May 19 2015 Rex Dieter - 1.11-4 +- fix path (use autoreconf -f) +- -devel: tighten deps via %%{?_isa}, drop Requires: pkgconfig (add explicit BR: pkgconfig) + * Thu Jan 08 2015 Simone Caronni - 1.11-3 - Clean up SPEC file, fix rpmlint warnings. - Enable XInput extension (#1177701).