[abe] Rebuild for GCC 4.7. Remove bogus script Requires. Remove unnecessary spec file elements (%clean scr
Jerry James
jjames at fedoraproject.org
Fri Jan 6 23:14:24 UTC 2012
commit 8b1481eb33913a8aeb572f7b8af5a2d10c172899
Author: Jerry James <loganjerry at gmail.com>
Date: Fri Jan 6 16:14:04 2012 -0700
Rebuild for GCC 4.7.
Remove bogus script Requires.
Remove unnecessary spec file elements (%clean script, etc.).
abe.spec | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/abe.spec b/abe.spec
index 9db501d..0beff38 100644
--- a/abe.spec
+++ b/abe.spec
@@ -1,6 +1,6 @@
Name: abe
Version: 1.1
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: Scrolling, platform-jumping, ancient pyramid exploring game
Group: Amusements/Games
@@ -15,8 +15,6 @@ Patch2: abe-1.1-format.patch
BuildRequires: SDL-devel >= 1.2.3, SDL_mixer-devel >= 1.2.3
BuildRequires: libXmu-devel libXi-devel
BuildRequires: desktop-file-utils
-Requires(post): desktop-file-utils
-Requires(postun): desktop-file-utils
%description
A scrolling, platform-jumping, key-collecting, ancient pyramid exploring game,
@@ -34,7 +32,6 @@ sed -i "s/^CFLAGS =.*/CFLAGS = ${RPM_OPT_FLAGS} \$\(SDL_CFLAGS\)/" src/Makefile
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
# make install does not copy the game data files.
@@ -58,9 +55,6 @@ EOF
desktop-file-install --vendor fedora --dir $RPM_BUILD_ROOT/%{_datadir}/applications/ %{name}.desktop
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%post
update-desktop-database %{_datadir}/applications &>/dev/null
@@ -70,7 +64,6 @@ if [ $1 -eq 0 ]; then
fi
%files
-%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/*
%{_datadir}/%{name}
@@ -78,6 +71,11 @@ fi
%{_datadir}/pixmaps/%{name}.png
%changelog
+* Fri Jan 6 2012 Jerry James <loganjerry at gmail.com> - 1.1-14
+- Rebuild for GCC 4.7
+- Remove bogus script Requires
+- Remove unnecessary spec file elements (clean script, etc.)
+
* Mon Mar 14 2011 Jerry James <loganjerry at gmail.com> - 1.1-13
- Fix double free (bz 509052)
- Fix incorrectly-sized format specifier
More information about the scm-commits
mailing list