Bug 8093 - [FR] requires/provides skiplists
Summary: [FR] requires/provides skiplists
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL: http://lists.altlinux.ru/pipermail/de...
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-30 10:17 MSD by Michael Shigorin
Modified: 2011-02-15 22:38 MSK (History)
8 users (show)

See Also:


Attachments
filter.sh (529 bytes, application/x-sh)
2005-09-30 13:31 MSD, solo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2005-09-30 10:17:04 MSD
http://lists.altlinux.ru/pipermail/devel/2004-May/011054.html:

%NotRequires() %global __find_requires /usr/lib/rpm/filter.sh `echo "%*"` --
%__find_requires 
%NotProvides() %global __find_provides /usr/lib/rpm/filter.sh `echo "%*"` --
%__find_provides 
Примеры использования:
%NotRequires perl(warnings.pm) libz.so.1
%NotProvides perl(PerlIO/gzip.pm)
Какие будут мнения?
Comment 1 solo 2005-09-30 13:31:42 MSD
Created attachment 1154 [details]
filter.sh

filter.sh из начального письма at@
Comment 2 Michael Shigorin 2010-10-09 17:45:32 MSD
С тех пор появились несколько иные варианты:
%add_findreq_skiplist /usr/share/mysql-test/*
%add_findprov_skiplist /usr/share/mysql-test/*
Comment 3 Michael Shigorin 2011-02-15 22:38:56 MSK
Совсем недавно (commit 82f7aeb2839c1104d4679798ca1aa3997254aa62 от Sat Jan 22 23:35:34 2011 +0300) были реализованы ещё и %filter_from_requires и %filter_from_provides.