[sirius] Run autoreconf to update config.guess/sub for new arch support
Peter Robinson
pbrobinson at fedoraproject.org
Mon Jun 30 17:40:17 UTC 2014
commit 43252be3eace310d2cbc7e63412524f7cbc97e88
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Mon Jun 30 18:40:16 2014 +0100
Run autoreconf to update config.guess/sub for new arch support
sirius.spec | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/sirius.spec b/sirius.spec
index 9b6f168..81e9ea0 100644
--- a/sirius.spec
+++ b/sirius.spec
@@ -1,6 +1,6 @@
Name: sirius
Version: 0.8.0
-Release: 26%{?dist}
+Release: 27%{?dist}
Summary: Reversi game for Gnome
Group: Amusements/Games
@@ -14,13 +14,12 @@ Patch0: sirius-desktop.patch
Patch1: sirius-libm.patch
# Don't use message as a format string
Patch2: format-fix.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libgnomeui-devel
BuildRequires: perl(XML::Parser)
-BuildRequires: intltool libtool
+BuildRequires: libtool intltool autoconf automake
%description
Sirius is a program for playing the game of reversi. The program includes an AI
@@ -49,7 +48,8 @@ transpositions and a less expensive evaluation function.
%build
# Upstream hasn't updated their autotools output in a while and it needs
# to be rebuilt.
-./autogen.sh
+intltoolize --force
+autoreconf -vif
%configure
make %{?_smp_mflags} CFLAGS="%{optflags}"
iconv -f iso8859-1 -t utf-8 AUTHORS > AUTHORS.conv && mv -f AUTHORS.conv AUTHORS
@@ -58,7 +58,6 @@ iconv -f iso8859-1 -t utf-8 README > README.conv && mv -f README.conv README
%install
-%{__rm} -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
%find_lang %{name}
@@ -68,12 +67,7 @@ desktop-file-install --delete-original \
%{buildroot}%{_datadir}/applications/%{name}.desktop
-%clean
-%{__rm} -rf %{buildroot}
-
-
%files -f %{name}.lang
-%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README
%{_bindir}/*
%{_datadir}/%{name}
@@ -82,6 +76,9 @@ desktop-file-install --delete-original \
%changelog
+* Mon Jun 30 2014 Peter Robinson <pbrobinson at fedoraproject.org> 0.8.0-27
+- Run autoreconf to update config.guess/sub for new arch support
+
* Thu Jun 12 2014 Bruno Wolff III <bruno at wolff.to> - 0.8.0-26
- Fix quoting in patch
More information about the scm-commits
mailing list