!2 package init
From: @kang_xiao_qiang Reviewed-by: @myeuler Signed-off-by: @myeuler
This commit is contained in:
commit
a05eed6dc9
BIN
joni-2.1.3.zip
Normal file
BIN
joni-2.1.3.zip
Normal file
Binary file not shown.
15
joni-remove-useless-wagon-dependency.patch
Normal file
15
joni-remove-useless-wagon-dependency.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- pom.xml 2012-10-08 20:53:08.000000000 +0200
|
||||||
|
+++ pom.xml.orig 2013-02-26 15:43:53.961731353 +0100
|
||||||
|
@@ -95,12 +95,6 @@
|
||||||
|
<sourceDirectory>src</sourceDirectory>
|
||||||
|
<testSourceDirectory>test</testSourceDirectory>
|
||||||
|
<finalName>joni</finalName>
|
||||||
|
- <extensions>
|
||||||
|
- <extension>
|
||||||
|
- <groupId>org.apache.maven.wagon</groupId>
|
||||||
|
- <artifactId>wagon-webdav</artifactId>
|
||||||
|
- </extension>
|
||||||
|
- </extensions>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
45
joni.spec
Normal file
45
joni.spec
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
Name: joni
|
||||||
|
Version: 2.1.3
|
||||||
|
Release: 1
|
||||||
|
Summary: Java port of Oniguruma regexp library
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/jruby/%{name}
|
||||||
|
Source0: https://github.com/jruby/%{name}/archive/%{name}-%{version}.zip
|
||||||
|
Patch1: joni-remove-useless-wagon-dependency.patch
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: java-devel jcodings jpackage-utils junit maven-local maven-compiler-plugin
|
||||||
|
BuildRequires: maven-jar-plugin maven-surefire-plugin sonatype-oss-parent
|
||||||
|
BuildRequires: objectweb-asm
|
||||||
|
Requires: jcodings jpackage-utils objectweb-asm
|
||||||
|
%description
|
||||||
|
joni is a port of Oniguruma, a regular expressions library,
|
||||||
|
to java. It is used by jruby.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
Requires: jpackage-utils
|
||||||
|
%description help
|
||||||
|
API documentation for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
|
%patch1 -p0
|
||||||
|
sed -i -e 's|\r||' test/org/joni/test/TestC.java
|
||||||
|
sed -i -e 's|\r||' test/org/joni/test/TestU.java
|
||||||
|
sed -i -e 's|\r||' test/org/joni/test/TestA.java
|
||||||
|
%mvn_file : %{name}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build -f
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%doc MANIFEST.MF
|
||||||
|
|
||||||
|
%files help -f .mfiles-javadoc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jul 27 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 2.1.3-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user