Remove the temporary autoreconf magic

As the comments say, it was only needed for patch1. While at this, also
drop the ChangeLog file which isn't generated by upstream any more.
This commit is contained in:
Kalev Lember 2014-03-21 14:17:25 +01:00
parent 5f34946f35
commit 0dd72167c3

View File

@ -25,7 +25,6 @@ BuildRequires: libXcomposite-devel
BuildRequires: libXdamage-devel
BuildRequires: libXi-devel
BuildRequires: libevdev-devel
# Temporary for autoreconf
BuildRequires: gettext-devel
Requires: gobject-introspection
%if %{with_wayland}
@ -84,11 +83,7 @@ This package contains documentation for clutter.
%setup -q
%build
# needed for patch1, autogen.sh is not enough due to divergent autoconf
# versions at present - adamw 2013/12
autoreconf -i
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
%configure $CONFIGFLAGS \
%configure \
--enable-xinput \
--enable-gdk-backend \
%if %{with_wayland}
@ -97,12 +92,6 @@ autoreconf -i
--enable-wayland-backend \
--enable-wayland-compositor \
%endif
# clutter git ships with some magic to put the git log in shipped tarballs
# which gets listed in files; don't blow up if it's missing
if ! test -f ChangeLog; then
echo "Created from snapshot" > ChangeLog
fi
)
make %{?_smp_mflags} V=1
@ -125,7 +114,6 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_libdir}/girepository-1.0/*.typelib
%files devel
%doc ChangeLog
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc