Patch to remove rsyntaxtextarea, as rhel does not provide this package

This commit is contained in:
pmikova 2018-12-03 14:20:00 +01:00
commit 8061ac7bb1
3 changed files with 72 additions and 3 deletions

View file

@ -1,17 +1,20 @@
Summary: Application for extraction and decompilation of JVM byte code
Name: java-runtime-decompiler
Version: 2.0
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv3
URL: https://github.com/pmikova/java-runtime-decompiler
Source0: https://github.com/pmikova/%{name}/archive/%{name}-%{version}.tar.gz
Source1: java-runtime-decompiler
Source2: java-runtime-decompiler.1
Source3: jrd.desktop
# Remove RSyntaxTextArea library from the sources and dependencies, as it is not packaged for epel
Patch1: remove_rsyntaxtextarea.patch
BuildArch: noarch
BuildRequires: maven-local
BuildRequires: byteman
BuildRequires: rsyntaxtextarea
# RHEL does not have this package
# BuildRequires: rsyntaxtextarea
# depends on devel, not runtime (needs tools.jar)
BuildRequires: java-devel = 1:1.8.0
BuildRequires: google-gson
@ -30,6 +33,7 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}-%{name}-%{version}
%patch1 -p1
%build
pushd runtime-decompiler
@ -73,6 +77,10 @@ desktop-file-install --vendor="fedora" \
%license LICENSE
%changelog
* Mon Dec 3 2018 Petra Mikova <petra.alice.mikova@gmail.com> - 2.0-3
- patch to remove rsyntaxtextarea, because rhel does not have the package
- removed from spec and runscript accordingly
* Wed Nov 28 2018 Petra Mikova <petra.alice.mikova@gmail.com> - 2.0-2
- fixed changelog