[maven-eclipse-plugin/f20] Don't use %_libdir in noarch package

Mikolaj Izdebski mizdebsk at fedoraproject.org
Thu Aug 29 12:58:32 UTC 2013


commit e94bae2269dafb3036c867aa8c49eed6611aabda
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Thu Aug 29 14:57:53 2013 +0200

    Don't use %_libdir in noarch package

 maven-eclipse-plugin.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/maven-eclipse-plugin.spec b/maven-eclipse-plugin.spec
index 984acf9..42a19a5 100644
--- a/maven-eclipse-plugin.spec
+++ b/maven-eclipse-plugin.spec
@@ -3,7 +3,7 @@
 
 Name:           maven-eclipse-plugin
 Version:        2.9
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Maven Eclipse Plugin
 
 Group:          Development/Libraries
@@ -73,7 +73,7 @@ CORE_FAKE_VERSION="3.7.100.v20110510-0712"
 CORE_PLUGIN_DIR=$MAVEN_REPO_LOCAL/org/eclipse/core/resources/$CORE_FAKE_VERSION
 
 mkdir -p $CORE_PLUGIN_DIR
-plugin_file=`ls %{_libdir}/eclipse/plugins/org.eclipse.core.resources_*jar`
+plugin_file=`ls /usr/lib{,64}/eclipse/plugins/org.eclipse.core.resources_*jar`
 
 ln -s "$plugin_file" $CORE_PLUGIN_DIR/resources-$CORE_FAKE_VERSION.jar
 
@@ -90,6 +90,9 @@ ln -s "$plugin_file" $CORE_PLUGIN_DIR/resources-$CORE_FAKE_VERSION.jar
 %doc LICENSE NOTICE
 
 %changelog
+* Thu Aug 29 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 2.9-9
+- Don't use %%_libdir in noarch package
+
 * Thu Aug 29 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 2.9-8
 - Remove dependency on easymock
 - Resolves: rhbz#1002477


More information about the scm-commits mailing list