Fridrich Strba 2024-02-21 12:51:52 +00:00 committed by Git OBS Bridge
parent c77c1f55ba
commit cc0d8abec1
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 21 12:51:43 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Fri Mar 18 16:44:59 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package jlex
#
# Copyright (c) 2022 SUSE LLC
# 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
@ -23,8 +23,8 @@ Release: 0
Summary: A Lexical Analyzer Generator for Java
License: BSD-3-Clause
Group: Development/Libraries/Java
URL: http://www.cs.princeton.edu/~appel/modern/java/JLex/
Source0: http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/1.2.5/Main.java
URL: https://www.cs.princeton.edu/~appel/modern/java/JLex/
Source0: https://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/1.2.5/Main.java
Source1: %{name}-%{version}.build.xml
Patch0: %{name}-%{version}.static.patch
BuildRequires: ant
@ -44,7 +44,7 @@ JLex is a lexical analyzer generator for Java.
%prep
%setup -q -c -T
cp %{SOURCE0} .
%patch0
%patch -P 0
cp %{SOURCE1} build.xml
%build