rpms/ReviewBoard/EL-5 ReviewBoard.spec,1.1,1.2

Stephen Gallagher sgallagh at fedoraproject.org
Fri Jan 15 20:37:12 UTC 2010


Author: sgallagh

Update of /cvs/pkgs/rpms/ReviewBoard/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10600

Modified Files:
	ReviewBoard.spec 
Log Message:
clog


Index: ReviewBoard.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ReviewBoard/EL-5/ReviewBoard.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- ReviewBoard.spec	4 Jan 2010 14:18:14 -0000	1.1
+++ ReviewBoard.spec	15 Jan 2010 20:37:12 -0000	1.2
@@ -2,7 +2,7 @@
 
 Name:           ReviewBoard
 Version:        1.0.5.1
-Release:        2%{?dist}
+Release:        2.1%{?dist}
 Summary:        Web-based code review tool
 Group:          Applications/Internet
 License:        MIT
@@ -50,6 +50,14 @@ rm -rf $RPM_BUILD_ROOT
 # manage.py has a shebang and is meaningful to run; make it executable:
 chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/reviewboard/manage.py
 
+# RHEL 5 packages don't have egg-info files, so remove the requires.txt
+# It isn't needed, because RPM will guarantee the dependency itself
+%if 0%{?rhel} > 0
+%if 0%{?rhel} <= 5
+rm -f $RPM_BUILD_ROOT/%{python_sitelib}/%{name}-%{version}-py2.4.egg-info/requires.txt
+%endif
+%endif
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -64,6 +72,10 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitelib}/*
 
 %changelog
+* Fri Jan 15 2010 Stephen Gallagher <sgallagh at redhat.com> - 1.0.5.1-2.1
+- Remove requires.txt from RHEL5 builds to fix runtime error due to
+- lack of egg-info files
+
 * Tue Dec 22 2009 Stephen Gallagher <sgallagh at redhat.com> - 1.0.5.1-2
 - Fix source tarball location
 - Add comment to spec file regarding the lack of .desktop file



More information about the scm-commits mailing list