replace mvn(com.google.protobuf:protobuf-java) with protobuf-java

Signed-off-by: small_leek <xiasenlin1@huawei.com>
This commit is contained in:
small_leek 2023-07-18 11:12:12 +00:00 committed by Gitee
parent 6d314a4d0f
commit 3e2a1ad267
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,14 +1,14 @@
Name: closure-compiler
Summary: JavaScript minifier and checker
Version: 20160315
Release: 1
Release: 2
License: ASL 2.0
URL: https://developers.google.com/closure/compiler/
Source0: https://github.com/google/closure-compiler/archive/maven-release-v%{version}.tar.gz
Source1: closure-compiler.xml
BuildRequires: maven-local mvn(args4j:args4j) mvn(com.google.code.findbugs:jsr305)
BuildRequires: mvn(com.google.code.gson:gson) mvn(com.google.guava:guava:20.0)
BuildRequires: mvn(com.google.protobuf:protobuf-java) mvn(org.apache.ant:ant)
BuildRequires: protobuf-java mvn(org.apache.ant:ant)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin)
@ -69,5 +69,7 @@ install -Dm0644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
%license COPYING
%changelog
* Tue July 18 2023 senlin <xiasenlin1@huawei.com> - 20160315-2
- replace mvn(com.google.protobuf:protobuf-java) with protobuf-java to avoid been influenced by protobuf2-java
* Thu Aug 13 2020 leiju <leiju4@huawei.com> - 20160315-1
- Package init