[laptop-mode] Building RPM for Fedora 11
Ritesh Raj Sarraf
rrs at researchut.com
Fri Jul 31 08:19:07 CEST 2009
--nextPart1988429.Pvnzlbh7qf
Content-Type: Text/Plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
On Friday 31 Jul 2009 04:02:33 Brian Morrison wrote:
> On Thu, 30 Jul 2009 13:14:26 +0530
>
> Ritesh Raj Sarraf <rrs at researchut.com> wrote:
> > I'm not sure what dependency error it could be. Can you paste the error
> > you saw ?
>
> I have built the rpms from the 1.49 tarball, and installed on Fedora
> 11, without any dependency errors. I have redhat-lsb and util-linux-ng
> installed, but not lsb-base or util-linux.
>
> I will comment on v1.50 as soon as I install it.
Okay!! I'm going to change it from Requires to Suggests. But I'm not very s=
ure=20
if the Suggests field works here in RPM. If any of you can confirm, that'd =
be=20
great.
=3D=3D=3D modified file 'laptop-mode-tools.spec'
=2D-- laptop-mode-tools.spec 2009-07-24 10:44:02 +0000
+++ laptop-mode-tools.spec 2009-07-31 06:16:57 +0000
@@ -16,10 +16,10 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
=2DRequires: acpid
=2DRequires: lsb-base
=2DRequires: psmisc
=2DRequires: util-linux
+%{?with_suggest_tags:Suggests: acpid}
+%{?with_suggest_tags:Suggests: lsb-base}
+%{?with_suggest_tags:Suggests: psmisc}
+%{?with_suggest_tags:Suggests: util-linux}
%{?with_suggest_tags:Suggests: hal}
%{?with_suggest_tags:Suggests: ethtool}
Note: We can't have redhat-lsb as a Req because we need to have the spec be=
=20
neutral enough to build on most (if not every) RPM distribution.
Ritesh
=2D-=20
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
--nextPart1988429.Pvnzlbh7qf
Content-Description: This is a digitally signed message part.
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.samwel.tk/pipermail/laptop-mode/attachments/20090731/b18bb88a/attachment.pgp>
--nextPart1988429.Pvnzlbh7qf--
More information about the laptop-mode
mailing list