dmlb2000 pushed to genders (master). "add this check for el5"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue May 19 22:04:09 UTC 2015
From 46ab9945e6f9b77f8b11d66b392240c332395e0d Mon Sep 17 00:00:00 2001
From: David Brown <dmlb2000 at gmail.com>
Date: Sat, 2 May 2015 22:44:37 -0700
Subject: add this check for el5
diff --git a/genders.spec b/genders.spec
index a0a2ddd..b48a437 100644
--- a/genders.spec
+++ b/genders.spec
@@ -155,6 +155,9 @@ mkdir -p %{buildroot}/%{_libexecdir}
chmod 0755 %{buildroot}/%{python_sitearch}/lib%{name}.so
mkdir -p %{buildroot}/%{_jnidir}
+%if 0%{?rhel} == 5
+%define _datarootdir %{_prefix}/share
+%endif
mv %{buildroot}/%{_datarootdir}/java/Genders.jar %{buildroot}/%{_jnidir}/
%postun -n libgenders -p /sbin/ldconfig
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/genders.git/commit/?h=master&id=46ab9945e6f9b77f8b11d66b392240c332395e0d
More information about the scm-commits
mailing list