commit
1dc5d83e73
51
disable-jruby-dep.patch
Normal file
51
disable-jruby-dep.patch
Normal file
@ -0,0 +1,51 @@
|
||||
--- pom.xml.orig 2014-12-15 14:19:25.869505963 -0500
|
||||
+++ pom.xml 2014-12-15 14:19:08.014719095 -0500
|
||||
@@ -23,35 +23,6 @@
|
||||
|
||||
<build>
|
||||
<sourceDirectory>${basedir}/src/main</sourceDirectory>
|
||||
- <plugins>
|
||||
- <plugin>
|
||||
- <groupId>org.codehaus.mojo</groupId>
|
||||
- <artifactId>build-helper-maven-plugin</artifactId>
|
||||
- <version>1.8</version>
|
||||
- <executions>
|
||||
- <execution>
|
||||
- <id>add-ext</id>
|
||||
- <phase>initialize</phase>
|
||||
- <goals>
|
||||
- <goal>add-source</goal>
|
||||
- </goals>
|
||||
- <configuration>
|
||||
- <sources>
|
||||
- <source>${basedir}/ext/ruby/src/java</source>
|
||||
- </sources>
|
||||
- </configuration>
|
||||
- </execution>
|
||||
- </executions>
|
||||
- </plugin>
|
||||
- </plugins>
|
||||
- <resources>
|
||||
- <resource>
|
||||
- <directory>ext/ruby/lib</directory>
|
||||
- <includes>
|
||||
- <include>**/*rb</include>
|
||||
- </includes>
|
||||
- </resource>
|
||||
- </resources>
|
||||
</build>
|
||||
|
||||
<properties>
|
||||
@@ -65,12 +36,6 @@
|
||||
<version>3.8.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
- <dependency>
|
||||
- <groupId>org.jruby</groupId>
|
||||
- <artifactId>jruby-core</artifactId>
|
||||
- <version>[1.7.0,1.8.0)</version>
|
||||
- <scope>provided</scope>
|
||||
- </dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
BIN
yecht-1.0.zip
Normal file
BIN
yecht-1.0.zip
Normal file
Binary file not shown.
41
yecht.spec
Normal file
41
yecht.spec
Normal file
@ -0,0 +1,41 @@
|
||||
Name: yecht
|
||||
Version: 1.0
|
||||
Release: 1
|
||||
Summary: A YAML processor based on Syck
|
||||
License: MIT
|
||||
URL: http://github.com/jruby/yecht
|
||||
Source0: https://github.com/jruby/yecht/archive/yecht-%{version}.zip
|
||||
Patch0: disable-jruby-dep.patch
|
||||
|
||||
BuildRequires: java-devel jpackage-utils maven-local mvn(org.sonatype.oss:oss-parent:pom:)
|
||||
Requires: java-headless jpackage-utils
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Yecht is a Syck port, a YAML 1.0 processor for Ruby.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadocs for %{name}
|
||||
Requires: jpackage-utils
|
||||
%description javadoc
|
||||
This package contains the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-%{name}-%{version}
|
||||
%patch0
|
||||
find ./ -name '*.jar' -exec rm -f '{}' \;
|
||||
find ./ -name '*.class' -exec rm -f '{}' \;
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Mon Aug 17 2020 maminjie <maminjie1@huawei.com> - 1.0-1
|
||||
- package init
|
||||
4
yecht.yaml
Normal file
4
yecht.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: jruby/yecht
|
||||
tag_prefix: "yecht-"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user