Re: [PATCH] syslinux is a BuildRequires, not a Requires

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 4 Aug 2009, Adam Jackson wrote:

In my continuing vain struggle to get perl off the live media, I
discovered that we were suddenly pulling in syslinux for isohybrid.
isohybrid is a noble thing to do, but not something anaconda actually
does at runtime.

The scripts themselves should probably be packaged separately, someday.

- ajax

---

Index: anaconda.spec
===================================================================
RCS file: /cvs/pkgs/rpms/anaconda/devel/anaconda.spec,v
retrieving revision 1.800
diff -u -p -r1.800 anaconda.spec
--- anaconda.spec	31 Jul 2009 19:19:03 -0000	1.800
+++ anaconda.spec	4 Aug 2009 20:47:04 -0000
@@ -4,7 +4,7 @@
Summary: Graphical system installer
Name:    anaconda
Version: 12.7
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group:   Applications/System
URL:     http://fedoraproject.org/wiki/Anaconda
@@ -78,6 +78,9 @@ BuildRequires: dbus-devel >= %{dbusver}
BuildRequires: desktop-file-utils
%endif
BuildRequires: iscsi-initiator-utils-devel >= %{iscsiver}
+%ifarch %{ix86} x86_64
+BuildRequires: syslinux >= 3.73
+%endif

Requires: policycoreutils
Requires: rpm-python >= %{rpmpythonver}
@@ -125,7 +128,6 @@ Requires: createrepo >= %{createrepover}
Requires: squashfs-tools
Requires: genisoimage >= %{genisoimagever}
%ifarch %{ix86} x86_64
-Requires: syslinux >= 3.73
Requires: makebootfat
Requires: device-mapper
%endif
@@ -208,6 +210,10 @@ update-desktop-database &> /dev/null ||
%endif

%changelog
+* Tue Aug 04 2009 Adam Jackson <ajax@xxxxxxxxxx> 12.7-2
+- Move syslinux from Requires to BuildRequires, it's not actually needed at
+  runtime, just for mk-images.x86.
+
* Fri Jul 31 2009 Chris Lumens <clumens@xxxxxxxxxx> - 12.7-1
- Fix up udev sillies (related to #514501) (katzj)
- Log when we unmount filesystems so we have a match for mount messages.



Should be patching this file:

diff --git a/anaconda.spec.in b/anaconda.spec.in
index a9a4e3f..da38d7b 100644
- --- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -78,6 +78,9 @@ BuildRequires: dbus-devel >= %{dbusver}
 BuildRequires: desktop-file-utils
 %endif
 BuildRequires: iscsi-initiator-utils-devel >= %{iscsiver}
+%ifarch %{ix86} x86_64
+BuildRequires: syslinux >= 3.73
+%endif

 Requires: policycoreutils
 Requires: rpm-python >= %{rpmpythonver}
@@ -124,7 +127,6 @@ Requires: createrepo >= %{createrepover}
 Requires: squashfs-tools
 Requires: genisoimage >= %{genisoimagever}
 %ifarch %{ix86} x86_64
- -Requires: syslinux >= 3.73
 Requires: makebootfat
 Requires: device-mapper
 %endif

Looks fine, I'll apply it unless you want to regenerate a diff that I can
git am.

- -- David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkp4rggACgkQ5hsjjIy1VkmSrQCgpse0k3j8kB7uHwiiua8JNfEZ
eX4AoIFqeUVvgYi3qrzRa+mUZxwKGudB
=zLtq
-----END PGP SIGNATURE-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux