!3 [sync] PR-2: 【软件升级】openEuler:22.03:LTS分支modello包升级到1.11版本

From: @openeuler-sync-bot 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2022-03-01 02:03:45 +00:00 committed by Gitee
commit ed649ffa53
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 17 additions and 7 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,11 @@
Name: modello Name: modello
Version: 1.9.1 Version: 1.11
Release: 8 Release: 1
Epoch: 0 Epoch: 0
Summary: Modello Data Model toolkit Summary: Modello Data Model toolkit
License: ASL 2.0 and BSD and MIT License: ASL 2.0 and BSD and MIT
URL: http://codehaus-plexus.github.io/modello URL: http://codehaus-plexus.github.io/modello
Source0: https://github.com/codehaus-plexus/modello/archive/modello-%{version}.zip Source0: http://repo2.maven.org/maven2/org/codehaus/%{name}/%{name}/%{version}/%{name}-%{version}-source-release.zip
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildArch: noarch BuildArch: noarch
@ -20,12 +20,11 @@ BuildRequires: mvn(org.codehaus.plexus:plexus-compiler-javac)
BuildRequires: mvn(org.codehaus.plexus:plexus-container-default) BuildRequires: mvn(org.codehaus.plexus:plexus-container-default)
BuildRequires: mvn(org.codehaus.plexus:plexus-utils) mvn(org.jsoup:jsoup) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) mvn(org.jsoup:jsoup)
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api) mvn(org.yaml:snakeyaml) BuildRequires: mvn(org.sonatype.plexus:plexus-build-api) mvn(org.yaml:snakeyaml)
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-annotations) BuildRequires: xmlunit
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind)
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-core)
Requires: javapackages-tools Requires: javapackages-tools
%description %description
Modello is a framework for code generation from a simple model. Modello generates code Modello is a framework for code generation from a simple model. Modello generates code
from a simple model format: based on a plugin architecture, various types of code and from a simple model format: based on a plugin architecture, various types of code and
@ -41,11 +40,19 @@ Obsoletes: %{name}-javadoc < %{version}-%{release}
API Help documentation for modello. API Help documentation for modello.
%prep %prep
%autosetup -n modello-modello-%{version} -p1 %autosetup -n modello-%{version} -p1
install -p %{SOURCE1} LICENSE install -p %{SOURCE1} LICENSE
%pom_remove_plugin :maven-site-plugin %pom_remove_plugin :maven-site-plugin
sed -i s/maven-project/maven-core/ modello-maven-plugin/pom.xml sed -i s/maven-project/maven-core/ modello-maven-plugin/pom.xml
%pom_disable_module modello-plugin-jackson modello-plugins
%pom_disable_module modello-plugin-jsonschema modello-plugins
%pom_remove_dep :modello-plugin-jackson modello-maven-plugin
%pom_remove_dep :modello-plugin-jsonschema modello-maven-plugin
%pom_disable_module modello-plugin-snakeyaml modello-plugins
%pom_remove_dep :modello-plugin-snakeyaml modello-maven-plugin
%build %build
%mvn_build -f -- -Dmaven.version=3.1.1 %mvn_build -f -- -Dmaven.version=3.1.1
@ -60,5 +67,8 @@ sed -i s/maven-project/maven-core/ modello-maven-plugin/pom.xml
%files help -f .mfiles-javadoc %files help -f .mfiles-javadoc
%changelog %changelog
* Tue Feb 08 2022 Ge Wang <wangge20@huawei.com> - 0:1.11-1
- Update to version 1.11
* Tue Mar 03 2020 daiqianwen <daiqianwen@huawei.com> - 0:1.9.1-8 * Tue Mar 03 2020 daiqianwen <daiqianwen@huawei.com> - 0:1.9.1-8
- Package init - Package init