Drop git snapshot handling
We've been building it from tarballs for several years now.
This commit is contained in:
parent
c9cfdd6ffb
commit
5337fa6c50
@ -1,22 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Usage: ./make-git-snapshot.sh [COMMIT]
|
|
||||||
#
|
|
||||||
# to make a snapshot of the given tag/branch. Defaults to HEAD.
|
|
||||||
# Point env var REF to a local repo to reduce clone time.
|
|
||||||
|
|
||||||
DIRNAME=wayland-$( date +%Y%m%d )
|
|
||||||
REPO=wayland
|
|
||||||
|
|
||||||
echo REF ${REF:+--reference $REF}
|
|
||||||
echo DIRNAME $DIRNAME
|
|
||||||
echo HEAD ${1:-HEAD}
|
|
||||||
|
|
||||||
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} \
|
|
||||||
| xz > ${REPO}-${DIRNAME#wayland-}.tar.xz
|
|
||||||
|
|
||||||
# rm -rf $DIRNAME
|
|
13
wayland.spec
13
wayland.spec
@ -1,21 +1,13 @@
|
|||||||
#global gitdate 20130515
|
|
||||||
|
|
||||||
Name: wayland
|
Name: wayland
|
||||||
Version: 1.8.92
|
Version: 1.8.92
|
||||||
Release: 1%{?gitdate:.%{gitdate}}%{?dist}
|
Release: 1%{?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}
|
|
||||||
Source0: wayland-%{gitdate}.tar.xz
|
|
||||||
%else
|
|
||||||
Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
|
Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
|
||||||
%endif
|
|
||||||
Source1: make-git-snapshot.sh
|
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtool
|
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: pkgconfig(libffi)
|
BuildRequires: pkgconfig(libffi)
|
||||||
@ -89,10 +81,9 @@ Requires: wayland-devel%{?_isa} = %{version}-%{release}
|
|||||||
Headers and symlinks for developing wayland server applications.
|
Headers and symlinks for developing wayland server applications.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -v --install
|
|
||||||
%configure --disable-static --enable-documentation
|
%configure --disable-static --enable-documentation
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user