[eclipse-changelog] Make changelog resolve properly for pdebuild on x86_64.

Andrew Robinson arobinso at fedoraproject.org
Wed May 23 19:56:50 UTC 2012


commit 7c392f6a6d768fdd8ffe00702b042b46407c3618
Author: Andrew Robinson <arobinso at redhat.com>
Date:   Wed May 23 15:56:37 2012 -0400

    Make changelog resolve properly for pdebuild on x86_64.

 eclipse-changelog.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/eclipse-changelog.spec b/eclipse-changelog.spec
index b025c7a..831c36b 100644
--- a/eclipse-changelog.spec
+++ b/eclipse-changelog.spec
@@ -1,11 +1,11 @@
 %define qualifier      201106060936
-%define eclipse_base   %{_libdir}/eclipse
+%global install_loc    %{_datadir}/eclipse/dropins/changelog
 
 Epoch: 1
 
 Name:           eclipse-changelog
 Version:        2.7.0
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Eclipse ChangeLog plug-in
 
 Group:          Development/Tools
@@ -55,16 +55,19 @@ entries containing function or method names.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-installDir=$RPM_BUILD_ROOT/%{eclipse_base}/dropins/changelog
+installDir=$RPM_BUILD_ROOT/%{install_loc}
 install -d -m 755 $installDir
 unzip -q -d $installDir \
  build/rpmBuild/org.eclipse.linuxtools.changelog.zip
 
 %files
 %doc linuxtools-changelog-parent-0.10.0-src/org.eclipse.linuxtools.changelog/epl-v10.html
-%{eclipse_base}/dropins/changelog
+%{install_loc}
 
 %changelog
+* Wed May 23 2012 Andrew Robinson <arobinso at redhat.com> 1:2.7.0-7
+- Make changelog resolve properly for pdebuild on x86_64.
+
 * Fri May 18 2012 Dan HorĂ¡k <dan[at]danny.cz> - 1:2.7.0-6
 - Make it noarch on Fedora
 


More information about the scm-commits mailing list