[pl] Own jpl.jar file by jpl sub-paackage only

Petr Pisar ppisar at fedoraproject.org
Fri Mar 9 09:38:13 UTC 2012


commit 613e3b00ebb3be4535ac508037edca80129a059c
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Mar 9 10:29:56 2012 +0100

    Own jpl.jar file by jpl sub-paackage only

 pl.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/pl.spec b/pl.spec
index 38f70f2..3e11e21 100644
--- a/pl.spec
+++ b/pl.spec
@@ -3,7 +3,7 @@
 
 Name:       pl
 Version:    6.0.2
-Release:    1%{?dist}
+Release:    2%{?dist}
 
 Summary:    SWI-Prolog - Edinburgh compatible Prolog compiler
 
@@ -258,6 +258,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/swipl-%{version}/xpce/bin/*-linux/xpce-client
 # Exclude the files that are in the sub-packages
 %if %{with_java}
 # JPL
+%exclude %{_libdir}/swipl-%{version}/lib/jpl.jar
 %exclude %{_libdir}/swipl-%{version}/library/jpl.pl
 %endif
 # Devel
@@ -324,6 +325,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/swipl-%{version}/xpce/bin/*-linux/xpce-client
 
 
 %changelog
+* Fri Mar 09 2012 Petr Pisar <ppisar at redhat.com> - 6.0.2-2
+- Own jpl.jar file by jpl sub-package only
+
 * Mon Mar 05 2012 Petr Pisar <ppisar at redhat.com> - 6.0.2-1
 - 6.0.2 bump
 - Artistic licensed code dual-lincensed under GPLv2+ or Artistic 2.0 now


More information about the scm-commits mailing list