Bring source file into correpondence with described in spec file

This commit is contained in:
wang--ge 2022-11-17 15:15:51 +08:00
parent 8c2db074fc
commit 09889f411a
4 changed files with 28 additions and 25 deletions

BIN
2.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: velocity-tools
Version: 2.0
Release: 3
Release: 4
Summary: Collection of useful tools for Velocity template engine
License: ASL 2.0
License: Apache-2.0
Url: http://velocity.apache.org/tools/releases/2.0/
Source0: http://www.apache.org/dist/velocity/tools/%{version}/%{name}-%{version}-src.tar.gz
Source0: https://github.com/apache/velocity-tools/archive/refs/tags/2.0.tar.gz
Patch0: %{name}-%{version}-junit4.patch
Patch1: %{name}-%{version}-dont_copy_test_lib.patch
Patch2: %{name}-%{version}-servlet.patch
@ -42,7 +42,7 @@ Summary: Javadoc for %{name}
This package contains javadoc for %{name}.
%prep
%setup -q -n %{name}-%{version}-src
%setup -q -n %{name}-%{version}
find . -name "SecureLinkTool.java" -delete
find . -name "*.jar" -delete
find . -name "*.class" -delete
@ -80,6 +80,9 @@ sed -i 's/\r//' LICENSE NOTICE WHY_THREE_JARS.txt
%license LICENSE NOTICE
%changelog
* Wed Nov 16 2022 Ge Wang <wangge20@huawei.com> - 2.0-4
- bring source file into correspondence with described in spec file
* Sat Mar 20 2021 zhanghua <zhanghua40@huawei.com> - 2.0-3
- fix CVE-2020-13959