From ebceb82f4f1937f00a4c994ebb87d74e9aad477a Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Oct 24 2013 09:39:53 +0000 Subject: Attempt at saner SPEC file formatting I'm doing this semi-automatically across all packages I maintain, since some are several years old and since then several have suffered bit-rot and such. I'm fixing up the following: - Old RPM relics (such as %defattr, BuildRoot or %clean sections) - Whitespace errors (such as trailing spaces) - Consistent use of %{buildroot} - Dropping useless %{name} expansions that harm legibility - Consistent spacing between RPM sections - Bad days in %changelogs --- diff --git a/bam.spec b/bam.spec index 5d17b39..fb342ea 100644 --- a/bam.spec +++ b/bam.spec @@ -1,23 +1,22 @@ Name: bam Version: 0.4.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A build-system Group: Amusements/Games License: zlib URL: http://matricks.github.com/bam/ Source0: http://github.com/downloads/matricks/bam/%{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description -A tool that controls process of producing executables of +A tool that controls process of producing executables of software from its source code. Used to build the Teeworlds game. %prep -%setup -q +%setup -q %build @@ -25,23 +24,19 @@ sh -x make_unix.sh %{optflags} %install -rm -rf %{buildroot} - install -D -m 0755 %{name} \ %{buildroot}%{_bindir}/%{name} -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %doc docs/ examples/ %{_bindir}/%{name} %changelog +* Thu Oct 24 2013 Lubomir Rintel - 0.4.0-6 +- Bulk sad and useless attempt at consistent SPEC file formatting + * Sat Aug 03 2013 Fedora Release Engineering - 0.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild