[glibmm24] Remove excessive macro use
Kalev Lember
kalev at fedoraproject.org
Thu Jun 21 09:12:38 UTC 2012
commit 664a46ce375843fdfbaed17e440bfceaa8f33587
Author: Kalev Lember <kalevlember at gmail.com>
Date: Thu Jun 21 12:03:17 2012 +0300
Remove excessive macro use
The api_ver macro was only used in one place, and the rest of the spec
file hardcoded "2.4". Removed the macro for now; it makes sense to use
the macro, but only if it's used throughout the entrire spec file, not
just to replace a single occurrence.
glibmm24.spec | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/glibmm24.spec b/glibmm24.spec
index f7a1a96..39acc5d 100644
--- a/glibmm24.spec
+++ b/glibmm24.spec
@@ -1,4 +1,3 @@
-%global api_ver 2.4
# first two digits of version
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
@@ -82,7 +81,7 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%files doc
%doc %{_datadir}/devhelp/
-%doc %{_docdir}/glibmm-%{api_ver}/
+%doc %{_docdir}/glibmm-2.4/
%changelog
More information about the scm-commits
mailing list