[junit] Update OSGi metadata to match 4.10.0 release.
by Krzysztof Daniel
commit 3247976c00e23823782aa0110deff92999c08de9
Author: Krzysztof Daniel <kdaniel(a)redhat.com>
Date: Mon Apr 30 15:08:55 2012 +0200
Update OSGi metadata to match 4.10.0 release.
junit-OSGi-MANIFEST.MF | 42 +++++++++++++++++++++---------------------
junit.spec | 5 ++++-
2 files changed, 25 insertions(+), 22 deletions(-)
---
diff --git a/junit-OSGi-MANIFEST.MF b/junit-OSGi-MANIFEST.MF
index 1e09392..15d6de2 100644
--- a/junit-OSGi-MANIFEST.MF
+++ b/junit-OSGi-MANIFEST.MF
@@ -6,27 +6,27 @@ Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Name: %pluginName
Bundle-SymbolicName: org.junit
Eclipse-SourceReferences: scm:cvs:pserver:dev.eclipse.org:/cvsroot/too
- ls:org.eclipse.orbit/org.junit;tag=v4_8_2_v20110321-1705
+ ls:org.eclipse.orbit/org.junit;tag=v4_10_0_v20120426-0900
Require-Bundle: org.hamcrest.core;bundle-version="1.1.0";visibility:=r
eexport
-Export-Package: junit.extensions;version="4.8.2",junit.framework;versi
- on="4.8.2",junit.runner;version="4.8.2",junit.textui;version="4.8.2",
- org.junit;version="4.8.2",org.junit.experimental;version="4.8.2",org.
- junit.experimental.categories;version="4.8.2",org.junit.experimental.
- max;version="4.8.2",org.junit.experimental.results;version="4.8.2",or
- g.junit.experimental.runners;version="4.8.2",org.junit.experimental.t
- heories;version="4.8.2",org.junit.experimental.theories.internal;vers
- ion="4.8.2";x-internal:=true,org.junit.experimental.theories.supplier
- s;version="4.8.2",org.junit.internal;version="4.8.2";x-internal:=true
- ,org.junit.internal.builders;version="4.8.2";x-internal:=true,org.jun
- it.internal.matchers;version="4.8.2";x-internal:=true,org.junit.inter
- nal.requests;version="4.8.2";x-internal:=true,org.junit.internal.runn
- ers;version="4.8.2";x-internal:=true,org.junit.internal.runners.model
- ;version="4.8.2";x-internal:=true,org.junit.internal.runners.statemen
- ts;version="4.8.2";x-internal:=true,org.junit.matchers;version="4.8.2
- ",org.junit.rules;version="4.8.2",org.junit.runner;version="4.8.2",or
- g.junit.runner.manipulation;version="4.8.2",org.junit.runner.notifica
- tion;version="4.8.2",org.junit.runners;version="4.8.2",org.junit.runn
- ers.model;version="4.8.2"
-Bundle-Version: 4.8.2.v4_8_2_v20110321-1705
+Export-Package: junit.extensions;version="4.10.0",junit.framework;versi
+ on="4.10.0",junit.runner;version="4.10.0",junit.textui;version="4.10.0",
+ org.junit;version="4.10.0",org.junit.experimental;version="4.10.0",org.
+ junit.experimental.categories;version="4.10.0",org.junit.experimental.
+ max;version="4.10.0",org.junit.experimental.results;version="4.10.0",or
+ g.junit.experimental.runners;version="4.10.0",org.junit.experimental.t
+ heories;version="4.10.0",org.junit.experimental.theories.internal;vers
+ ion="4.10.0";x-internal:=true,org.junit.experimental.theories.supplier
+ s;version="4.10.0",org.junit.internal;version="4.10.0";x-internal:=true
+ ,org.junit.internal.builders;version="4.10.0";x-internal:=true,org.jun
+ it.internal.matchers;version="4.10.0";x-internal:=true,org.junit.inter
+ nal.requests;version="4.10.0";x-internal:=true,org.junit.internal.runn
+ ers;version="4.10.0";x-internal:=true,org.junit.internal.runners.model
+ ;version="4.10.0";x-internal:=true,org.junit.internal.runners.statemen
+ ts;version="4.10.0";x-internal:=true,org.junit.matchers;version="4.10.0
+ ",org.junit.rules;version="4.10.0",org.junit.runner;version="4.10.0",or
+ g.junit.runner.manipulation;version="4.10.0",org.junit.runner.notifica
+ tion;version="4.10.0",org.junit.runners;version="4.10.0",org.junit.runn
+ ers.model;version="4.10.0"
+Bundle-Version: 4.10.0.v4_10_0_v20120426-0900
Bundle-ManifestVersion: 2
diff --git a/junit.spec b/junit.spec
index 85c2f0b..77f983a 100644
--- a/junit.spec
+++ b/junit.spec
@@ -30,7 +30,7 @@
Name: junit
Version: 4.10
-Release: 4%{?dist}
+Release: 5%{?dist}
Epoch: 0
Summary: Java regression test package
License: CPL
@@ -154,6 +154,9 @@ cp -pr %{name}%{version}/%{name}/* %{buildroot}%{_datadir}/%{name}/demo/%{name}
%doc junit%{version}/doc/*
%changelog
+* Mon Apr 30 2012 Krzysztof Daniel <kdaniel(a)redhat.com> 0:4.10-5
+- Update OSGi metadata to match 4.10.0 release.
+
* Thu Feb 09 2012 Harald Hoyer <harald(a)redhat.com> 4.10-4
- removed Conflicts with itsself
12 years
[mockito] Place JavaDoc in correct location.
by Roman Kennke
commit 8339d5c69b0a296789d25feb773b927231fa8175
Author: Roman Kennke <rkennke(a)redhat.com>
Date: Mon Apr 30 15:16:33 2012 +0200
Place JavaDoc in correct location.
mockito.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/mockito.spec b/mockito.spec
index d10cb74..ee7235c 100644
--- a/mockito.spec
+++ b/mockito.spec
@@ -1,6 +1,6 @@
Name: mockito
Version: 1.9.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: A Java mocking framework
License: MIT
@@ -60,7 +60,7 @@ install -pm 644 maven/mockito-core.pom \
$RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
-cp -rp target/javadoc $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+cp -rp target/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%add_maven_depmap JPP-%{name}.pom %{name}.jar -a "org.mockito:mockito-all"
@@ -77,6 +77,10 @@ cp -rp target/javadoc $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%doc NOTICE
%changelog
+* Mon Apr 30 2012 Roman Kennke <rkennke(a)redhat.com> 1.9.0-6
+- Place JavaDoc in directly under %{_javadocdir}/%{name} instead
+ of %{_javadocdir}/%{name}/javadoc
+
* Wed Apr 25 2012 Roman Kennke <rkennke(a)redhat.com> 1.9.0-5
- Removed post/postun hook for update_maven_depmap
12 years
[janino] merged commons-compiler, commons-compiler-jdk and janino-parent in main package
by gil
commit 7ba5ebefb61ea20fc4a80d4e3eeee1170f17059a
Author: gil <puntogil(a)libero.it>
Date: Sat Apr 28 09:34:40 2012 +0200
merged commons-compiler, commons-compiler-jdk and janino-parent in main package
janino-2.6.1-aggregator-01.pom | 27 ----
janino-2.6.1-pom.patch | 48 -------
janino-2.6.1-poms.patch | 100 +++++++++++++++
janino-parent-2.6.1.pom | 265 ++++++++++++++++++++++++++++++++++++++++
janino.spec | 84 ++++---------
5 files changed, 392 insertions(+), 132 deletions(-)
---
diff --git a/janino-2.6.1-poms.patch b/janino-2.6.1-poms.patch
new file mode 100644
index 0000000..7b3cb64
--- /dev/null
+++ b/janino-2.6.1-poms.patch
@@ -0,0 +1,100 @@
+diff -Nru janino-2.6.1/commons-compiler/pom.xml janino-2.6.1-gil/commons-compiler/pom.xml
+--- janino-2.6.1/commons-compiler/pom.xml 2012-01-21 03:57:03.000000000 +0100
++++ janino-2.6.1-gil/commons-compiler/pom.xml 2012-04-18 14:33:09.198316607 +0200
+@@ -9,9 +9,9 @@
+ <artifactId>janino-parent</artifactId>
+ <version>2.6.1</version>
+ </parent>
+-
++ <groupId>org.codehaus.janino</groupId>
+ <artifactId>commons-compiler</artifactId>
+-
++ <version>2.6.1</version>
+ <name>Commons Compiler</name>
+
+ <dependencies>
+diff -Nru janino-2.6.1/commons-compiler-jdk/pom.xml janino-2.6.1-gil/commons-compiler-jdk/pom.xml
+--- janino-2.6.1/commons-compiler-jdk/pom.xml 2012-01-21 03:57:30.000000000 +0100
++++ janino-2.6.1-gil/commons-compiler-jdk/pom.xml 2012-04-18 14:33:09.199316607 +0200
+@@ -9,15 +9,16 @@
+ <artifactId>janino-parent</artifactId>
+ <version>2.6.1</version>
+ </parent>
+-
++ <groupId>org.codehaus.janino</groupId>
+ <artifactId>commons-compiler-jdk</artifactId>
+-
++ <version>2.6.1</version>
+ <name>Commons Compiler Jdk</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.janino</groupId>
+ <artifactId>commons-compiler</artifactId>
++ <version>2.6.1</version>
+ </dependency>
+ </dependencies>
+
+diff -Nru janino-2.6.1/janino/pom.xml janino-2.6.1-gil/janino/pom.xml
+--- janino-2.6.1/janino/pom.xml 2012-01-21 03:58:03.000000000 +0100
++++ janino-2.6.1-gil/janino/pom.xml 2012-04-18 14:33:09.199316607 +0200
+@@ -9,9 +9,11 @@
+ <artifactId>janino-parent</artifactId>
+ <version>2.6.1</version>
+ </parent>
+-
++
++ <groupId>org.codehaus.janino</groupId>
+ <artifactId>janino</artifactId>
+-
++ <version>2.6.1</version>
++
+ <name>Janino</name>
+
+ <dependencies>
+@@ -22,13 +24,14 @@
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+- <artifactId>ant-nodeps</artifactId>
++ <artifactId>ant</artifactId>
+ <optional>true</optional>
+ </dependency>
+
+ <dependency>
+ <groupId>org.codehaus.janino</groupId>
+ <artifactId>commons-compiler</artifactId>
++ <version>2.6.1</version>
+ </dependency>
+ </dependencies>
+ </project>
+diff -Nru janino-2.6.1/pom.xml janino-2.6.1-gil/pom.xml
+--- janino-2.6.1/pom.xml 2012-01-21 03:56:49.000000000 +0100
++++ janino-2.6.1-gil/pom.xml 2012-04-18 14:33:37.549315690 +0200
+@@ -109,7 +109,7 @@
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+- <artifactId>ant-nodeps</artifactId>
++ <artifactId>ant</artifactId>
+ <version>1.7.1</version>
+ </dependency>
+ </dependencies>
+@@ -243,7 +243,7 @@
+ <inputEncoding>${project.build.sourceEncoding}</inputEncoding><!-- not needed in 2.2 -->
+ </configuration>
+ </plugin>
+- <plugin>
++ <!--plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>1.1.1</version>
+@@ -257,7 +257,7 @@
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>javancss-maven-plugin</artifactId>
+ <version>2.0</version>
+- </plugin>
++ </plugin-->
+ </plugins>
+ </reporting>
+ </profile>
diff --git a/janino-parent-2.6.1.pom b/janino-parent-2.6.1.pom
new file mode 100644
index 0000000..4d0c455
--- /dev/null
+++ b/janino-parent-2.6.1.pom
@@ -0,0 +1,265 @@
+<?xml version="1.0"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.codehaus</groupId>
+ <artifactId>codehaus-parent</artifactId>
+ <version>4</version>
+ </parent>
+
+ <groupId>org.codehaus.janino</groupId>
+ <artifactId>janino-parent</artifactId>
+ <version>2.6.1</version>
+ <packaging>pom</packaging>
+
+ <name>Janino Parent</name>
+ <description>
+ Janino is a compiler that reads a JavaTM expression, block, class body, source file or a set of source files, and
+ generates JavaTM bytecode that is loaded and executed directly. Janino is not intended to be a development tool,
+ but an embedded compiler for run-time compilation purposes, e.g. expression evaluators or "server pages" engines
+ like JSP.
+ </description>
+ <url>http://docs.codehaus.org/display/JANINO/Home</url>
+ <inceptionYear>2001</inceptionYear>
+ <licenses>
+ <license>
+ <name>New BSD License</name>
+ <url>http://dist.codehaus.org/janino/new_bsd_license.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <mailingLists>
+ <mailingList>
+ <name>Development List</name>
+ <subscribe>dev-subscribe(a)janino.codehaus.org</subscribe>
+ <unsubscribe>dev-unsubscribe(a)janino.codehaus.org</unsubscribe>
+ <post>dev(a)janino.codehaus.org</post>
+ <archive>http://archive.janino.codehaus.org/dev/</archive>
+ </mailingList>
+ <mailingList>
+ <name>User List</name>
+ <subscribe>user-subscribe(a)janino.codehaus.org</subscribe>
+ <unsubscribe>user-unsubscribe(a)janino.codehaus.org</unsubscribe>
+ <post>user(a)janino.codehaus.org</post>
+ <archive>http://archive.janino.codehaus.org/user/</archive>
+ </mailingList>
+ <mailingList>
+ <name>Commits List</name>
+ <subscribe>scm-subscribe(a)janino.codehaus.org</subscribe>
+ <unsubscribe>scm-unsubscribe(a)janino.codehaus.org</unsubscribe>
+ <archive>http://archive.janino.codehaus.org/scm/</archive>
+ </mailingList>
+ </mailingLists>
+
+ <developers>
+ <developer>
+ <id>aunkrig</id>
+ <name>Arno Unkrig</name>
+ <roles>
+ <role>Despot</role>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>matt.fowles</id>
+ <name>Matt Fowles</name>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ </developers>
+
+ <modules>
+ <module>commons-compiler</module>
+ <module>commons-compiler-jdk</module>
+ <module>janino</module>
+ </modules>
+
+ <scm>
+ <connection>scm:svn:http://svn.codehaus.org/janino/tags/V_2_6_1/</connection>
+ <developerConnection>scm:svn:https://svn.codehaus.org/janino/tags/V_2_6_1/</developerConnection>
+ <url>http://fisheye.codehaus.org/browse/janino/tags/V_2_6_1/</url>
+ </scm>
+ <issueManagement>
+ <system>Jira</system>
+ <url>http://jira.codehaus.org/browse/JANINO</url>
+ </issueManagement>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.janino</groupId>
+ <artifactId>commons-compiler</artifactId>
+ <version>2.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.janino</groupId>
+ <artifactId>commons-compiler-jdk</artifactId>
+ <version>2.6.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.7</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-nodeps</artifactId>
+ <version>1.7.1</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>tests</testSourceDirectory>
+
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <source>1.2</source>
+ <target>1.1</target>
+ <testSource>1.6</testSource>
+ <testTarget>1.6</testTarget>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ <configuration>
+ <test>**/*Tests</test>
+ <failIfNoTests>false</failIfNoTests>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>buildnumber-maven-plugin</artifactId>
+ <version>1.0-beta-2</version>
+ <configuration>
+ <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
+ <items>
+ <item>timestamp</item>
+ </items>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>create</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.4.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.3</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>2.5</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.0.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.1</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.3</version>
+ </plugin>
+ </plugins>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.1.2</version>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <profiles>
+ <profile>
+ <id>reporting</id>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.5</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.4.3</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <inputEncoding>${project.build.sourceEncoding}</inputEncoding><!-- not needed in 2.2 -->
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>1.1.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jdepend-maven-plugin</artifactId>
+ <version>2.0-beta-2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>javancss-maven-plugin</artifactId>
+ <version>2.0</version>
+ </plugin>
+ </plugins>
+ </reporting>
+ </profile>
+ </profiles>
+</project>
diff --git a/janino.spec b/janino.spec
index f107b28..38225c6 100644
--- a/janino.spec
+++ b/janino.spec
@@ -29,21 +29,20 @@
#
Name: janino
Version: 2.6.1
-Release: 7%{?dist}
+Release: 11%{?dist}
Summary: An embedded Java compiler
Group: Development/Tools
License: BSD
URL: http://docs.codehaus.org/display/JANINO/Home
Source0: http://dist.codehaus.org/%{name}/%{name}-%{version}.zip
-Source1: %{name}-%{version}-aggregator-01.pom
+Source1: http://repo1.maven.org/maven2/org/codehaus/%{name}/%{name}-parent/%{versi...
Source2: http://repo1.maven.org/maven2/org/codehaus/%{name}/commons-compiler/%{ver...
Source3: http://repo1.maven.org/maven2/org/codehaus/%{name}/commons-compiler-jdk/%...
Source4: http://repo1.maven.org/maven2/org/codehaus/%{name}/%{name}/%{version}/%{n...
-
+# remove org.codehaus.mojo findbugs-maven-plugin 1.1.1, javancss-maven-plugin 2.0, jdepend-maven-plugin 2.0-beta-2
# change artifactId ant-nodeps in ant
-Patch0: %{name}-%{version}-pom.patch
+Patch0: %{name}-%{version}-poms.patch
-BuildRequires: janino-parent
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils
@@ -63,8 +62,6 @@ BuildRequires: maven-surefire-plugin
BuildRequires: maven-surefire-provider-junit4
Requires: ant
-Requires: commons-compiler = %{version}
-Requires: janino-parent
Requires: java >= 1:1.6.0
Requires: jpackage-utils
@@ -79,33 +76,6 @@ is not intended to be a development tool, but an embedded compiler for
run-time compilation purposes, e.g. expression evaluators or "server pages"
engines like JSP.
-%package -n commons-compiler
-Group: Development/Tools
-Summary: Interfaces for an embedded Java compiler
-Requires: janino-parent = %{version}
-Requires: jpackage-utils
-
-%description -n commons-compiler
-This package declares interfaces for the implementation of
-an org.codehaus.commons.compiler.IExpressionEvaluator,
-an org.codehaus.commons.compiler.IScriptEvaluator,
-an org.codehaus.commons.compiler.IClassBodyEvaluator
-and an org.codehaus.commons.compiler.ISimpleCompiler.
-All of these adhere to the syntax of the Java programming language.
-
-%package -n commons-compiler-jdk
-Group: Development/Tools
-Summary: Commons Compiler Jdk
-Requires: commons-compiler = %{version}
-Requires: janino-parent = %{version}
-Requires: jpackage-utils
-
-%description -n commons-compiler-jdk
-This package declares interfaces for the implementation of
-an org.codehaus.commons.compiler.jdk.ExpressionEvaluator.
-and consorts instead of org.codehaus.janino.ExpressionEvaluator;
-commons-compiler-jdk is an alternative of janino.
-
%package javadoc
Group: Documentation
Summary: Javadoc for %{name}
@@ -149,47 +119,47 @@ mvn-rpmbuild install javadoc:aggregate
%install
-mkdir -p %{buildroot}%{_javadir}
-install -m 644 %{name}/target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
-
mkdir -p %{buildroot}%{_mavenpomdir}
-install -m 644 %{name}/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_maven_depmap JPP-%{name}.pom %{name}.jar
+install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-parent.pom
+%add_maven_depmap JPP.%{name}-parent.pom
+
+mkdir -p %{buildroot}%{_javadir}/%{name}
for m in \
commons-compiler\
- commons-compiler-jdk;do
- install -m 644 ${m}/target/${m}-%{version}.jar %{buildroot}%{_javadir}/${m}.jar
- install -m 644 ${m}/pom.xml %{buildroot}%{_mavenpomdir}/JPP-${m}.pom
- %add_maven_depmap -f ${m} JPP-${m}.pom ${m}.jar
+ commons-compiler-jdk \
+ %{name};do
+ install -m 644 ${m}/target/${m}-%{version}.jar %{buildroot}%{_javadir}/%{name}/${m}.jar
+ install -m 644 ${m}/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-${m}.pom
+ %add_maven_depmap JPP.%{name}-${m}.pom %{name}/${m}.jar
done
mkdir -p %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
%files
-%{_javadir}/%{name}.jar
-%{_mavenpomdir}/JPP-%{name}.pom
+%{_javadir}/%{name}/*.jar
+%{_mavenpomdir}/JPP.%{name}-*.pom
%{_mavendepmapfragdir}/%{name}
%doc new_bsd_license.txt README.txt
-%files -n commons-compiler
-%{_javadir}/commons-compiler.jar
-%{_mavenpomdir}/JPP-commons-compiler.pom
-%{_mavendepmapfragdir}/%{name}-commons-compiler
-%doc new_bsd_license.txt
-
-%files -n commons-compiler-jdk
-%{_javadir}/commons-compiler-jdk.jar
-%{_mavenpomdir}/JPP-commons-compiler-jdk.pom
-%{_mavendepmapfragdir}/%{name}-commons-compiler-jdk
-%doc new_bsd_license.txt
-
%files javadoc
%{_javadocdir}/%{name}
%doc new_bsd_license.txt
%changelog
+* Thu Apr 19 2012 gil cattaneo <puntogil(a)libero.it> 2.6.1-11
+- Remove janino-parent as a BuildRequirement
+
+* Wed Apr 18 2012 gil cattaneo <puntogil(a)libero.it> 2.6.1-10
+- moved all of the jar files into janino subdirectory
+
+* Wed Apr 18 2012 gil cattaneo <puntogil(a)libero.it> 2.6.1-9
+- merged commons-compiler, commons-compiler-jdk and janino-parent in main package
+
+* Wed Apr 18 2012 gil cattaneo <puntogil(a)libero.it> 2.6.1-8
+- add janino-parent
+
* Mon Apr 16 2012 gil cattaneo <puntogil(a)libero.it> 2.6.1-7
- Remove commons-compiler as a BuildRequirement
- Add janino-parent as a Requirement
12 years
[fest-common] Initial import (#816264)
by Mario Torre
commit 2998515eb6c31baba00ebf38aab11027d7fae589
Author: neugens <neugens(a)redhat.com>
Date: Fri Apr 27 18:23:01 2012 +0200
Initial import (#816264)
.gitignore | 1 +
fest-common.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++
no-assembly.patch | 28 +++++++++++++++++++++++
no-site.patch | 32 ++++++++++++++++++++++++++
sources | 1 +
5 files changed, 126 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1612593 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fest-common-1.0.11.tar.bz2
diff --git a/fest-common.spec b/fest-common.spec
new file mode 100644
index 0000000..f61d4dd
--- /dev/null
+++ b/fest-common.spec
@@ -0,0 +1,64 @@
+Name: fest-common
+Version: 1.0.11
+Release: 4%{?dist}
+Summary: FEST: Fixtures for Easy Software Testing
+
+Group: Development/Libraries
+License: ASL 2.0
+URL: http://fest.easytesting.org
+# git clone https://github.com/alexruiz/fest-maven-setup.git
+# cd fest-maven-setup
+# git archive --prefix="fest-common-1.0.11/" --format=tar \
+# fe974d5a3844e1af942bec0c602dc1e0e7072c15 | \
+# bzip2 - >../fest-common-1.0.11.tar.bz2
+Source0: %{name}-%{version}.tar.bz2
+Patch0: no-assembly.patch
+Patch1: no-site.patch
+BuildArch: noarch
+
+BuildRequires: jpackage-utils
+BuildRequires: maven
+BuildRequires: maven-enforcer-plugin
+BuildRequires: maven-dependency-plugin
+
+Requires: jpackage-utils
+
+%description
+Parent POM for all FEST Modules
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+%build
+mvn-rpmbuild \
+ -e \
+ install
+
+%install
+# no jars here, no javadoc, no docs, is just a parent pom
+# poms
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml \
+ %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+
+%add_maven_depmap JPP-%{name}.pom
+
+%files
+%{_mavendepmapfragdir}/%{name}
+%{_mavenpomdir}/JPP-%{name}.pom
+
+%changelog
+
+* Fri Apr 27 2012 Mario Torre <neugens(a)redhat.com> 1.0.11-4
+- Add explicit requires on jpackage-utils
+
+* Fri Apr 27 2012 Mario Torre <neugens(a)redhat.com> 1.0.11-3
+- Add new maven plugins dependencies
+
+* Fri Apr 27 2012 Mario Torre <neugens(a)redhat.com> 1.0.11-2
+- Add maven dependencies
+
+* Tue Apr 24 2012 Mario Torre <neugens(a)redhat.com> 1.0.11-1
+- Initial package
diff --git a/no-assembly.patch b/no-assembly.patch
new file mode 100644
index 0000000..eba2e15
--- /dev/null
+++ b/no-assembly.patch
@@ -0,0 +1,28 @@
+Sottodirectory in comune: fest-maven-setup.orig/fest-maven-assembly e fest-maven-setup/fest-maven-assembly
+Sottodirectory in comune: fest-maven-setup.orig/fest-maven-parent-pom e fest-maven-setup/fest-maven-parent-pom
+Sottodirectory in comune: fest-maven-setup.orig/fest-maven-site e fest-maven-setup/fest-maven-site
+Sottodirectory in comune: fest-maven-setup.orig/.git e fest-maven-setup/.git
+diff -uN fest-maven-setup.orig/pom.xml fest-maven-setup/pom.xml
+--- fest-maven-setup.orig/pom.xml 2012-04-24 22:56:00.230371299 +0200
++++ fest-maven-setup/pom.xml 2012-04-24 23:39:33.498029205 +0200
+@@ -292,20 +292,6 @@
+ <version>1.0</version>
+ </dependency>
+ </dependencies>
+- <executions>
+- <execution>
+- <id>make-assembly</id>
+- <phase>package</phase>
+- <goals>
+- <goal>attached</goal>
+- </goals>
+- <configuration>
+- <descriptors>
+- <descriptor>assembly.xml</descriptor>
+- </descriptors>
+- </configuration>
+- </execution>
+- </executions>
+ </plugin>
+ </plugins>
+ </build>
diff --git a/no-site.patch b/no-site.patch
new file mode 100644
index 0000000..f45d84a
--- /dev/null
+++ b/no-site.patch
@@ -0,0 +1,32 @@
+Sottodirectory in comune: fest-maven-setup.orig/fest-maven-assembly e fest-maven-setup/fest-maven-assembly
+Sottodirectory in comune: fest-maven-setup.orig/fest-maven-parent-pom e fest-maven-setup/fest-maven-parent-pom
+Sottodirectory in comune: fest-maven-setup.orig/fest-maven-site e fest-maven-setup/fest-maven-site
+Sottodirectory in comune: fest-maven-setup.orig/.git e fest-maven-setup/.git
+diff -uN fest-maven-setup.orig/pom.xml fest-maven-setup/pom.xml
+--- fest-maven-setup.orig/pom.xml 2012-04-24 22:56:00.230371299 +0200
++++ fest-maven-setup/pom.xml 2012-04-25 00:01:26.263182065 +0200
+@@ -204,13 +204,6 @@
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+- <artifactId>maven-site-plugin</artifactId>
+- <configuration>
+- <templateFile>${basedir}/src/site/site.vm</templateFile>
+- </configuration>
+- </plugin>
+- <plugin>
+- <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+@@ -312,10 +305,6 @@
+ <reporting>
+ <plugins>
+ <plugin>
+- <groupId>org.apache.maven.plugins</groupId>
+- <artifactId>maven-site-plugin</artifactId>
+- </plugin>
+- <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>javancss-maven-plugin</artifactId>
+ </plugin>
diff --git a/sources b/sources
index e69de29..c5536c3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+aa31d6cc19aa4e1f55f103571489ef7e fest-common-1.0.11.tar.bz2
12 years