[libxcb] enable-xkb for weston. --disable-xprint instead of manual rm.
Adam Jackson
ajax at fedoraproject.org
Tue Sep 4 14:40:37 UTC 2012
commit d2a6bc43bc9b042337aa6627d07ae36adf016dc1
Author: Adam Jackson <ajax at redhat.com>
Date: Tue Sep 4 10:40:36 2012 -0400
enable-xkb for weston. --disable-xprint instead of manual rm.
libxcb.spec | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/libxcb.spec b/libxcb.spec
index df3e358..ffebe5f 100644
--- a/libxcb.spec
+++ b/libxcb.spec
@@ -1,6 +1,6 @@
Name: libxcb
Version: 1.8.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A C binding to the X11 protocol
Group: System Environment/Libraries
@@ -53,14 +53,12 @@ The %{name}-doc package contains documentation for the %{name} library.
sed -i 's/pthread-stubs //' configure.ac
autoreconf -v --install
%configure --disable-static --docdir=%{_datadir}/doc/%{name}-%{version} \
- --enable-selinux
+ --enable-selinux --enable-xkb --disable-xprint
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT/%{_libdir}/libxcb-xprint.so*
-rm -f $RPM_BUILD_ROOT/%{_includedir}/xcb/xprint.h
install -m 644 COPYING NEWS README $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
sed 's, at libdir@,%{_libdir},;s, at prefix@,%{_prefix},;s, at exec_prefix@,%{_exec_prefix},' %{SOURCE1} > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/pthread-stubs.pc
@@ -91,6 +89,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libxcb-xf86dri.so.0*
%{_libdir}/libxcb-xfixes.so.0*
%{_libdir}/libxcb-xinerama.so.0*
+%{_libdir}/libxcb-xkb.so.0*
%{_libdir}/libxcb-xselinux.so.0*
%{_libdir}/libxcb-xtest.so.0*
%{_libdir}/libxcb-xv.so.0*
@@ -108,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/doc/%{name}-%{version}
%changelog
+* Tue Sep 04 2012 Adam Jackson <ajax at redhat.com> 1.8.1-3
+- --enable-xkb for weston. --disable-xprint instead of manual rm.
+
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list