diff --git a/.jackson-annotations.spec.old.swp b/.jackson-annotations.spec.old.swp new file mode 100644 index 0000000..0b1987c Binary files /dev/null and b/.jackson-annotations.spec.old.swp differ diff --git a/jackson-annotations-2.9.4.tar.gz b/jackson-annotations-2.9.4.tar.gz deleted file mode 100644 index 4b9ecf4..0000000 Binary files a/jackson-annotations-2.9.4.tar.gz and /dev/null differ diff --git a/jackson-annotations-2.9.8.tar.gz b/jackson-annotations-2.9.8.tar.gz new file mode 100644 index 0000000..d6ea301 Binary files /dev/null and b/jackson-annotations-2.9.8.tar.gz differ diff --git a/jackson-annotations.spec b/jackson-annotations.spec index 24950a4..cc013be 100644 --- a/jackson-annotations.spec +++ b/jackson-annotations.spec @@ -1,32 +1,26 @@ -%global main_res_dir src/main/resources/META-INF - -Name: jackson-annotations -Version: 2.9.4 -Release: 4 -Summary: Core annotations for Jackson data processor -License: ASL 2.0 -URL: https://github.com/FasterXML/jackson-annotations/ -Source0: https://github.com/FasterXML/jackson-annotations/archive/%{name}-%{version}.tar.gz - -BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) -BuildRequires: mvn(junit:junit) -BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) -BuildRequires: maven-local - -BuildArch: noarch - -Provides: jackson-annotations-javadoc -Obsoletes: jackson-annotations-javadoc - +Name: jackson-annotations +Version: 2.9.8 +Release: 1 +Summary: Core annotations for Jackson data processor +License: ASL 2.0 +URL: https://github.com/FasterXML/jackson-annotations/ +Source0: https://github.com/FasterXML/jackson-annotations/archive/jackson-annotations-2.9.8.tar.gz +BuildRequires: maven-local mvn(com.fasterxml.jackson:jackson-parent:pom:) mvn(junit:junit) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildArch: noarch %description -Core annotations used for value types, used by Jackson data-binding package. +Core annotations used for value types, +used by Jackson data-binding package. + +%package javadoc +Summary: Javadoc for %{name} +%description javadoc +This package contains API documentation for %{name}. %prep -%autosetup -n %{name}-%{name}-%{version} -p1 - -cp -p %{main_res_dir}/LICENSE . +%setup -q -n %{name}-%{name}-%{version} +cp -p src/main/resources/META-INF/LICENSE . sed -i 's/\r//' LICENSE - %mvn_file : %{name} %build @@ -37,10 +31,14 @@ sed -i 's/\r//' LICENSE %files -f .mfiles %doc README.md release-notes/* -%doc %{_javadocdir}/%{name} %license LICENSE +%files javadoc -f .mfiles-javadoc +%license LICENSE %changelog +* Fri Aug 14 2020 chengzihan - 2.9.8-1 +- Package upgrade to 2.9.8 + * Tue Dec 3 2019 huyan - 2.9.4-4 - Package Initialization diff --git a/jackson-annotations.yaml b/jackson-annotations.yaml new file mode 100644 index 0000000..e16253e --- /dev/null +++ b/jackson-annotations.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: FasterXML/jackson-annotations +tag_prefix: "jackson-annotations-" +seperator: "."