rpms/publican-fedora/EL-6 publican-fedora.spec,1.16,1.17

Jeff Fearn jfearn at fedoraproject.org
Thu Jul 8 23:36:25 UTC 2010


Author: jfearn

Update of /cvs/pkgs/rpms/publican-fedora/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23944

Modified Files:
	publican-fedora.spec 
Log Message:
limit arches due to java issues



Index: publican-fedora.spec
===================================================================
RCS file: /cvs/pkgs/rpms/publican-fedora/EL-6/publican-fedora.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- publican-fedora.spec	4 May 2010 01:10:41 -0000	1.16
+++ publican-fedora.spec	8 Jul 2010 23:36:24 -0000	1.17
@@ -1,13 +1,19 @@
 %define brand fedora
+%define RHEL6 %(test "%{?dist}" == ".el6" && echo 1 || echo 0)
 
 Name:		publican-%{brand}
 Summary:	Publican documentation template files for %{brand}
 Version:	1.5
-Release:	0%{?dist}
+Release:	1%{?dist}
 License:	CC-BY-SA
 Group:		Development/Libraries
 Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Buildarch:	noarch
+# Limited to these arches on RHEL 6 due to PDF + Java limitations
+%if %{RHEL6}
+ExclusiveArch:   i686 x86_64
+%else
+BuildArch:   noarch
+%endif
 Source:		https://fedorahosted.org/releases/publican/%{name}-%{version}.tgz
 Requires:	publican >= 1.0
 BuildRequires:	publican >= 1.0
@@ -39,6 +45,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/publican/Common_Content/%{brand}
 
 %changelog
+* Mon Jul 5 2010 Jeff Fearn <jfearn at redhat.com> 1.5-1
+- limit arches.
+
 * Tue May 04 2010 Rüdiger Landmann <r.landmann at redhat.com> 1.5-0
 - turn article ToCs back on for now
 



More information about the scm-commits mailing list