[elfutils] Cosmetic .spec twiddling; add URLs for patch files.

roland roland at fedoraproject.org
Fri Aug 6 03:23:27 UTC 2010


commit eed37ea4bdc354cff413903ef46e2ddbd7c88c74
Author: Roland McGrath <roland at redhat.com>
Date:   Thu Aug 5 20:06:58 2010 -0700

    Cosmetic .spec twiddling; add URLs for patch files.

 elfutils.spec |   30 ++++++++++++++++--------------
 1 files changed, 16 insertions(+), 14 deletions(-)
---
diff --git a/elfutils.spec b/elfutils.spec
index 8cd43bb..74b77bc 100644
--- a/elfutils.spec
+++ b/elfutils.spec
@@ -1,5 +1,11 @@
-%global eu_version 0.148
-%global eu_release 1
+Name: elfutils
+Summary: A collection of utilities and DSOs to handle compiled objects
+Version: 0.148
+%global baserelease 1
+URL: https://fedorahosted.org/elfutils/
+%global source_url http://fedorahosted.org/releases/e/l/elfutils/%{version}/
+License: GPLv2 with exceptions
+Group: Development/Tools
 
 %if %{?_with_compat:1}%{!?_with_compat:0}
 %global compat 1
@@ -29,20 +35,16 @@
 
 %global depsuffix %{?_isa}%{!?_isa:-%{_arch}}
 
-Summary: A collection of utilities and DSOs to handle compiled objects
-Name: elfutils
-Version: %{eu_version}
+Source: %{?source_url}%{name}-%{version}.tar.bz2
+Patch1: %{?source_url}elfutils-robustify.patch
+Patch2: %{?source_url}elfutils-portability.patch
+
 %if !%{compat}
-Release: %{eu_release}%{?dist}
+Release: %{baserelease}%{?dist}
 %else
-Release: 0.%{eu_release}
+Release: 0.%{baserelease}
 %endif
-License: GPLv2 with exceptions
-Group: Development/Tools
-URL: https://fedorahosted.org/elfutils/
-Source: http://fedorahosted.org/releases/e/l/elfutils/%{name}-%{version}.tar.bz2
-Patch1: elfutils-robustify.patch
-Patch2: elfutils-portability.patch
+
 Requires: elfutils-libelf%{depsuffix} = %{version}-%{release}
 Requires: elfutils-libs%{depsuffix} = %{version}-%{release}
 
@@ -268,7 +270,7 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_bindir}/eu-size
 %{_bindir}/eu-strings
 %{_bindir}/eu-strip
-#%{_bindir}/eu-ld
+#%%{_bindir}/eu-ld
 %{_bindir}/eu-unstrip
 %{_bindir}/eu-make-debug-archive
 


More information about the scm-commits mailing list