Update to 2.0.5

This commit is contained in:
mef 2010-05-05 09:52:06 +00:00
parent 4eee04a140
commit 48438d048e
3 changed files with 44 additions and 30 deletions

View File

@ -0,0 +1,16 @@
--- plexus-utils-2.0.5/pom.xml.orig 2010-05-05 10:35:10.289442289 +0100
+++ plexus-utils-2.0.5/pom.xml 2010-05-05 10:35:37.167378010 +0100
@@ -76,13 +76,6 @@
</systemProperties>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <tagBase>https://svn.codehaus.org/plexus/plexus-utils/tags/</tagBase>
- </configuration>
- </plugin>
</plugins>
</build>
</project>

View File

@ -28,33 +28,36 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# #
%define with_maven 0
%define parent plexus %define parent plexus
%define subname utils %define subname utils
Name: plexus-utils Name: plexus-utils
Version: 1.4.5 Version: 2.0.5
Release: 1.2%{?dist} Release: 1%{?dist}
Summary: Plexus Common Utilities Summary: Plexus Common Utilities
License: ASL 1.1 and ASL 2.0 and MIT License: ASL 1.1 and ASL 2.0 and MIT
Group: Development/Libraries Group: Development/Libraries
URL: http://plexus.codehaus.org/ URL: http://plexus.codehaus.org/
Source0: plexus-utils-%{version}.tar.gz Source0: plexus-utils-%{version}.tar.gz
# svn export http://svn.codehaus.org/plexus/plexus-utils/tags/plexus-utils-1.4.5/ # svn export http://svn.codehaus.org/plexus/plexus-utils/tags/plexus-utils-2.0.1/
Source1: plexus-utils-1.4.5-build.xml Patch0: plexus-utils-remove-release-plugin.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: ant
BuildRequires: jpackage-utils >= 0:1.6 BuildRequires: jpackage-utils >= 0:1.6
Requires: jpackage-utils Requires: jpackage-utils
Requires(postun): jpackage-utils Requires(postun): jpackage-utils
%if %{with_maven}
BuildRequires: maven2 >= 0:2.0.4 BuildRequires: maven2
BuildRequires: maven2-plugin-compiler
BuildRequires: maven2-plugin-install
BuildRequires: maven2-plugin-jar
BuildRequires: maven2-plugin-javadoc
BuildRequires: maven2-plugin-resources
BuildRequires: maven2-plugin-surefire BuildRequires: maven2-plugin-surefire
%endif BuildRequires: maven-doxia-sitetools
BuildRequires: maven-surefire-provider-junit
Requires(post): jpackage-utils >= 0:1.7.2 Requires(post): jpackage-utils >= 0:1.7.2
Requires(postun): jpackage-utils >= 0:1.7.2 Requires(postun): jpackage-utils >= 0:1.7.2
@ -77,29 +80,17 @@ Requires(postun): jpackage-utils
Javadoc for %{name}. Javadoc for %{name}.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q
cp %{SOURCE1} build.xml %patch0 -p1
# Disable file utils test cases. See:
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228419
rm -f src/test/java/org/codehaus/plexus/util/FileUtilsTest.java
# TODO: Find out why this test keeps freezing
rm -f src/test/java/org/codehaus/plexus/util/interpolation/RegexBasedInterpolatorTest.java
%build %build
%if %{with_maven} export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
export MAVEN_REPO_LOCAL=`pwd`/.m2/repository mkdir -p $MAVEN_REPO_LOCAL
mvn-jpp -e \ mvn-jpp \
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \ -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
install javadoc:javadoc install javadoc:javadoc
%else
export CLASSPATH=target/classes:target/test-classes
ant -Dbuild.sysclasspath=only jar javadoc
%endif
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
# jars # jars
@ -130,8 +121,8 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_javadir}/* %{_javadir}/*
%{_datadir}/maven2 %{_mavenpomdir}/*
%{_mavendepmapfragdir} %{_mavendepmapfragdir}/*
%files javadoc %files javadoc
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -139,6 +130,13 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_javadocdir}/%{name} %doc %{_javadocdir}/%{name}
%changelog %changelog
* Wed May 5 2010 Mary Ellen Foster <mefoster at gmail.com> 2.0.5-1
- Update to 2.0.5
* Fri Feb 12 2010 Mary Ellen Foster <mefoster at gmail.com> 2.0.1-1
- Update to 2.0.1
- Build with maven
* Wed Aug 19 2009 Andrew Overholt <overholt@redhat.com> 1.4.5-1.2 * Wed Aug 19 2009 Andrew Overholt <overholt@redhat.com> 1.4.5-1.2
- Update to 1.4.5 from JPackage and Deepak Bhole - Update to 1.4.5 from JPackage and Deepak Bhole
- Remove gcj bits - Remove gcj bits

View File

@ -1 +1 @@
89ed0f643168016776809507f94a16b3 plexus-utils-1.4.5.tar.gz 58d8df8781da14817dde8dd548a15e2e plexus-utils-2.0.5.tar.gz