[bam] Attempt at saner SPEC file formatting
Lubomir Rintel
lkundrak at fedoraproject.org
Thu Oct 24 09:43:58 UTC 2013
commit ebceb82f4f1937f00a4c994ebb87d74e9aad477a
Author: Lubomir Rintel <lkundrak at v3.sk>
Date: Thu Oct 24 11:39:53 2013 +0200
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
bam.spec | 17 ++++++-----------
1 files changed, 6 insertions(+), 11 deletions(-)
---
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 <lkundrak at v3.sk> - 0.4.0-6
+- Bulk sad and useless attempt at consistent SPEC file formatting
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list