public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/flaw] rawhide: drop ix86 support
Date: Sun, 19 Jul 2026 03:48:58 GMT [thread overview]
Message-ID: <178443293897.1.1396292327966989610.rpms-flaw-391d01a32107@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/flaw
Branch : rawhide
Commit : 391d01a32107d65a35af9d99b69c8af863c8edb1
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-07-19T00:47:54-03:00
Stats : +32/-21 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/flaw/c/391d01a32107d65a35af9d99b69c8af863c8edb1?branch=rawhide
Log:
drop ix86 support
---
diff --git a/flaw.spec b/flaw.spec
index 468132b..16afa5d 100644
--- a/flaw.spec
+++ b/flaw.spec
@@ -1,22 +1,30 @@
-%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
-
-Name: flaw
-Version: 1.3.2a
-Release: %autorelease
-Summary: Free top-down wizard battle game
+Name: flaw
+Version: 1.3.2a
+Release: %autorelease
+Summary: Free top-down wizard battle game
# Automatically converted from old format: GPLv3+ - review is highly recommended.
-License: GPL-3.0-or-later
-URL: http://flaw.sourceforge.net/
-Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+License: GPL-3.0-or-later
+URL: http://flaw.sourceforge.net/
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
#patch to build on aarch64, upstream notified to use autoconf 2.69
-Patch0: flaw-aarch64.patch
+Patch0: flaw-aarch64.patch
+ExcludeArch: %{ix86}
+BuildRequires: desktop-file-utils
+BuildRequires: fdupes
+BuildRequires: gcc
BuildRequires: gcc-c++
-BuildRequires: SDL_image-devel SDL_mixer-devel SDL_ttf-devel SDL-devel gnu-free-serif-fonts
-BuildRequires: SDL_gfx-devel desktop-file-utils gnu-free-sans-fonts gettext intltool
-BuildRequires: gcc
-BuildRequires: make
-Requires: gnu-free-sans-fonts gnu-free-serif-fonts
+BuildRequires: gettext
+BuildRequires: gnu-free-sans-fonts
+BuildRequires: gnu-free-serif-fonts
+BuildRequires: intltool
+BuildRequires: make
+BuildRequires: SDL-devel
+BuildRequires: SDL_gfx-devel
+BuildRequires: SDL_image-devel
+BuildRequires: SDL_mixer-devel
+BuildRequires: SDL_ttf-devel
+Requires: gnu-free-sans-fonts gnu-free-serif-fonts
%description
FLAW is a free top-down wizard battle game.
@@ -37,7 +45,7 @@ chmod 644 src/*.h
sed -i -e '2d' data/flaw.desktop
%build
-%configure --docdir=%{_pkgdocdir}
+%configure --docdir=%{_docdir}/%{name}
%make_build
%install
@@ -50,8 +58,8 @@ sed -i -e '2d' data/flaw.desktop
#
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
#
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
-cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <<EOF
+mkdir -p %{buildroot}%{_metainfodir}
+cat > %{buildroot}%{_metainfodir}/%{name}.appdata.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Edgar Muniz Berlinck <edgar.vv@gmail.com> -->
<!--
@@ -89,16 +97,19 @@ SentUpstream: 2014-09-24
EOF
%find_lang %{name}
+%fdupes %{buildroot}%{_datadir}
+
+%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%files -f %{name}.lang
%{_bindir}/flaw
%{_datadir}/flaw
%{_datadir}/pixmaps/flaw.png
-%{_datadir}/appdata/%{name}.appdata.xml
+%{_metainfodir}/%{name}.appdata.xml
%{_datadir}/applications/flaw.desktop
-%exclude %{_pkgdocdir}/INSTALL
-%doc %{_pkgdocdir}
+%exclude %{_docdir}/%{name}/INSTALL
+%doc %{_docdir}/%{name}
%changelog
%autochangelog
reply other threads:[~2026-07-19 3:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178443293897.1.1396292327966989610.rpms-flaw-391d01a32107@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox