SHA256
1
0
forked from pool/jikes

- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/jikes?expand=0&rev=10
This commit is contained in:
Fridrich Strba 2024-02-21 12:12:45 +00:00 committed by Git OBS Bridge
parent 8f815b43e9
commit 8c8b997575
2 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 21 12:12:25 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Mon Oct 30 08:50:22 UTC 2017 - fstrba@suse.com

View File

@ -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