LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-26-2006, 09:12 AM   #1
rindjon
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Question spec file programming - Require tag


Hi folks

I am trying to build my own spec file and i stumbled into a problem.
my rpm needs the kernel sources to be installed so i can compile with them, but RedHat changed the name of the kernel source package from "kernel-source" to "kernel-devel".
i don't want 2 separate rpms just because of naming, one to redhat3 and one to redhat4...
any ideas about how i can do this?

Thanks !
Rindjon
 
Old 03-27-2006, 09:56 PM   #2
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
hi,
explain more ur problem. What i get is that u want to built a rpm but that requires kernel source code to be installed previously in computer
 
Old 03-29-2006, 02:17 AM   #3
rindjon
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Original Poster
Rep: Reputation: 0
yes, this is true. my rpm needs the sources to be installed. the problem is RedHat changed the name of the kernel source package from "kernel-source" to "kernel-devel", so doing a "Reauire" tag with "kernel-source" fails on redhat4, while doing a "Reauire" tag with "kernel-devel" fails on redhat3.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to extract spec file from rpm file nayankk Programming 18 11-12-2015 02:11 PM
Tag Editor for Audio File (Various Format) edwin11 Linux - Software 4 02-02-2006 11:37 PM
RPM Spec file creation: %file section question davidas Linux - Newbie 0 03-16-2004 10:36 PM
Patches for .spec file linuxdev Linux - Newbie 5 02-12-2004 01:32 PM
Require Help in kernel programming ranendra_dutta Linux - Networking 0 07-04-2002 07:35 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration