update to version 1.12
This commit is contained in:
parent
169c76d404
commit
083524aa70
BIN
invokebinder-1.12.zip
Normal file
BIN
invokebinder-1.12.zip
Normal file
Binary file not shown.
Binary file not shown.
@ -1,12 +1,16 @@
|
|||||||
Name: invokebinder
|
Name: invokebinder
|
||||||
Version: 1.2
|
Version: 1.12
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A Java DSL for binding method handles forward, rather than backward
|
Summary: A Java DSL for binding method handles forward, rather than backward
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://github.com/headius/invokebinder/
|
URL: http://github.com/headius/invokebinder/
|
||||||
Source0: https://github.com/headius/invokebinder/archive/invokebinder-%{version}.zip
|
Source0: https://github.com/headius/invokebinder/archive/refs/tags/invokebinder-1.12.zip
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: maven-local mvn(junit:junit) mvn(org.sonatype.oss:oss-parent:pom:)
|
BuildRequires: maven-local mvn(junit:junit) mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
|
BuildRequires: java-11-openjdk-devel
|
||||||
|
Requires: java-11-openjdk
|
||||||
|
Requires: javapackages-tools
|
||||||
%description
|
%description
|
||||||
This library hopes to provide a more friendly DSL for binding method handles.
|
This library hopes to provide a more friendly DSL for binding method handles.
|
||||||
Unlike the normal MethodHandle API, handles are bound forward from a source
|
Unlike the normal MethodHandle API, handles are bound forward from a source
|
||||||
@ -21,10 +25,15 @@ This package contains the API documentation for invokebinder.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n invokebinder-invokebinder-%{version}
|
%setup -q -n invokebinder-invokebinder-%{version}
|
||||||
|
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-bundle-plugin']" '<version>3.5.0</version>'
|
||||||
|
sed -i '/release/d' pom.xml
|
||||||
|
sed -i '/include/d' pom.xml
|
||||||
|
rm -rf src/main/java/module-info.java
|
||||||
find ./ -name '*.jar' -exec rm -f '{}' \;
|
find ./ -name '*.jar' -exec rm -f '{}' \;
|
||||||
find ./ -name '*.class' -exec rm -f '{}' \;
|
find ./ -name '*.class' -exec rm -f '{}' \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export JAVA_HOME=%{_jvmdir}/java-11-openjdk
|
||||||
%mvn_build
|
%mvn_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -37,5 +46,8 @@ find ./ -name '*.class' -exec rm -f '{}' \;
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 10 2024 Ge Wang <wang__ge@126.com> - 1.12-1
|
||||||
|
- update to version 1.12
|
||||||
|
|
||||||
* Mon Aug 24 2020 huanghaitao <huanghaitao8@huawei.com> - 1.2-1
|
* Mon Aug 24 2020 huanghaitao <huanghaitao8@huawei.com> - 1.2-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user