[livecd-tools] * Tue Jan 04 2011 Dennis Gilmore <dennis at ausil.us> - 15.2-2 - patch to drop support of releasever in
Dennis Gilmore
ausil at fedoraproject.org
Tue Jan 4 22:47:23 UTC 2011
commit 5b013e64189bec33960bca20dfbe61fc4826d168
Author: Dennis Gilmore <dennis at ausil.us>
Date: Tue Jan 4 16:47:02 2011 -0600
* Tue Jan 04 2011 Dennis Gilmore <dennis at ausil.us> - 15.2-2
- patch to drop support of releasever in urls it destroys image creation in koji
livecd-tools-remove-releasever.patch | 10 ++++++++++
livecd-tools.spec | 7 ++++++-
2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/livecd-tools-remove-releasever.patch b/livecd-tools-remove-releasever.patch
new file mode 100644
index 0000000..972349c
--- /dev/null
+++ b/livecd-tools-remove-releasever.patch
@@ -0,0 +1,10 @@
+--- livecd-tools-15.2/imgcreate/yuminst.py.orig 2011-01-04 16:42:09.000000000 -0600
++++ livecd-tools-15.2/imgcreate/yuminst.py 2011-01-04 16:42:23.000000000 -0600
+@@ -138,7 +138,6 @@
+ # takes a variable and substitutes like yum configs do
+ option = option.replace("$basearch", rpmUtils.arch.getBaseArch())
+ option = option.replace("$arch", rpmUtils.arch.getCanonArch())
+- option = option.replace("$releasever", yum.config._getsysver("/", "redhat-release"))
+ return option
+
+ repo = yum.yumRepo.YumRepository(name)
diff --git a/livecd-tools.spec b/livecd-tools.spec
index b9237dc..d45b560 100644
--- a/livecd-tools.spec
+++ b/livecd-tools.spec
@@ -5,7 +5,7 @@
Summary: Tools for building live CDs
Name: livecd-tools
Version: 15.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 1
License: GPLv2
Group: System Environment/Base
@@ -16,6 +16,7 @@ URL: http://git.fedorahosted.org/git/livecd
# make dist
# scp livecd*.tar.bz2 fedorahosted.org:livecd
Source0: http://fedorahosted.org/releases/l/i/livecd/%{name}-%{version}.tar.bz2
+Patch0: livecd-tools-remove-releasever.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: python-imgcreate = %{epoch}:%{version}-%{release}
Requires: mkisofs
@@ -60,6 +61,7 @@ like live image or appliances.
%prep
%setup -q
+%patch0 -p1
%build
make
@@ -92,6 +94,9 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitelib}/imgcreate/*.pyc
%changelog
+* Tue Jan 04 2011 Dennis Gilmore <dennis at ausil.us> - 15.2-2
+- patch to drop support of releasever in urls it destroys image creation in koji
+
* Wed Dec 22 2010 Brian C. Lane <bcl at redhat.com> - 15.2-1
- Version 5.2 (bcl)
- Assign a device-mapper UUID w/ subsystem prefix to the dm snapshot. (dlehman)
More information about the scm-commits
mailing list