!4 Update to version 0.12
From: @wang--ge Reviewed-by: @cherry530 Signed-off-by: @cherry530
This commit is contained in:
commit
4c1f8f6856
BIN
0.7.tar.gz
BIN
0.7.tar.gz
Binary file not shown.
BIN
leveldb-0.12.tar.gz
Normal file
BIN
leveldb-0.12.tar.gz
Normal file
Binary file not shown.
@ -1,14 +1,15 @@
|
||||
Name: leveldb-java
|
||||
Version: 0.7
|
||||
Release: 11
|
||||
Version: 0.12
|
||||
Release: 1
|
||||
Summary: LevelDB Java Port
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/dain/leveldb
|
||||
Source0: https://github.com/dain/leveldb/archive/%{version}.tar.gz
|
||||
Source0: https://github.com/dain/leveldb/archive/%{version}/leveldb-%{version}.tar.gz
|
||||
|
||||
BuildRequires: mvn(com.google.guava:guava) mvn(org.xerial.snappy:snappy-java) mvn(joda-time:joda-time)
|
||||
BuildRequires: mvn(junit:junit) mvn(org.testng:testng) mvn(org.fusesource.leveldbjni:leveldbjni-all)
|
||||
BuildRequires: maven-local maven-enforcer-plugin maven-site-plugin maven-surefire-provider-testng
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-checkstyle-plugin)
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@ -26,20 +27,16 @@ This package contains introduction to using leveldb-java.
|
||||
%prep
|
||||
%autosetup -n leveldb-%{version} -p1
|
||||
|
||||
%pom_remove_plugin :findbugs-maven-plugin
|
||||
%pom_remove_plugin :proguard-maven-plugin leveldb
|
||||
%pom_remove_dep com.google.code.findbugs:jsr305 leveldb
|
||||
%pom_remove_plugin :maven-source-plugin
|
||||
%pom_remove_parent
|
||||
%pom_remove_plugin :maven-shade-plugin leveldb
|
||||
|
||||
%pom_remove_plugin :maven-javadoc-plugin
|
||||
|
||||
rm -r leveldb/src/test/java/org/iq80/leveldb/table/{MMapTableTest.java,FileChannelTableTest.java}
|
||||
|
||||
%pom_add_dep junit:junit::test leveldb
|
||||
|
||||
%pom_remove_dep org.fusesource.leveldbjni:leveldbjni-all leveldb
|
||||
rm -r leveldb/src/test/java/org/iq80/leveldb/impl/NativeInteropTest.java
|
||||
sed -i 's/${air.main.basedir}/./g' pom.xml
|
||||
%pom_xpath_inject "pom:properties" "<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>"
|
||||
%pom_xpath_inject "pom:properties" "<encoding>UTF-8</encoding>"
|
||||
%pom_xpath_inject "pom:properties" "<java.version>1.8</java.version>"
|
||||
%pom_xpath_inject "pom:properties" "<maven.compiler.source>1.8</maven.compiler.source>"
|
||||
%pom_xpath_inject "pom:properties" "<maven.compiler.target>1.8</maven.compiler.target>"
|
||||
%pom_xpath_inject "pom:dependency[pom:artifactId='testng']" '<version>6.14.3</version>' leveldb
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
@ -55,6 +52,9 @@ rm -r leveldb/src/test/java/org/iq80/leveldb/impl/NativeInteropTest.java
|
||||
%files help -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Thu Jan 18 2024 Ge Wang <wang__ge@126.com> - 0.12-1
|
||||
- Update to version 0.12
|
||||
|
||||
* Thu Jan 16 2020 lihao <lihao129@huawei.com> - 0.7-11
|
||||
- Delete patches
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user