From a9d56d3b007e6653d9d42245bc904b6aa59e3db2f4879a869f42f50870699dc3 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 21 Feb 2024 12:12:45 +0000 Subject: [PATCH] - Use %patch -P N instead of deprecated %patchN. OBS-URL: https://build.opensuse.org/package/show/Java:packages/jikes?expand=0&rev=10 --- jikes.changes | 12 ++++++++++++ jikes.spec | 17 +++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/jikes.changes b/jikes.changes index c350835..47c5e98 100644 --- a/jikes.changes +++ b/jikes.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Feb 21 12:12:25 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + +------------------------------------------------------------------- +Mon Oct 30 08:50:22 UTC 2017 - fstrba@suse.com + +- With removal of java-1_5_0-gcj-compat, jikes became uninstallable + * Require: jre1.1.x -> jre >= 1.1 +- Spec cleaner + ------------------------------------------------------------------- Wed Dec 21 10:31:39 UTC 2011 - coolo@suse.com diff --git a/jikes.spec b/jikes.spec index 720031e..08819d5 100644 --- a/jikes.spec +++ b/jikes.spec @@ -1,7 +1,7 @@ # # spec file for package jikes # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,7 +22,7 @@ Release: 0 Summary: IBM Java Compiler License: IPL-1.0 Group: Development/Languages/Java -Url: http://jikes.sourceforge.net/ +URL: https://jikes.sourceforge.net/ Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-uninitialized-variables.patch Patch1: %{name}-%{version}-strict_aliasing.patch @@ -61,8 +61,8 @@ Note that you must set CLASSPATH correctly to use jikes. %prep %setup -q -%patch0 -%patch1 +%patch -P 0 +%patch -P 1 cp -v doc/license.htm license.html %build @@ -73,7 +73,7 @@ CXXFLAGS="%{optflags}" \ --prefix=%{_prefix} \ --infodir=%{_infodir} \ --sysconfdir=%{_sysconfdir} -make %{?_smp_mflags} +%make_build %install %make_install @@ -81,8 +81,9 @@ make %{?_smp_mflags} rm %{buildroot}/%{_datadir}/doc/%{name}-%{version}/license.htm %files -%doc AUTHORS COPYING ChangeLog NEWS README TODO doc/license.htm -%{_mandir}/man1/jikes.1%{ext_man} +%license COPYING doc/license.htm +%doc AUTHORS ChangeLog NEWS README TODO +%{_mandir}/man1/jikes.1%{?ext_man} %{_includedir}/* %{_bindir}/jikes