Name: json-smart Version: 2.2 Release: 7%{?dist} Summary: A small and very fast json parser/generator for java License: ASL 2.0 URL: https://github.com/netplex/json-smart-v2 Source0: https://github.com/netplex/json-smart-v2/archive/%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.ow2.asm:asm) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildArch: noarch %description Json-smart is a performance focused, JSON processor lib. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{name}-v2-%{version} %pom_remove_dep :json-smart-mini parent %pom_remove_plugin :maven-javadoc-plugin parent %pom_remove_plugin :maven-source-plugin parent %pom_xpath_set "pom:dependency[pom:artifactId='accessors-smart']/pom:version" '${project.version}' parent %pom_xpath_set "pom:Bundle-Version" "1.1" accessors-smart %pom_xpath_remove "pom:Embed-Dependency" accessors-smart %pom_xpath_remove "pom:Embed-Dependency" %{name} %pom_xpath_inject "pom:dependency[pom:artifactId='accessors-smart']" "%{version}" %{name} %pom_xpath_remove "pom:project/pom:version" accessors-smart %pom_xpath_inject "pom:project" "%{version}" accessors-smart cp -p %{name}/*.txt . %mvn_file :%{name} %{name} %mvn_file :accessors-smart accessors-smart rm accessors-smart/src/test/java/net/minidev/asm/TestDateConvert.java %build %mvn_build -- -f parent/pom.xml %install %mvn_install %files -f .mfiles %doc ChangeLog.txt readme.txt %license LICENSE.txt %files javadoc -f .mfiles-javadoc %license LICENSE.txt %changelog * Thu Jul 25 2019 Fedora Release Engineering - 2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jun 08 2016 gil cattaneo 2.2-1 - update to 2.2 * Thu Feb 04 2016 Fedora Release Engineering - 1.3.2-0.2.20151018 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Oct 17 2015 gil cattaneo 1.3.2-0.1.20151018 - update to 1.3.2 * Wed Jun 17 2015 Fedora Release Engineering - 1.3-0.4.20140820 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Mar 13 2015 gil cattaneo 1.3-0.3.20140820 - fix Url tag * Mon Feb 09 2015 gil cattaneo 1.3-0.2.20140820 - introduce license macro * Wed Aug 20 2014 gil cattaneo 1.3-0.1.20140820 - update to 1.3 * Thu Jun 12 2014 gil cattaneo 1.2-1 - initial rpm