From 2c2b1c5a3b132df9f7fa7b9cc78c6323dab3dc4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 21 Dec 2013 18:31:15 +0200 Subject: [PATCH] Call ldconfig in libwayland-cursor %post* scripts. - Run test suite during build. - Compress snapshot tarballs with xz. --- make-git-snapshot.sh | 2 +- wayland.spec | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/make-git-snapshot.sh b/make-git-snapshot.sh index e39e34d..5c01a36 100755 --- a/make-git-snapshot.sh +++ b/make-git-snapshot.sh @@ -17,6 +17,6 @@ rm -rf $DIRNAME git clone ${REF:+--reference $REF} \ git://git.freedesktop.org/git/wayland/${REPO}/ $DIRNAME/${REPO}/ GIT_DIR=$DIRNAME/${REPO}/.git git archive --format=tar --prefix=${REPO}-${DIRNAME#wayland-}/ ${1:-HEAD} \ - | bzip2 > ${REPO}-${DIRNAME#wayland-}.tar.bz2 + | xz > ${REPO}-${DIRNAME#wayland-}.tar.xz # rm -rf $DIRNAME diff --git a/wayland.spec b/wayland.spec index f8531b1..d506f07 100644 --- a/wayland.spec +++ b/wayland.spec @@ -2,14 +2,14 @@ Name: wayland Version: 1.3.91 -Release: 1%{?gitdate:.%{gitdate}}%{?dist} +Release: 2%{?gitdate:.%{gitdate}}%{?dist} Summary: Wayland Compositor Infrastructure Group: User Interface/X License: MIT URL: http://%{name}.freedesktop.org/ %if 0%{?gitdate} -Source0: wayland-%{gitdate}.tar.bz2 +Source0: wayland-%{gitdate}.tar.xz %else Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz %endif @@ -100,12 +100,19 @@ make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name \*.la | xargs rm -f +%check +mkdir -m 700 tests/run +XDG_RUNTIME_DIR=$PWD/tests/run make check + %clean rm -rf $RPM_BUILD_ROOT %post -n libwayland-client -p /sbin/ldconfig %postun -n libwayland-client -p /sbin/ldconfig +%post -n libwayland-cursor -p /sbin/ldconfig +%postun -n libwayland-cursor -p /sbin/ldconfig + %post -n libwayland-server -p /sbin/ldconfig %postun -n libwayland-server -p /sbin/ldconfig @@ -160,6 +167,11 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/wayland-server.pc %changelog +* Sat Dec 21 2013 Ville Skyttä - 1.3.91-2 +- Call ldconfig in libwayland-cursor %%post* scripts. +- Run test suite during build. +- Compress snapshot tarballs with xz. + * Tue Dec 17 2013 Richard Hughes - 1.3.91-1 - Wayland 1.3.91