Call ldconfig in libwayland-cursor %post* scripts.
- Run test suite during build. - Compress snapshot tarballs with xz.
This commit is contained in:
parent
21330a4867
commit
2c2b1c5a3b
@ -17,6 +17,6 @@ rm -rf $DIRNAME
|
|||||||
git clone ${REF:+--reference $REF} \
|
git clone ${REF:+--reference $REF} \
|
||||||
git://git.freedesktop.org/git/wayland/${REPO}/ $DIRNAME/${REPO}/
|
git://git.freedesktop.org/git/wayland/${REPO}/ $DIRNAME/${REPO}/
|
||||||
GIT_DIR=$DIRNAME/${REPO}/.git git archive --format=tar --prefix=${REPO}-${DIRNAME#wayland-}/ ${1:-HEAD} \
|
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
|
# rm -rf $DIRNAME
|
||||||
|
16
wayland.spec
16
wayland.spec
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
Name: wayland
|
Name: wayland
|
||||||
Version: 1.3.91
|
Version: 1.3.91
|
||||||
Release: 1%{?gitdate:.%{gitdate}}%{?dist}
|
Release: 2%{?gitdate:.%{gitdate}}%{?dist}
|
||||||
Summary: Wayland Compositor Infrastructure
|
Summary: Wayland Compositor Infrastructure
|
||||||
|
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://%{name}.freedesktop.org/
|
URL: http://%{name}.freedesktop.org/
|
||||||
%if 0%{?gitdate}
|
%if 0%{?gitdate}
|
||||||
Source0: wayland-%{gitdate}.tar.bz2
|
Source0: wayland-%{gitdate}.tar.xz
|
||||||
%else
|
%else
|
||||||
Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
|
Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
|
||||||
%endif
|
%endif
|
||||||
@ -100,12 +100,19 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
|
|
||||||
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
|
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
|
||||||
|
|
||||||
|
%check
|
||||||
|
mkdir -m 700 tests/run
|
||||||
|
XDG_RUNTIME_DIR=$PWD/tests/run make check
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post -n libwayland-client -p /sbin/ldconfig
|
%post -n libwayland-client -p /sbin/ldconfig
|
||||||
%postun -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
|
%post -n libwayland-server -p /sbin/ldconfig
|
||||||
%postun -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
|
%{_libdir}/pkgconfig/wayland-server.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 21 2013 Ville Skyttä <ville.skytta@iki.fi> - 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 <rhughes@redhat.com> - 1.3.91-1
|
* Tue Dec 17 2013 Richard Hughes <rhughes@redhat.com> - 1.3.91-1
|
||||||
- Wayland 1.3.91
|
- Wayland 1.3.91
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user