|
|
Choosing A Webhost: |
Re: Re: Tool to determine what files require what: msg#00004linux.redhat.fedora.extras.packaging
Orion Poplawski wrote:
Well, to answer my question, this basically does what I want: #Requires find $RPM_BUILD_ROOT -type f | while read file do deps=`/usr/lib/rpm/rpmdeps -R $file` if [ -n "$deps" ] then echo -n "$file: " | sed s,$RPM_BUILD_ROOT,, >> ../requires echo $deps >> ../requires fi done Then with a simple perl script I can invert the list to files show per requirement. -- Orion Poplawski System Administrator 303-415-9701 x222 Colorado Research Associates/NWRA FAX: 303-415-9702 3380 Mitchell Lane, Boulder CO 80301 http://www.co-ra.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Tool to determine what files require what, Panu Matilainen |
|---|---|
| Next by Date: | Re: updating versions policy, Toshio Kuratomi |
| Previous by Thread: | Re: Re: Tool to determine what files require what, Panu Matilainen |
| Next by Thread: | Re: updating versions policy, Toshio Kuratomi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |