forked from pool/sqlite-jdbc
- Update to v3.36.0.3
- Change architecture to noarch for javadoc subpackage OBS-URL: https://build.opensuse.org/package/show/Java:packages/sqlite-jdbc?expand=0&rev=6
This commit is contained in:
parent
8fcfd477f8
commit
2fd83798e1
3
3.36.0.3.tar.gz
Normal file
3
3.36.0.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c98fbfd92540c14d6f4b40b45d4d084a04f94796b46ec7d345d92712131bc7e0
|
||||
size 13066151
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4da89816a712535f1ca80434ce0d6a9235f516000eef778414ac8206f389df5f
|
||||
size 11178435
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 7 14:33:29 UTC 2021 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
- Update to v3.36.0.3
|
||||
- Change architecture to noarch for javadoc subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 27 06:54:12 UTC 2021 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
%{!?make_build:%global make_build make %{?_smp_mflags}}
|
||||
%global version 3.36.0
|
||||
%global version 3.36.0.3
|
||||
%global amalgamation_version 3360000
|
||||
%global debug_package %{nil}
|
||||
Name: sqlite-jdbc
|
||||
@ -27,7 +27,7 @@ Summary: SQLite JDBC Driver
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Java
|
||||
URL: https://github.com/xerial/%{name}
|
||||
Source0: https://github.com/xerial/%{name}/archive/%{version}.tar.gz
|
||||
Source0: %{url}/archive/%{version}.tar.gz
|
||||
Source1: https://www.sqlite.org/2021/sqlite-amalgamation-%{amalgamation_version}.zip
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
@ -35,6 +35,9 @@ BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-javadoc-plugin)
|
||||
BuildRequires: mvn(org.hamcrest:hamcrest-all)
|
||||
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api)
|
||||
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-engine)
|
||||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||
BuildRequires: unzip
|
||||
BuildRequires: xmvn
|
||||
@ -50,6 +53,7 @@ library, then append the library (JAR file) to your class path.
|
||||
|
||||
%package javadoc
|
||||
Summary: API documentation for %{name}
|
||||
BuildArch: noarch
|
||||
|
||||
%description javadoc
|
||||
API documentation for %{name}.
|
||||
@ -61,14 +65,14 @@ API documentation for %{name}.
|
||||
%pom_xpath_replace "pom:plugin[pom:artifactId/text()='maven-compiler-plugin']/pom:configuration/pom:target" 11 pom.xml
|
||||
dos2unix SQLiteJDBC.wiki
|
||||
mkdir target
|
||||
cp %{SOURCE1} target/sqlite-%{version}-amal.zip
|
||||
cp %{SOURCE1} target/sqlite-$(sed -e 's/^version=//' VERSION)-amal.zip
|
||||
|
||||
%build
|
||||
%make_build native
|
||||
%{mvn_build} -f
|
||||
|
||||
%install
|
||||
%mvn_install -J target/site/apidocs
|
||||
%mvn_install
|
||||
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
||||
|
||||
%files -f .mfiles
|
||||
|
Loading…
x
Reference in New Issue
Block a user