package init
This commit is contained in:
parent
bbdb7c9e8e
commit
0611414c4e
BIN
jackson-datatype-joda-2.9.8.tar.gz
Normal file
BIN
jackson-datatype-joda-2.9.8.tar.gz
Normal file
Binary file not shown.
46
jackson-datatype-joda.spec
Normal file
46
jackson-datatype-joda.spec
Normal file
@ -0,0 +1,46 @@
|
||||
Name: jackson-datatype-joda
|
||||
Version: 2.9.8
|
||||
Release: 1
|
||||
Summary: Add-on module for Jackson to support Joda data-types
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/FasterXML/jackson-datatype-joda
|
||||
Source0: https://github.com/FasterXML/jackson-datatype-joda/archive/%{name}-%{version}.tar.gz
|
||||
BuildRequires: maven-local mvn(com.fasterxml.jackson.core:jackson-annotations) >= %{version}
|
||||
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-core) >= %{version}
|
||||
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind) >= %{version}
|
||||
BuildRequires: mvn(com.fasterxml.jackson:jackson-base:pom:) >= %{version}
|
||||
BuildRequires: mvn(com.google.code.maven-replacer-plugin:replacer) mvn(joda-time:joda-time)
|
||||
BuildRequires: mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildArch: noarch
|
||||
%description
|
||||
This is a Jackson module that aims to provide
|
||||
full support for data types of Joda date-time
|
||||
library.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
%description javadoc
|
||||
This package contains API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{name}-%{version}
|
||||
sed -i 's/\r//' src/main/resources/META-INF/LICENSE
|
||||
cp -p src/main/resources/META-INF/LICENSE .
|
||||
%mvn_file : %{name}
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%doc README.md release-notes/*
|
||||
%license LICENSE
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Aug 28 2020 wutao <wutao61@huawei.com> - 2.9.8-1
|
||||
- Package init
|
||||
4
jackson-datatype-joda.yaml
Normal file
4
jackson-datatype-joda.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: FasterXML/jackson-datatype-joda
|
||||
tag_prefix: "^jackson-datatype-joda-"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user