Broken dependencies: junit4
by Fedora Koji Build System
junit4 has broken dependencies in the rawhide tree:
On x86_64:
junit4-4.8.2-2.fc15.noarch requires java-1.6.0
On i386:
junit4-4.8.2-2.fc15.noarch requires java-1.6.0
Please resolve this as soon as possible.
12 years, 3 months
Broken dependencies: junit4
by Fedora Koji Build System
junit4 has broken dependencies in the rawhide tree:
On x86_64:
junit4-4.8.2-2.fc15.noarch requires java-1.6.0
On i386:
junit4-4.8.2-2.fc15.noarch requires java-1.6.0
Please resolve this as soon as possible.
12 years, 3 months
[maven-enforcer] - Migration to plexus-containers-component-metadata - Maven3 compatibility patches - Minor spec file
by Jaromír Cápík
commit ac26947a16a861b1fcd8f23fceed4bcb1c820242
Author: Jaromir Capik <jcapik(a)redhat.com>
Date: Thu Feb 2 18:52:26 2012 +0100
- Migration to plexus-containers-component-metadata
- Maven3 compatibility patches
- Minor spec file changes according to the latest guidelines
maven-enforcer-maven3-compat.patch | 15 +++++
...-enforcer-migration-to-component-metadata.patch | 34 ++++++++++
...equirePluginVersions-maven3-compatibility.patch | 31 +++++++++
maven-enforcer.spec | 66 ++++++++++++--------
4 files changed, 120 insertions(+), 26 deletions(-)
---
diff --git a/maven-enforcer-maven3-compat.patch b/maven-enforcer-maven3-compat.patch
new file mode 100644
index 0000000..f4249fa
--- /dev/null
+++ b/maven-enforcer-maven3-compat.patch
@@ -0,0 +1,15 @@
+diff -Naur enforcer-1.0.1.orig/enforcer-rules/pom.xml enforcer-1.0.1/enforcer-rules/pom.xml
+--- enforcer-1.0.1.orig/enforcer-rules/pom.xml 2012-02-02 18:05:33.000000000 +0100
++++ enforcer-1.0.1/enforcer-rules/pom.xml 2012-02-02 18:08:23.180927367 +0100
+@@ -36,6 +36,11 @@
+
+ <dependencies>
+ <dependency>
++ <groupId>org.apache.maven</groupId>
++ <artifactId>maven-compat</artifactId>
++ <version>3.0.3</version>
++ </dependency>
++ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ </dependency>
diff --git a/maven-enforcer-migration-to-component-metadata.patch b/maven-enforcer-migration-to-component-metadata.patch
new file mode 100644
index 0000000..d8f8608
--- /dev/null
+++ b/maven-enforcer-migration-to-component-metadata.patch
@@ -0,0 +1,34 @@
+diff -Naur enforcer-1.0.1.orig/enforcer-api/pom.xml enforcer-1.0.1/enforcer-api/pom.xml
+--- enforcer-1.0.1.orig/enforcer-api/pom.xml 2011-06-14 20:48:04.000000000 +0200
++++ enforcer-1.0.1/enforcer-api/pom.xml 2012-02-02 17:59:04.643725565 +0100
+@@ -59,11 +59,11 @@
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.plexus</groupId>
+- <artifactId>plexus-maven-plugin</artifactId>
++ <artifactId>plexus-component-metadata</artifactId>
+ <executions>
+ <execution>
+ <goals>
+- <goal>descriptor</goal>
++ <goal>generate-metadata</goal>
+ </goals>
+ </execution>
+ </executions>
+diff -Naur enforcer-1.0.1.orig/enforcer-rules/pom.xml enforcer-1.0.1/enforcer-rules/pom.xml
+--- enforcer-1.0.1.orig/enforcer-rules/pom.xml 2011-06-14 20:48:04.000000000 +0200
++++ enforcer-1.0.1/enforcer-rules/pom.xml 2012-02-02 17:58:46.100495315 +0100
+@@ -101,11 +101,11 @@
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.plexus</groupId>
+- <artifactId>plexus-maven-plugin</artifactId>
++ <artifactId>plexus-component-metadata</artifactId>
+ <executions>
+ <execution>
+ <goals>
+- <goal>descriptor</goal>
++ <goal>generate-metadata</goal>
+ </goals>
+ </execution>
+ </executions>
diff --git a/maven-enforcer-requirePluginVersions-maven3-compatibility.patch b/maven-enforcer-requirePluginVersions-maven3-compatibility.patch
new file mode 100644
index 0000000..3b13d6c
--- /dev/null
+++ b/maven-enforcer-requirePluginVersions-maven3-compatibility.patch
@@ -0,0 +1,31 @@
+Index: src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java
+===================================================================
+--- enforcer-rules.orig/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java (revision 1087082)
++++ enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java (working copy)
+@@ -128,7 +128,7 @@
+ private Map phaseToLifecycleMap;
+
+ /** The lifecycles. */
+- private List lifecycles;
++ private Collection lifecycles;
+
+ /** The factory. */
+ ArtifactFactory factory;
+@@ -175,14 +175,9 @@
+ }
+ catch (Exception e)
+ {
+- log.info( "The requirePluginVersions rule is currently not compatible with Maven3.");
+- /*
+- *
+- * NOTE: If this happens, we're bailing out right away.
+- *
+- *
+- */
+- return;
++ Object defaultLifeCycles = ReflectionUtils.getValueIncludingSuperclasses("defaultLifeCycles", life);
++ Map lifecyclesMap = (Map)ReflectionUtils.getValueIncludingSuperclasses("lifecycles", defaultLifeCycles);
++ lifecycles = lifecyclesMap.values();
+ }
+ session = (MavenSession) helper.evaluate( "${session}" );
+ pluginManager = (PluginManager) helper.getComponent( PluginManager.class );
diff --git a/maven-enforcer.spec b/maven-enforcer.spec
index 0e3eb31..8de88ed 100644
--- a/maven-enforcer.spec
+++ b/maven-enforcer.spec
@@ -1,6 +1,6 @@
Name: maven-enforcer
Version: 1.0.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Maven Enforcer
Group: Development/Libraries
@@ -8,6 +8,11 @@ License: ASL 2.0
URL: http://maven.apache.org/enforcer
Source0: http://repo1.maven.org/maven2/org/apache/maven/enforcer/enforcer/%{versio...
+#748074 - maven-enforcer-plugin is not compatible with maven3
+Patch0: %{name}-requirePluginVersions-maven3-compatibility.patch
+Patch1: %{name}-migration-to-component-metadata.patch
+Patch2: %{name}-maven3-compat.patch
+
BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0
@@ -30,11 +35,10 @@ BuildRequires: maven-shared-reporting-impl
BuildRequires: maven-surefire-plugin
BuildRequires: maven-surefire-provider-junit
BuildRequires: plexus-containers-component-javadoc
+BuildRequires: plexus-containers-component-metadata
Requires: maven
Requires: jpackage-utils
Requires: java
-Requires(post): jpackage-utils
-Requires(postun): jpackage-utils
%description
Enforcer is a build rule execution framework.
@@ -80,6 +84,10 @@ This component contains the standard Enforcer Rules.
%prep
%setup -q -n enforcer-%{version}
+%patch0 -p0
+%patch1 -p1
+%patch2 -p1
+
%build
mvn-rpmbuild \
-e \
@@ -98,22 +106,16 @@ install -m 644 maven-enforcer-plugin/target/maven-enforcer-plugin-%{version}.jar
# poms
install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+install -pm 644 enforcer-api/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-enforcer-api.pom
+install -pm 644 enforcer-rules/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-enforcer-rules.pom
+install -pm 644 maven-enforcer-plugin/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-plugin.pom
-install -pm 644 pom.xml \
- %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_to_maven_depmap org.apache.maven.enforcer enforcer %{version} JPP %{name}
-
-install -pm 644 enforcer-api/pom.xml \
- %{buildroot}%{_mavenpomdir}/JPP.%{name}-enforcer-api.pom
-%add_to_maven_depmap org.apache.maven.enforcer enforcer-api %{version} JPP/%{name} enforcer-api
-
-install -pm 644 enforcer-rules/pom.xml \
- %{buildroot}%{_mavenpomdir}/JPP.%{name}-enforcer-rules.pom
-%add_to_maven_depmap org.apache.maven.enforcer enforcer-rules %{version} JPP/%{name} enforcer-rules
-
-install -pm 644 maven-enforcer-plugin/pom.xml \
- %{buildroot}%{_mavenpomdir}/JPP.%{name}-plugin.pom
-%add_to_maven_depmap org.apache.maven.plugins maven-enforcer-plugin %{version} JPP/%{name} plugin
+# fragments
+%add_maven_depmap JPP-%{name}.pom
+%add_maven_depmap -f enforcer-api JPP.%{name}-enforcer-api.pom %{name}/enforcer-api.jar
+%add_maven_depmap -f enforcer-rules JPP.%{name}-enforcer-rules.pom %{name}/enforcer-rules.jar
+%add_maven_depmap -f plugin JPP.%{name}-plugin.pom %{name}/plugin.jar
# javadoc
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
@@ -128,22 +130,34 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%files
%dir %{_javadir}/%{name}
-%{_mavenpomdir}/*
-%{_mavendepmapfragdir}/*
-
-%files javadoc
-%{_javadocdir}/%{name}
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
%files api
-%{_javadir}/%{name}/enforcer-api*
+%{_javadir}/%{name}/enforcer-api.jar
+%{_mavenpomdir}/JPP.%{name}-enforcer-api.pom
+%{_mavendepmapfragdir}/%{name}-enforcer-api
%files rules
-%{_javadir}/%{name}/enforcer-rules*
+%{_javadir}/%{name}/enforcer-rules.jar
+%{_mavenpomdir}/JPP.%{name}-enforcer-rules.pom
+%{_mavendepmapfragdir}/%{name}-enforcer-rules
%files -n maven-enforcer-plugin
-%{_javadir}/%{name}/plugin*
+%{_javadir}/%{name}/plugin.jar
+%{_mavenpomdir}/JPP.%{name}-plugin.pom
+%{_mavendepmapfragdir}/%{name}-plugin
+
+%files javadoc
+%{_javadocdir}/%{name}
+
%changelog
+* Thu Feb 02 2012 Jaromir Capik <jcapik(a)redhat.com> - 1.0.1-4
+- Migration to plexus-containers-component-metadata
+- Maven3 compatibility patches
+- Minor spec file changes according to the latest guidelines
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12 years, 3 months
[plexus-io] Updated to 2.0.2
by tradej@fedoraproject.org
commit b8a64719948dc4d55d7060247c4805b8c7fc2fb7
Author: Tomas Radej <tradej(a)redhat.com>
Date: Wed Feb 1 13:50:00 2012 +0100
Updated to 2.0.2
.gitignore | 1 +
plexus-io.spec | 12 ++++++++----
sources | 2 +-
3 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 97c7a3e..cf9e306 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
plexus-io-1.0-alpha-5.tar.bz2
/plexus-io-1.0.1.tar.xz
plexus-io-2.0.1.tar.xz
+/plexus-io-2.0.2.tar.xz
diff --git a/plexus-io.spec b/plexus-io.spec
index 9d2838c..cc3cca2 100644
--- a/plexus-io.spec
+++ b/plexus-io.spec
@@ -1,13 +1,14 @@
Name: plexus-io
-Version: 2.0.1
-Release: 2%{?dist}
+Version: 2.0.2
+Release: 1%{?dist}
Summary: Plexus IO Components
Group: Development/Libraries
License: ASL 2.0
URL: http://plexus.codehaus.org/plexus-components/plexus-io
# git clone https://github.com/sonatype/plexus-io
-# git archive --format=tar --prefix=plexus-io-2.0.1/ plexus-io-2.0.1 | xz >plexus-io-2.0.1.tar.xz
+# cd plexus-io
+# git archive --format=tar --prefix=plexus-io-2.0.2/ plexus-io-2.0.2 | xz >plexus-io-2.0.2.tar.xz
Source0: %{name}-%{version}.tar.xz
BuildArch: noarch
@@ -46,7 +47,7 @@ API documentation for %{name}.
%setup -q
%build
-mvn-rpmbuild install javadoc:javadoc
+mvn-rpmbuild install javadoc:aggregate
%install
# jars
@@ -76,6 +77,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
%{_javadocdir}/%{name}
%changelog
+* Thu Feb 02 2012 Tomas Radej <tradej(a)redhat.com> - 2.0.2-1
+- Updated to upstream version
+
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/sources b/sources
index 5ae17ee..8990c61 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ac87c6a33c4204a80081736bf19e17e5 plexus-io-2.0.1.tar.xz
+1680f91b05ecb889f532dd6b597ae5a6 plexus-io-2.0.2.tar.xz
12 years, 3 months
Broken dependencies: junit4
by Fedora Koji Build System
junit4 has broken dependencies in the rawhide tree:
On x86_64:
junit4-4.8.2-2.fc15.noarch requires java-1.6.0
On i386:
junit4-4.8.2-2.fc15.noarch requires java-1.6.0
Please resolve this as soon as possible.
12 years, 3 months
[decentxml] Update to 1.4 upstream release.
by Alexander Kurtakov
commit 11a8ced98bdac2da279bdc3ef84e1fcb632c7ef2
Author: Alexander Kurtakov < <akurtako(a)redhat.com>
Date: Wed Feb 1 22:55:21 2012 +0200
Update to 1.4 upstream release.
.gitignore | 1 +
decentxml.spec | 28 ++++++++--------------------
sources | 2 +-
3 files changed, 10 insertions(+), 21 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b06b3c5..93cce44 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/decentxml-1.3.tar.xz
/xmlts20031210.zip
+decentxml-1.4-src.zip
diff --git a/decentxml.spec b/decentxml.spec
index ce3d87e..1dd0004 100644
--- a/decentxml.spec
+++ b/decentxml.spec
@@ -1,14 +1,11 @@
Name: decentxml
-Version: 1.3
-Release: 2%{?dist}
+Version: 1.4
+Release: 1%{?dist}
Summary: XML parser optimized for round-tripping and code reuse
License: BSD
Group: Development/Libraries
URL: http://code.google.com/p/%{name}
-# request for tarball: https://code.google.com/p/decentxml/issues/detail?id=1
-# svn export http://decentxml.googlecode.com/svn/tags/r1.3 decentxml-1.3
-# tar caf decentxml-1.3.tar.xz decentxml-1.3
-Source0: %{name}-%{version}.tar.xz
+Source0: https://decentxml.googlecode.com/files/decentxml-1.4-src.zip
# for running w3c conformance test suite
Source1: http://www.w3.org/XML/Test/xmlts20031210.zip
BuildArch: noarch
@@ -21,8 +18,6 @@ BuildRequires: apache-commons-parent
Requires: java
Requires: jpackage-utils
-Requires(post): jpackage-utils
-Requires(postun): jpackage-utils
%description
XML parser optimized for round-tripping and code reuse with main
@@ -50,8 +45,7 @@ This package contains the API documentation for %{name}.
# here and symlink there
unzip %{SOURCE1}
ln -sf %{name}-%{version}/xmlconf ../xmlconf
-
-sed -i 's:\r::g' TODO CHANGES
+sed -i -e "s|junit-dep|junit|g" pom.xml
%build
mvn-rpmbuild install
@@ -70,28 +64,22 @@ install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/apidocs/* %{buildroot}%{_javadocdir}/%{name}
-%post
-%update_maven_depmap
-
-%postun
-%update_maven_depmap
-
%files
-%defattr(-,root,root,-)
-%doc LICENSE TODO CHANGES
+%doc LICENSE README
%{_javadir}/%{name}.jar
%{_mavenpomdir}/JPP-%{name}.pom
%{_mavendepmapfragdir}/%{name}
%files javadoc
-%defattr(-,root,root,-)
%doc LICENSE
%doc %{_javadocdir}/%{name}
%changelog
+* Wed Feb 1 2012 Alexander Kurtakov <akurtako(a)redhat.com> 1.4-1
+- Update to 1.4 upstream release.
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Feb 25 2011 Stanislav Ochotnicky <sochotnicky(a)redhat.com> - 1.3-1
- Initial version of the package
-
diff --git a/sources b/sources
index d287e03..88093fd 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-3e8f717d8b717fa7c66dda4238853e53 decentxml-1.3.tar.xz
b09f340780c6ff995bf6ff81ad341585 xmlts20031210.zip
+bdfa12918451f34d83b409148a17a599 decentxml-1.4-src.zip
12 years, 3 months