!3 Fix CVE-2019-0231
From: @wang_yue111 Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
ecbddaeb19
BIN
2.0.21.tar.gz
Normal file
BIN
2.0.21.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,11 +1,10 @@
|
||||
Name: apache-mina
|
||||
Version: 2.0.9
|
||||
Version: 2.0.21
|
||||
Release: 1
|
||||
Summary: Apache MINA
|
||||
License: ASL 2.0
|
||||
URL: http://mina.apache.org
|
||||
Source0: http://archive.apache.org/dist/mina/mina/%{version}/%{name}-%{version}-src.tar.gz
|
||||
|
||||
Source0: https://github.com/apache/mina/archive/%{version}.tar.gz
|
||||
BuildRequires: maven-local mvn(com.jcraft:jzlib) mvn(commons-lang:commons-lang)
|
||||
BuildRequires: mvn(org.apache:apache:pom:) mvn(org.slf4j:slf4j-api)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
@ -48,8 +47,7 @@ Summary: API documentation for %{name}
|
||||
This package provides %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
mv src/* .
|
||||
%setup -q -n mina-%{version}
|
||||
sed -i \
|
||||
-e 's|<packaging>bundle</packaging>|<packaging>jar</packaging>|g' \
|
||||
-e 's|<type>bundle</type>|<type>jar</type>|g' \
|
||||
@ -89,5 +87,8 @@ sed -i \
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
|
||||
%changelog
|
||||
* Mon 21 Sep wangyue <wangyue92@huawei.com> - 2.0.21-1
|
||||
- Fix CVE-2019-0231
|
||||
|
||||
* Mon Jul 27 2020 leiju <leiju4@huawei.com> - 2.0.9-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user