Projects
openEuler:Mainline
polyglot
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:tesla-polyglot.spec
Changed
@@ -1,12 +1,13 @@ #Basic Information Name: tesla-polyglot Version: 0.2.1 -Release: 3 +Release: 5 Summary: Modules to enable Maven usage in other JVM languages -License: EPL +License: EPL-1.0 URL: https://github.com/takari/maven-polyglot Source0: https://github.com/takari/polyglot-maven/archive/polyglot-%{version}.tar.gz Source1: eclipse-1.0.txt +Patch0: polyglot-snakeyaml-1.25.patch BuildArch: noarch #Dependency @@ -87,7 +88,7 @@ #Build sections %prep -%setup -q -n polyglot-maven-polyglot-%{version} +%autosetup -n polyglot-maven-polyglot-%{version} -p1 find -name "*.class" -delete find -name "*.jar" -delete @@ -162,7 +163,7 @@ %mvn_alias ':polyglot-{*}' org.sonatype.pmaven:pmaven-@1 %build -%mvn_build -s -- -Dproject.build.sourceEncoding=UTF-8 +%mvn_build -s -f -- -Dproject.build.sourceEncoding=UTF-8 %install %mvn_install @@ -191,6 +192,12 @@ %license eclipse-1.0.txt license-header.txt %changelog +* Thu Mar 09 2023 yaoxin <yaoxin30@h-partners.com> - 0.2.1-5 +- Fix build failure due to snakeyaml update to 1.32 + +* Mon May 9 2022 baizhonggui <baizhonggui@h-partners.com> - 0.2.1-4 +- modify license identifier + * Fri Dec 06 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.2.1-3 - Package init
View file
_service:tar_scm:polyglot-snakeyaml-1.25.patch
Added
@@ -0,0 +1,23 @@ +diff -urEbwB polyglot-maven-polyglot-0.2.1/polyglot-yaml/src/main/java/org/sonatype/maven/polyglot/yaml/ModelRepresenter.java polyglot-maven-polyglot-0.2.1.new/polyglot-yaml/src/main/java/org/sonatype/maven/polyglot/yaml/ModelRepresenter.java +--- polyglot-maven-polyglot-0.2.1/polyglot-yaml/src/main/java/org/sonatype/maven/polyglot/yaml/ModelRepresenter.java 2017-09-06 19:21:53.000000000 +0200 ++++ polyglot-maven-polyglot-0.2.1.new/polyglot-yaml/src/main/java/org/sonatype/maven/polyglot/yaml/ModelRepresenter.java 2019-11-10 20:22:59.071312361 +0100 +@@ -205,8 +205,7 @@ + * Change the default order. Important data goes first. + */ + @Override +- protected Set<Property> getProperties(Class<? extends Object> type) +- throws IntrospectionException { ++ protected Set<Property> getProperties(Class<? extends Object> type) { + if (type.isAssignableFrom(Model.class)) { + return sortTypeWithOrder(type, ORDER_MODEL); + } else if (type.isAssignableFrom(Developer.class)) { +@@ -222,8 +221,7 @@ + } + } + +- private Set<Property> sortTypeWithOrder(Class<? extends Object> type, List<String> order) +- throws IntrospectionException { ++ private Set<Property> sortTypeWithOrder(Class<? extends Object> type, List<String> order) { + Set<Property> standard = super.getProperties(type); + Set<Property> sorted = new TreeSet<Property>(new ModelPropertyComparator(order)); + sorted.addAll(standard);
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="scm">git</param> <param name="url">git@gitee.com:src-openeuler/polyglot.git</param> - <param name="revision">c6a9d92d9c18ff649c59610416d6802e0a27b651</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2