[fmt-ptrn] Drop Java support

mikep mikep at fedoraproject.org
Thu Jun 12 19:02:48 UTC 2014


commit 054e2fa24743fa1d78418c89289ee5dc0dffb47e
Author: W. Michael Petullo <mike at flyn.org>
Date:   Thu Jun 12 15:02:36 2014 -0400

    Drop Java support

 fmt-ptrn.spec |   69 ++++++++++++++++++++++++++++++--------------------------
 1 files changed, 37 insertions(+), 32 deletions(-)
---
diff --git a/fmt-ptrn.spec b/fmt-ptrn.spec
index af86718..a624f19 100644
--- a/fmt-ptrn.spec
+++ b/fmt-ptrn.spec
@@ -1,6 +1,6 @@
 Name: fmt-ptrn
 Version: 1.3.22
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 Source: http://www.flyn.org/projects/%name/%{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -8,7 +8,9 @@ URL: http://www.flyn.org
 Summary: A simple template system
 Group: Development/Tools
 Requires: zlib
-BuildRequires: glib2-devel, zlib-devel, java-1.8.0-gcj-devel, libgcj-devel, junit
+# No more gcj in Fedora?
+#BuildRequires: glib2-devel, zlib-devel, java-1.8.0-gcj-devel, libgcj-devel, junit
+BuildRequires: glib2-devel, zlib-devel
 
 %description 
 New is a template system, especially useful in conjunction with a 
@@ -93,35 +95,35 @@ resources needed for developing applications using fmt-ptrn's API.
 
 
 
-%package java
-Summary: Files needed to develop applications using fmt-ptrn's Java classes
-Group: Development/Libraries
-Requires: fmt-ptrn = %{version}-%{release}
-
-%description java
-New is a template system, especially useful in conjunction with a 
-simple text editor such as vi. The user maintains templates which 
-may contain format strings. At run time, nf replaces the format 
-strings in a template with appropriate values to create a new file. 
-This package provides the resources needed for developing applications 
-using fmt-ptrn's Java classes.
-
-
-
-%files java
-%defattr(-, root, root, -)
-%{_libdir}/libnewfmt-ptrnjni.so*
-%{_libdir}/libnewfmt-ptrnjava.so*
-%{_datadir}/java/*
-
-
-%post -n fmt-ptrn-java
-/sbin/ldconfig
-
-
-
-%postun -n fmt-ptrn-java
-/sbin/ldconfig
+#%package java
+#Summary: Files needed to develop applications using fmt-ptrn's Java classes
+#Group: Development/Libraries
+#Requires: fmt-ptrn = %{version}-%{release}
+#
+#%description java
+#New is a template system, especially useful in conjunction with a 
+#simple text editor such as vi. The user maintains templates which 
+#may contain format strings. At run time, nf replaces the format 
+#strings in a template with appropriate values to create a new file. 
+#This package provides the resources needed for developing applications 
+#using fmt-ptrn's Java classes.
+#
+#
+#
+#%files java
+#%defattr(-, root, root, -)
+#%{_libdir}/libnewfmt-ptrnjni.so*
+#%{_libdir}/libnewfmt-ptrnjava.so*
+#%{_datadir}/java/*
+#
+#
+#%post -n fmt-ptrn-java
+#/sbin/ldconfig
+#
+#
+#
+#%postun -n fmt-ptrn-java
+#/sbin/ldconfig
 
 
 %prep
@@ -131,7 +133,7 @@ using fmt-ptrn's Java classes.
 
 
 %build
- %configure  --disable-static
+ %configure  --disable-static --disable-java
 make %{?_smp_mflags}
 
 %install
@@ -153,6 +155,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jun 12 2014 W. Michael Petullo <mike at flyn.org> - 1.3.22-4
+- Do not build Java stuff; it seems gcj is gone
+
 * Thu Jun 12 2014 W. Michael Petullo <mike at flyn.org> - 1.3.22-3
 - Build against Java 1.8
 


More information about the scm-commits mailing list