upgrade to version 1.11
(cherry picked from commit f9c5ba8c1f28e0b68f7a35a1e9ccba180bde4bcc)
This commit is contained in:
parent
e0ebefb868
commit
259d90900f
BIN
modello-1.11-source-release.zip
Normal file
BIN
modello-1.11-source-release.zip
Normal file
Binary file not shown.
Binary file not shown.
24
modello.spec
24
modello.spec
@ -1,11 +1,11 @@
|
||||
Name: modello
|
||||
Version: 1.9.1
|
||||
Release: 8
|
||||
Version: 1.11
|
||||
Release: 1
|
||||
Epoch: 0
|
||||
Summary: Modello Data Model toolkit
|
||||
License: ASL 2.0 and BSD and MIT
|
||||
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
|
||||
|
||||
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-utils) mvn(org.jsoup:jsoup)
|
||||
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api) mvn(org.yaml:snakeyaml)
|
||||
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-annotations)
|
||||
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind)
|
||||
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-core)
|
||||
BuildRequires: xmlunit
|
||||
|
||||
Requires: javapackages-tools
|
||||
|
||||
|
||||
%description
|
||||
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
|
||||
@ -41,11 +40,19 @@ Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||
API Help documentation for modello.
|
||||
|
||||
%prep
|
||||
%autosetup -n modello-modello-%{version} -p1
|
||||
%autosetup -n modello-%{version} -p1
|
||||
install -p %{SOURCE1} LICENSE
|
||||
%pom_remove_plugin :maven-site-plugin
|
||||
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
|
||||
%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
|
||||
|
||||
%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
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user