plfiorini pushed to hawaii-widget-styles (f20). "Attempt at saner SPEC file formatting (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Jun 8 15:31:38 UTC 2015


From ccbf5f2bfa0efdbcd2ebebfb7948afb2a40fa7b5 Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak at v3.sk>
Date: Thu, 24 Oct 2013 11:39:53 +0200
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/hawaii-widget-styles.spec b/hawaii-widget-styles.spec
index 4ca8d2e..0480057 100644
--- a/hawaii-widget-styles.spec
+++ b/hawaii-widget-styles.spec
@@ -4,7 +4,7 @@
 Name:           hawaii-widget-styles
 Summary:        Styles for applications using QtQuick Controls
 Version:        0.1.90
-Release:        2.20130827gitf3bcff6%{?dist}
+Release:        3.20130827gitf3bcff6%{?dist}
 Group:          Applications/System
 License:        LGPLv2+
 URL:            https://github.com/hawaii-desktop/widget-styles
@@ -31,7 +31,7 @@ make %{?_smp_mflags}
 
 
 %install
-make install INSTALL_ROOT=$RPM_BUILD_ROOT
+make install INSTALL_ROOT=%{buildroot}
 
 
 %files
@@ -41,6 +41,9 @@ make install INSTALL_ROOT=$RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Oct 24 2013 Lubomir Rintel <lkundrak at v3.sk> - 0.1.90-3.20130827gitf3bcff6
+- Bulk sad and useless attempt at consistent SPEC file formatting
+
 * Mon Sep 16 2013 Lubomir Rintel <lkundrak at v3.sk> - 0.1.90-2.20130827gitf3bcff6
 - Remove old RPM relics
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/hawaii-widget-styles.git/commit/?h=f20&id=ccbf5f2bfa0efdbcd2ebebfb7948afb2a40fa7b5


More information about the scm-commits mailing list