rpms/pungi/FC-6 pungi-sha1order.patch,NONE,1.1 pungi.spec,1.5,1.6

Jesse Keating (jkeating) fedora-extras-commits at redhat.com
Mon Mar 12 19:38:59 UTC 2007


Author: jkeating

Update of /cvs/extras/rpms/pungi/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28614

Modified Files:
	pungi.spec 
Added Files:
	pungi-sha1order.patch 
Log Message:
Add a patch to fix sha1 ordering


pungi-sha1order.patch:

--- NEW FILE pungi-sha1order.patch ---
--- ./pypungi/pungi.py.sha1	2007-03-12 15:00:43.000000000 -0400
+++ ./pypungi/pungi.py	2007-03-12 15:01:10.000000000 -0400
@@ -176,10 +176,10 @@
                                                         isodir,
                                                         isoname,
                                                         os.path.join('%s-disc%s' % (self.topdir, disc))))
-            os.system('cd %s; sha1sum %s >> SHA1SUM' % (isodir, isoname))
             # implant md5 for mediacheck on all but source arches
             if not self.config.get('default', 'arch') == 'source':
                 os.system('/usr/lib/anaconda-runtime/implantisomd5 %s' % os.path.join(isodir, isoname))
+            os.system('cd %s; sha1sum %s >> SHA1SUM' % (isodir, isoname))
 
         # We've asked for more than one disc, and we're not srpms, so make a DVD image
         if self.config.getint('default', 'discs') > 1 and not self.config.get('default', 'arch') == 'source':
@@ -215,8 +215,8 @@
                                                         isodir,
                                                         isoname,
                                                         self.topdir))
-            os.system('cd %s; sha1sum %s >> SHA1SUM' % (isodir, isoname))
             os.system('/usr/lib/anaconda-runtime/implantisomd5 %s' % os.path.join(isodir, isoname))
+            os.system('cd %s; sha1sum %s >> SHA1SUM' % (isodir, isoname))
 
             shutil.move(os.path.join(self.config.get('default', 'destdir'), '.discinfo-%s' % self.config.get('default', 'arch')), discinfofile)
 


Index: pungi.spec
===================================================================
RCS file: /cvs/extras/rpms/pungi/FC-6/pungi.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- pungi.spec	16 Jan 2007 21:53:26 -0000	1.5
+++ pungi.spec	12 Mar 2007 19:38:27 -0000	1.6
@@ -2,13 +2,14 @@
 
 Name:           pungi
 Version:        0.1.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Distribution compose tool
 
 Group:          Development/Tools
 License:        GPL
 URL:            http://hosted.fedoraproject.org/projects/pungi
 Source0:        http://linux.duke.edu/projects/%{name}/release/%{name}-%{version}.tar.gz
+Patch0:         pungi-sha1order.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       anaconda-runtime, yum >= 3.0.3
 BuildRequires:  python-devel
@@ -21,6 +22,7 @@
 
 %prep
 %setup -q
+%patch0
 
 
 %build
@@ -46,6 +48,9 @@
 
 
 %changelog
+* Mon Mar 12 2007 Jesse Keating <jkeating at redhat.com> - 0.1.2-3
+- Add a patch to fix the sha1 ordering
+
 * Tue Jan 16 2007 Jesse Keating <jkeating at redhat.com> - 0.1.2-2
 - Require the new yum (now that it landed in updates)
 




More information about the fedora-extras-commits mailing list