[kdebindings] - Fix macro usage which caused rpmbuild to generate only srpm
Mamoru Tasaka
mtasaka at fedoraproject.org
Sat Sep 11 14:10:38 UTC 2010
commit af7adddd9fdfadc779ee635f65662e7873ec600f
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date: Sat Sep 11 23:10:25 2010 +0900
- Fix macro usage which caused rpmbuild to generate only srpm
kdebindings.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/kdebindings.spec b/kdebindings.spec
index 7e5180f..4c0f7bd 100644
--- a/kdebindings.spec
+++ b/kdebindings.spec
@@ -38,7 +38,7 @@
Name: kdebindings
Version: 4.5.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: KDE bindings to non-C++ languages
# http://techbase.kde.org/Policies/Licensing_Policy
@@ -262,7 +262,8 @@ Falcon plugin for the Kross archtecture in KDE4.
%setup -q -n kdebindings-%{version}%{?alphatag}
%patch50 -p1 -b .RUBY_VERSION
-%if "%{?_%{_sip_api}" >= "8.0"
+# "10.0" < "8.0", so generally string comparison does not work (mtasaka)
+%if 0%{?_sip_api_major} >= 8
%patch51 -p1 -b .sip_api_8
%endif
@@ -552,6 +553,9 @@ fi
%changelog
+* Sat Sep 11 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 4.5.1-3
+- Fix macro usage which caused rpmbuild to generate only srpm
+
* Thu Sep 09 2010 Rex Dieter <rdieter at fedoraproject.org> - 4.5.1-2
- rebuild (sip)
More information about the scm-commits
mailing list