Fridrich Strba 2019-11-27 11:27:28 +00:00 committed by Git OBS Bridge
parent 4778d081f7
commit 12a1e5a1fe
2 changed files with 4 additions and 10 deletions

View File

@ -1,7 +1,7 @@
#
# spec file for package jetty
# spec file for package jetty-minimal
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2000-2007, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@ -26,7 +26,6 @@ Summary: Java Webserver and Servlet Container
License: Apache-2.0 OR EPL-1.0
URL: https://www.eclipse.org/jetty/
Source0: https://github.com/eclipse/%{base_name}.project/archive/%{base_name}-%{version}%{addver}.tar.gz
Patch0: jetty-annotations-asm6.patch
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(javax.annotation:javax.annotation-api)
@ -190,8 +189,6 @@ Summary: Javadoc for %{name}
%prep
%setup -q -n %{base_name}.project-%{base_name}-%{version}%{addver}
%patch0 -p1
find . -name "*.?ar" -exec rm {} \;
find . -name "*.class" -exec rm {} \;

View File

@ -1,7 +1,7 @@
#
# spec file for package jetty
# spec file for package jetty-websocket
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2000-2007, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@ -26,7 +26,6 @@ Summary: The websocket modules for Jetty
License: Apache-2.0 OR EPL-1.0
URL: https://www.eclipse.org/jetty/
Source0: https://github.com/eclipse/%{base_name}.project/archive/%{base_name}-%{version}%{addver}.tar.gz
Patch0: jetty-annotations-asm6.patch
BuildRequires: fdupes
# Multiple providers, chose the 1.0 one over 1.1, since
# the relevant artifacts assume the API version 1.0
@ -114,8 +113,6 @@ Summary: Javadoc for %{name}
%prep
%setup -q -n %{base_name}.project-%{base_name}-%{version}%{addver}
%patch0 -p1
find . -name "*.?ar" -exec rm {} \;
find . -name "*.class" -exec rm {} \;