Package concurrentlinkedhashmap-lru: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | Group: Development/Java # BEGIN SourceDeps(oneline): BuildRequires: rpm-build-java # END SourceDeps(oneline) BuildRequires: /proc BuildRequires: jpackage-generic-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: concurrentlinkedhashmap-lru Version: 1.4.2 Release: alt1_7jpp8 Summary: A ConcurrentLinkedHashMap for Java License: ASL 2.0 Url: https://github.com/ben-manes/concurrentlinkedhashmap Source0: https://github.com/ben-manes/concurrentlinkedhashmap/archive/%{name}-%{version}.tar.gz # test deps %if 0 BuildRequires: mvn(com.github.stephenc.high-scale-lib:high-scale-lib) BuildRequires: mvn(com.google.guava:guava) BuildRequires: mvn(commons-lang:commons-lang) BuildRequires: mvn(net.sf.ehcache:ehcache) BuildRequires: mvn(org.hamcrest:hamcrest-library) >= 1.3 BuildRequires: mvn(org.mockito:mockito-all) BuildRequires: mvn(org.testng:testng) # unavailable test deps BuildRequires: mvn(com.google.caliper:caliper) BuildRequires: mvn(com.jayway.awaitility:awaitility) # require cache-benchmark == r7903 from http://sourceforge.net/projects/cachebenchfwk/ BuildRequires: mvn(org.cachebench:cache-benchmark) %endif BuildRequires: maven-local BuildRequires: maven-enforcer-plugin BuildRequires: maven-plugin-bundle BuildRequires: maven-site-plugin BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildRequires: mvn(com.google.code.findbugs:jsr305) BuildArch: noarch Source44: import.info %description A high performance version of java.util.LinkedHashMap for use as a software cache. %package javadoc Group: Development/Java Summary: Javadoc for %{name} BuildArch: noarch %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n concurrentlinkedhashmap-%{name}-%{version} find . -name "*.class" -delete find . -name "*.jar" -type f -print -delete # Unavailable %pom_remove_plugin :findbugs-maven-plugin %pom_remove_plugin :taglist-maven-plugin %pom_remove_plugin :emma-maven-plugin # Unwanted %pom_remove_plugin :maven-source-plugin # Remove org.jvnet.wagon-svn:wagon-svn %pom_xpath_remove "pom:build/pom:extensions" %pom_xpath_remove "pom:dependencies/pom:dependency[pom:scope='test']" # Fix http://jira.codehaus.org/browse/MCOMPILER-130 %pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:compilerArgument" %pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration" " <compilerArgument>-Werror</compilerArgument>" %pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration" " <compilerArgument>-Xlint:all</compilerArgument>" # remove bundled Doug Lea JCP JSR-166 rm -r src/main/java/com/googlecode/concurrentlinkedhashmap/ConcurrentHashMapV8.java sed -i "s|ConcurrentHashMapV8|java.util.concurrent.ConcurrentHashMap|" \ src/main/java/com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.java # Fix mojo-signatures aId #sed -i "s|jdk.version}-sun</artifactId>|jdk.version}</artifactId>|" pom.xml # Disabled currently is broken %pom_remove_plugin :animal-sniffer-maven-plugin %mvn_file :%{name} %{name} %build # test skipped for unavailable test deps %mvn_build -f %install %mvn_install %files -f .mfiles %doc README %doc --no-dereference LICENSE NOTICE %files javadoc -f .mfiles-javadoc %doc --no-dereference LICENSE NOTICE %changelog * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 1.4.2-alt1_7jpp8 - fc29 update * Thu Apr 19 2018 Igor Vlasenko <viy@altlinux.ru> 1.4.2-alt1_6jpp8 - java update * Thu Nov 09 2017 Igor Vlasenko <viy@altlinux.ru> 1.4.2-alt1_5jpp8 - fc27 update * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 1.4.2-alt1_4jpp8 - new jpp release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 1.4.2-alt1_3jpp8 - new fc release * Tue Feb 02 2016 Igor Vlasenko <viy@altlinux.ru> 1.4.2-alt1_2jpp8 - new version * Tue Aug 26 2014 Igor Vlasenko <viy@altlinux.ru> 1.3.2-alt1_1jpp7 - new release |