[libsvm] Do not use vendor prefixes on Fedora

Richard Hughes rhughes at fedoraproject.org
Thu Jul 10 10:18:14 UTC 2014


commit 4662e10ce34140d16f82ec68f05315ac96b0b29e
Author: Richard Hughes <richard at hughsie.com>
Date:   Thu Jul 10 11:18:17 2014 +0100

    Do not use vendor prefixes on Fedora

 libsvm.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libsvm.spec b/libsvm.spec
index 9f17228..5d50b6c 100644
--- a/libsvm.spec
+++ b/libsvm.spec
@@ -6,7 +6,7 @@
 
 Name:           libsvm
 Version:        3.18
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        A Library for Support Vector Machines
 
 Group:          Development/Libraries
@@ -26,7 +26,7 @@ Patch4:         %{name}-%{version}.toolsDir.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:  grep
 
-%if 0%{?rhel} <= 5
+%if 0%{?rhel} != 0 && 0%{?rhel} <= 5
 %define moc_path %{_libdir}/qt4/bin/moc
 %define with_vendor "fedora"
 %else
@@ -244,6 +244,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jul 10 2014 Richard Hughes <richard at hughsie.com> - 3.18-5
+- Do not use vendor prefixes on Fedora
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.18-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list