[maven-site-plugin] Port for jetty 8.1.0

Stanislav Ochotnicky sochotni at fedoraproject.org
Thu Jan 26 14:01:52 UTC 2012


commit b2721e35995fc4cdf63bc7ce52a46cc285fa9efa
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Thu Jan 26 14:05:51 2012 +0100

    Port for jetty 8.1.0
    
    - Small spec cleanups

 0001-Set-source-encoding-property-to-UTF8.patch |    8 +++---
 maven-site-plugin.spec                          |   25 ++++++++++++++--------
 2 files changed, 20 insertions(+), 13 deletions(-)
---
diff --git a/0001-Set-source-encoding-property-to-UTF8.patch b/0001-Set-source-encoding-property-to-UTF8.patch
index ae5e0db..fc36ef7 100644
--- a/0001-Set-source-encoding-property-to-UTF8.patch
+++ b/0001-Set-source-encoding-property-to-UTF8.patch
@@ -1,7 +1,7 @@
-From f1bb969252d2b85d54ab138e57d56d3b960429a9 Mon Sep 17 00:00:00 2001
+From 251ff59189b792587c8d54c18b8ef3d8b65fc4f6 Mon Sep 17 00:00:00 2001
 From: Stanislav Ochotnicky <sochotnicky at redhat.com>
-Date: Mon, 15 Aug 2011 11:10:57 +0200
-Subject: [PATCH] Set source encoding property to UTF8
+Date: Thu, 26 Jan 2012 12:18:00 +0100
+Subject: [PATCH 1/2] Set source encoding property to UTF8
 
 ---
  pom.xml |    1 +
@@ -20,5 +20,5 @@ index f73ad8a..8052e1c 100644
  
    <dependencies>
 -- 
-1.7.6
+1.7.6.2
 
diff --git a/maven-site-plugin.spec b/maven-site-plugin.spec
index f7f0896..21a691a 100644
--- a/maven-site-plugin.spec
+++ b/maven-site-plugin.spec
@@ -1,6 +1,6 @@
 Name:           maven-site-plugin
 Version:        3.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Maven Site Plugin
 
 Group:          Development/Libraries
@@ -9,6 +9,7 @@ URL:            http://maven.apache.org/plugins/maven-site-plugin/
 Source0:        http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
 
 Patch0:         0001-Set-source-encoding-property-to-UTF8.patch
+Patch1:         0002-Port-to-jetty-8.x.patch
 
 BuildArch: noarch
 
@@ -35,7 +36,7 @@ BuildRequires: maven-plugin-cobertura
 BuildRequires: maven-wagon
 BuildRequires: maven-reporting-exec
 BuildRequires: plexus-containers-component-metadata
-BuildRequires: jetty
+BuildRequires: jetty >= 8.1.0-0.1.rc5
 BuildRequires: servlet25
 BuildRequires: plexus-archiver
 BuildRequires: plexus-containers-container-default
@@ -44,7 +45,7 @@ BuildRequires: plexus-velocity
 BuildRequires: plexus-utils
 
 Requires: maven
-Requires: jetty
+Requires: jetty >= 8.1.0-0.1.rc5
 Requires: java
 Requires: jpackage-utils
 Requires: maven-artifact-manager
@@ -59,8 +60,6 @@ Requires: plexus-containers-container-default
 Requires: plexus-i18n
 Requires: plexus-velocity
 Requires: plexus-utils
-Requires(post): jpackage-utils
-Requires(postun): jpackage-utils
 
 Provides:       maven2-plugin-site = %{version}-%{release}
 Obsoletes:      maven2-plugin-site <= 0:2.0.8
@@ -79,10 +78,12 @@ API documentation for %{name}.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
+# skipping tests because we need to fix them first for jetty update
 mvn-rpmbuild \
-        -Dmaven.test.failure.ignore=true \
+        -Dmaven.test.skip=true \
         install javadoc:javadoc
 
 %install
@@ -102,14 +103,20 @@ install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
 cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
 
 %files
-%{_javadir}/*
-%{_mavenpomdir}/*
-%{_mavendepmapfragdir}/*
+%doc LICENSE NOTICE
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
 
 %files javadoc
+%doc LICENSE NOTICE
 %{_javadocdir}/%{name}
 
 %changelog
+* Thu Jan 26 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 3.0-3
+- Port for jetty 8.1.0
+- Small spec cleanups
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list