[tinyfugue] Spec cleanup
Petr Šabata
psabata at fedoraproject.org
Wed Jan 11 14:24:18 UTC 2012
commit 4faadd4fa450c7372165a72e6e4bc8bde5d0104c
Author: Petr Šabata <contyk at redhat.com>
Date: Wed Jan 11 15:21:07 2012 +0100
Spec cleanup
tinyfugue.spec | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/tinyfugue.spec b/tinyfugue.spec
index 395df07..4b80298 100644
--- a/tinyfugue.spec
+++ b/tinyfugue.spec
@@ -1,18 +1,15 @@
-%define packageversion 50b8
+%global packageversion 50b8
Name: tinyfugue
Version: 5.0
Release: 0.15.b8%{?dist}
Summary: A MU* client
-
Group: Applications/Internet
License: GPLv2+
URL: http://tinyfugue.sourceforge.net/
Source: http://downloads.sourceforge.net/tinyfugue/tf-%{packageversion}.tar.gz
Patch0: tf-50b7.build.patch
Patch1: tf-50b8.x86_64.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildRequires: ncurses-devel
BuildRequires: pcre-devel
BuildRequires: openssl-devel
@@ -34,16 +31,11 @@ macros, and create hooks and triggers for automated responses to game messages.
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
install -d %{buildroot}%{_prefix}
make install DESTDIR=%{buildroot}
install -D -p -m 644 src/tf.1.nroffman %{buildroot}%{_mandir}/man1/tf.1
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc CHANGES COPYING CREDITS README
%{_bindir}/tf
%{_datadir}/tf-lib/
More information about the scm-commits
mailing list