disabled rpmlib(PayloadFilesHavePrefix) and rpmlib(CompressedFileNames) dependencies
This commit is contained in:
parent
23317f11b7
commit
35ca8f78ab
@ -1083,7 +1083,7 @@ static void genCpioListAndHeader(/*@partial@*/ FileList fl,
|
||||
/*@modifies h, *cpioList, fl->processingFailed, fl->fileList,
|
||||
rpmGlobalMacroContext, fileSystem @*/
|
||||
{
|
||||
int _addDotSlash = !(isSrc || rpmExpandNumeric("%{?_noPayloadPrefix}"));
|
||||
int _addDotSlash = !isSrc;
|
||||
int apathlen = 0;
|
||||
int dpathlen = 0;
|
||||
int skipLen = 0;
|
||||
@ -1283,11 +1283,7 @@ static void genCpioListAndHeader(/*@partial@*/ FileList fl,
|
||||
|
||||
}
|
||||
|
||||
if (_addDotSlash)
|
||||
(void) rpmlibNeedsFeature(h, "PayloadFilesHavePrefix", "4.0-1");
|
||||
|
||||
compressFilelist(h);
|
||||
(void) rpmlibNeedsFeature(h, "CompressedFileNames", "3.0.4-1");
|
||||
|
||||
{ TFI_t fi = xcalloc(1, sizeof(*fi));
|
||||
char * a, * d;
|
||||
|
@ -9,9 +9,6 @@
|
||||
# XXX enable at your own risk, CDB access to rpmdb isn't cooked yet.
|
||||
%define enable_cdb create cdb
|
||||
|
||||
# XXX legacy requires './' payload prefix to be omitted from rpm packages.
|
||||
%define _noPayloadPrefix 1
|
||||
|
||||
%define __prefix /usr
|
||||
%{expand: %%define __share %(if [ -d %{__prefix}/share/man ]; then echo /share ; else echo %%{nil} ; fi)}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user