Fix CVE-2019-0231
This commit is contained in:
parent
fa2a95753b
commit
172231b119
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
|
Name: apache-mina
|
||||||
Version: 2.0.9
|
Version: 2.0.21
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Apache MINA
|
Summary: Apache MINA
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://mina.apache.org
|
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: 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:apache:pom:) mvn(org.slf4j:slf4j-api)
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
@ -48,8 +47,7 @@ Summary: API documentation for %{name}
|
|||||||
This package provides %{name}.
|
This package provides %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n mina-%{version}
|
||||||
mv src/* .
|
|
||||||
sed -i \
|
sed -i \
|
||||||
-e 's|<packaging>bundle</packaging>|<packaging>jar</packaging>|g' \
|
-e 's|<packaging>bundle</packaging>|<packaging>jar</packaging>|g' \
|
||||||
-e 's|<type>bundle</type>|<type>jar</type>|g' \
|
-e 's|<type>bundle</type>|<type>jar</type>|g' \
|
||||||
@ -89,5 +87,8 @@ sed -i \
|
|||||||
%doc LICENSE.txt NOTICE.txt
|
%doc LICENSE.txt NOTICE.txt
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jul 27 2020 leiju <leiju4@huawei.com> - 2.0.9-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user