Standardize the spec file.

(cherry picked from commit 5bc8b59359c779701201d30421208e285ca6e5ca)
This commit is contained in:
xuguangmin 2024-11-07 16:12:53 +08:00 committed by openeuler-sync-bot
parent 807bb0a7a6
commit 268b4fe2b1

View File

@ -1,6 +1,6 @@
Name: jacorb
Version: 2.3.1
Release: 1
Release: 2
Summary: The Java implementation of the OMG's CORBA standard
License: LGPLv2
URL: http://www.jacorb.org/index.html
@ -34,13 +34,13 @@ cp %{SOURCE3} jacorb-idl-compiler.pom
find -name '*.class' -exec rm -f '{}' \;
find -name '*.jar' -exec rm -f '{}' \;
find -name '*.zip' -exec rm -f '{}' \;
%patch0 -p1
%patch1 -p0
%patch2 -p1
%patch3 -p0
%patch4 -p0
%patch5 -p0
%patch6 -p1
%patch 0 -p1
%patch 1 -p0
%patch 2 -p1
%patch 3 -p0
%patch 4 -p0
%patch 5 -p0
%patch 6 -p1
sed -i 's|,notification||' src/org/jacorb/build.xml
ln -s $(build-classpath antlr) lib/antlr-2.7.2.jar
ln -s $(build-classpath slf4j/api) lib/slf4j-api-1.5.6.jar
@ -62,12 +62,14 @@ ant all doc
%mvn_install -J doc/api
%files -f .mfiles
%dir %{_javadir}/%{name}
%doc doc/LICENSE
%files javadoc -f .mfiles-javadoc
%doc doc/LICENSE
%changelog
* Thu Nov 07 2024 xuguangmin <xuguangmin@kylinos.cn> - 2.3.1-2
- Standardize the spec file.
* Wed Sep 2 2020 Ge Wang <wangge20@huawei.com> - 2.3.1-1
- Package init