forked from pool/atinject
This commit is contained in:
parent
c2c624ee11
commit
101e331b3f
BIN
1.0.5.tar.gz
(Stored with Git LFS)
BIN
1.0.5.tar.gz
(Stored with Git LFS)
Binary file not shown.
@ -19,6 +19,7 @@
|
||||
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
|
||||
<property name="build.dir" value="target"/>
|
||||
<property name="build.outputDir" value="${build.dir}/classes"/>
|
||||
<property name="build.outputDirJava9" value="${build.outputDir}/META-INF/versions/9"/>
|
||||
<property name="build.srcDir" value="src/main/java"/>
|
||||
<property name="build.srcDirJava9" value="src/main/java9"/>
|
||||
<property name="build.resourceDir" value="."/>
|
||||
@ -55,7 +56,8 @@
|
||||
<exclude name="**/module-info.java"/>
|
||||
</javac>
|
||||
<!-- compile the module-info.java -->
|
||||
<!-- <javac destdir="${build.outputDir}"
|
||||
<mkdir dir="${build.outputDirJava9}"/>
|
||||
<javac destdir="${build.outputDirJava9}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
encoding="utf-8"
|
||||
@ -69,7 +71,7 @@
|
||||
<pathelement location="${build.srcDirJava9}"/>
|
||||
</src>
|
||||
<include name="**/module-info.java"/>
|
||||
</javac> -->
|
||||
</javac>
|
||||
<mkdir dir="${build.outputDir}/META-INF"/>
|
||||
<copy todir="${build.outputDir}/META-INF">
|
||||
<fileset dir="${build.resourceDir}">
|
||||
@ -129,6 +131,7 @@
|
||||
<attribute name="JavaPackages-ArtifactId" value="${project.artifactId}"/>
|
||||
<attribute name="JavaPackages-GroupId" value="${project.groupId}"/>
|
||||
<attribute name="JavaPackages-Version" value="${project.version}"/>
|
||||
<attribute name="Multi-Release" value="true"/>
|
||||
<attribute name="Require-Capability" value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${compiler.target}))""/>
|
||||
</manifest>
|
||||
</jar>
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 10 08:19:26 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to version 1.0.5 and switch to sources in
|
||||
https://github.com/jakartaee/inject/
|
||||
- Remove unused sub-package tck
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 2 18:23:08 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package atinject
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -21,13 +21,13 @@ Version: 1.0.5
|
||||
Release: 0
|
||||
Summary: Dependency injection specification for Java (JSR-330)
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/eclipse-ee4j/injection-api
|
||||
Source0: https://github.com/eclipse-ee4j/injection-api/archive/%{version}.tar.gz
|
||||
URL: https://github.com/jakartaee/inject/
|
||||
Source0: https://github.com/jakartaee/inject/archive/%{version}.tar.gz
|
||||
Source1: %{name}-build.xml
|
||||
BuildRequires: ant
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-local >= 6
|
||||
Obsoletes: %{name}-tck
|
||||
BuildArch: noarch
|
||||
|
||||
@ -46,11 +46,9 @@ Group: Documentation/HTML
|
||||
This package contains the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n injection-api-%{version}
|
||||
%setup -q -n inject-%{version}
|
||||
cp %{SOURCE1} build.xml
|
||||
|
||||
%pom_remove_parent
|
||||
|
||||
%build
|
||||
%{ant} package javadoc
|
||||
|
||||
@ -62,7 +60,7 @@ install -m 0644 target/jakarta.inject-api-%{version}.jar %{buildroot}%{_javadir}
|
||||
|
||||
# pom
|
||||
install -dm 755 %{buildroot}%{_mavenpomdir}
|
||||
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
%add_maven_depmap %{name}.pom %{name}.jar -a javax.inject:javax.inject
|
||||
|
||||
# javadoc
|
||||
|
Loading…
x
Reference in New Issue
Block a user