package init
This commit is contained in:
parent
5b9d7ad3aa
commit
75eb932d04
15
undertow-1.4.0-jetty-alpn-api-1.1.0.patch
Normal file
15
undertow-1.4.0-jetty-alpn-api-1.1.0.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff -Nru undertow-1.4.0.Final/core/src/main/java/io/undertow/client/JettyALPNClientProvider.java undertow-1.4.0.Final.alpn-api/core/src/main/java/io/undertow/client/JettyALPNClientProvider.java
|
||||||
|
--- undertow-1.4.0.Final/core/src/main/java/io/undertow/client/JettyALPNClientProvider.java 2016-08-03 01:26:17.000000000 +0200
|
||||||
|
+++ undertow-1.4.0.Final.alpn-api/core/src/main/java/io/undertow/client/JettyALPNClientProvider.java 2016-08-20 23:10:53.879207573 +0200
|
||||||
|
@@ -161,11 +161,6 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
- public boolean supports() {
|
||||||
|
- return true;
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- @Override
|
||||||
|
public List<String> protocols() {
|
||||||
|
return protocols;
|
||||||
|
}
|
||||||
BIN
undertow-1.4.0.Final.tar.gz
Normal file
BIN
undertow-1.4.0.Final.tar.gz
Normal file
Binary file not shown.
64
undertow.spec
Normal file
64
undertow.spec
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
%global namedreltag .Final
|
||||||
|
%global namedversion %{version}%{?namedreltag}
|
||||||
|
Name: undertow
|
||||||
|
Version: 1.4.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Java web server using non-blocking IO
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: http://undertow.io/
|
||||||
|
Source0: https://github.com/undertow-io/undertow/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz
|
||||||
|
# Remove unavailable methods in jetty-alpn-api-1.1.0
|
||||||
|
Patch0: undertow-1.4.0-jetty-alpn-api-1.1.0.patch
|
||||||
|
BuildArch: noarch
|
||||||
|
Epoch: 1
|
||||||
|
BuildRequires: maven-local mvn(junit:junit) mvn(org.eclipse.jetty.alpn:alpn-api)
|
||||||
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
|
||||||
|
BuildRequires: mvn(org.jboss.classfilewriter:jboss-classfilewriter)
|
||||||
|
BuildRequires: mvn(org.jboss.logging:jboss-logging)
|
||||||
|
BuildRequires: mvn(org.jboss.logging:jboss-logging-processor)
|
||||||
|
BuildRequires: mvn(org.jboss.logmanager:jboss-logmanager)
|
||||||
|
BuildRequires: mvn(org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec)
|
||||||
|
BuildRequires: mvn(org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec)
|
||||||
|
BuildRequires: mvn(org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec)
|
||||||
|
BuildRequires: mvn(org.jboss.xnio:xnio-api) mvn(org.jboss.xnio:xnio-nio)
|
||||||
|
%description
|
||||||
|
Java web server using non-blocking IO
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
%description javadoc
|
||||||
|
This package contains the API documentation for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{namedversion}
|
||||||
|
%patch0 -p1
|
||||||
|
rm -rf mac-jdk-fix
|
||||||
|
%pom_disable_module examples
|
||||||
|
%pom_remove_plugin -r :maven-checkstyle-plugin
|
||||||
|
%pom_remove_plugin org.bitstrings.maven.plugins:dependencypath-maven-plugin core
|
||||||
|
%pom_remove_plugin org.bitstrings.maven.plugins:dependencypath-maven-plugin servlet
|
||||||
|
%pom_remove_dep -r io.undertow.build:undertow-checkstyle-config
|
||||||
|
for p in core servlet;do
|
||||||
|
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions" "
|
||||||
|
<execution>
|
||||||
|
<id>default-jar</id>
|
||||||
|
<phase>skip</phase>
|
||||||
|
</execution>" ${p}
|
||||||
|
done
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build -f
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Aug 19 2020 maminjie <maminjie1@huawei.com> - 1.4.0-1
|
||||||
|
- package init
|
||||||
4
undertow.yaml
Normal file
4
undertow.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: undertow-io/undertow
|
||||||
|
tag_prefix: "^"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user