Mailinglist Archive: opensuse-packaging (42 mails)

< Previous Next >
Aw: Re: [opensuse-packaging] %setup -q -a 0 for Source0 then %setup -q a 1 -n pkg-%{version}/lib but need --strip-components=1
  • From: "Axel Braun" <Axel.Braun@xxxxxx>
  • Date: Thu, 2 May 2019 16:49:39 +0200
  • Message-id: <trinity-8de458c0-d001-40dd-856d-a0e324c77dba-1556808579546@3c-app-gmx-bs48>


Gesendet: Donnerstag, 02. Mai 2019 um 07:25 Uhr
Von: "Jan Engelhardt" <jengelh@xxxxxxx>
An: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
Cc: "openSuSE Packaging" <opensuse-packaging@xxxxxxxxxxxx>
Betreff: Re: [opensuse-packaging] %setup -q -a 0 for Source0 then %setup -q a
1 -n pkg-%{version}/lib but need --strip-components=1


On Thursday 2019-05-02 06:50, David C. Rankin wrote:

I've tried

%setup -q -a 0
%setup -q -a 1 -n pngquant-%{version}/lib

which unzips in the correct order, but does not provide a way to
--strip-components=1 to get rid of the libimagequant-%{version} default
directory.

There is no way to combine %setup with --strip-components.
tar -xf is the only option.

you need to use bsdtar if you want the strip-components option
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups