Fedora Linux Support Community & Resources Center
  #1  
Old 14th September 2008, 02:28 PM
FunkyRes Offline
Registered User
 
Join Date: Nov 2004
Posts: 235
rpm spec file macro help

Got a weird scenario I can't figure out.

If the macro foo is set to the string /usr then I want the macro bar set to 1.
If the macro foo is set to anything other than the string /usr then I want bar set to 0.

I'm having a hell of a time figuring out an expression that will actually do it.
Reply With Quote
  #2  
Old 14th September 2008, 02:36 PM
FunkyRes Offline
Registered User
 
Join Date: Nov 2004
Posts: 235
Nevermind, I got it - had a flippin typo
Reply With Quote
Reply

Tags
file, macro, rpm, spec

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to have an RPM replace another in the SPEC file? uncholowapo Using Fedora 0 30th September 2009 05:48 AM
Can someone check my spec file? uncholowapo Gamers' Lounge 2 15th October 2008 11:22 PM
building a SPEC file jim Programming & Packaging 5 2nd October 2005 09:40 PM
Viewing the spec file of RPM“s eggsy85 Programming & Packaging 4 4th August 2005 04:36 PM
About the spec file in emacs-21.4-2.src.rpm AlaxMAX Using Fedora 2 19th April 2005 08:41 AM


Current GMT-time: 12:49 (Sunday, 21-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Galaxy Hotel, Macau - Nikkaluokta Travel Photos - Plaza Francia - San Cristobal De Las Casas, La Choperia