[joda-time/el5] disable on ppc architecture

gil gil at fedoraproject.org
Mon Dec 3 07:04:47 UTC 2012


commit f06a1ea7fbc9cc97ddc29cc5a2a88bbcac68d58b
Author: gil <puntogil at libero.it>
Date:   Mon Dec 3 08:04:25 2012 +0100

    disable on ppc architecture

 joda-time.spec |   20 ++++++++------------
 1 files changed, 8 insertions(+), 12 deletions(-)
---
diff --git a/joda-time.spec b/joda-time.spec
index 49f6e0c..62f2504 100644
--- a/joda-time.spec
+++ b/joda-time.spec
@@ -1,11 +1,9 @@
 %define tzversion tzdata2008e
 
-
 Name:           joda-time
 Version:        1.5.2
-Release:        10.%{tzversion}%{?dist}
+Release:        11.%{tzversion}%{?dist}
 Summary:        Java date and time API
-
 Group:          Development/Libraries
 License:        ASL 2.0
 URL:            http://joda-time.sourceforge.net/index.html
@@ -23,6 +21,8 @@ BuildRequires:  junit
 Requires:       java > 0:1.5.0
 Requires:       jpackage-utils
 
+ExcludeArch:    ppc
+
 %description
 Joda-Time provides a quality replacement for the Java date
 and time classes. The design allows for multiple calendar
@@ -33,18 +33,15 @@ are also included, and we welcome further additions.
 Supporting classes include time zone, duration, format
 and parsing.
 
-
 %package        javadoc
 Summary:        Javadocs for %{name}
 Group:          Documentation
 Requires:       %{name} = %{version}-%{release}
 Requires:       jpackage-utils
 
-
 %description    javadoc
 This package contains the API documentation for %{name}.
 
-
 %prep
 %setup -q -n %{name}-%{version}-src
 %patch0 -p1
@@ -60,12 +57,11 @@ rm -rf src/testdata/
 rm -f src/java/org/joda/time/tz/src/*
 tar -xzf %{SOURCE1} -C src/java/org/joda/time/tz/src/
 
-
 %build
+
 ant
 ant javadoc
 
-
 %install
 rm -rf %{buildroot}
 
@@ -79,23 +75,23 @@ install -m 644 build/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
 install -p -d -m 755 %{buildroot}%{_javadocdir}/%{name}
 cp -a build/docs/* %{buildroot}%{_javadocdir}/%{name}
 
-
 %clean
 rm -rf %{buildroot}
 
-
 %files
 %defattr(-,root,root,-)
 %doc LICENSE.txt RELEASE-NOTES.txt ToDo.txt
 %{_javadir}/%{name}.jar
 
-
 %files javadoc
 %defattr(-,root,root,-)
+%doc LICENSE.txt
 %doc %{_javadocdir}/%{name}
 
-
 %changelog
+* Mon Dec 03 2012 gil cattaneo <puntogil at libero.it> - 1.5.2-11.tzdata2008e
+- disable on ppc architecture
+
 * Sun Nov 04 2012 gil cattaneo <puntogil at libero.it> - 1.5.2-10.tzdata2008e
 - fix java version
 


More information about the scm-commits mailing list