Mailinglist Archive: opensuse-packaging (42 mails)

< Previous Next >
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 10:39, David Haller wrote:
I'm trying to package pngquant that relies on:

Source0:
https://github.com/kornelski/%{name}/archive/pngquant-%{version}.tar.gz
Source1:
https://github.com/ImageOptim/libimagequant/archive/libimagequant-%{version}.tar.gz

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.
[...]
But there's a better way, you've got a pending sr...
https://build.opensuse.org/request/show/700043

Moreover to the SR ("initial package for opensuse"), we _already_ have
imagequant and pngquant in the graphics/ project, without any %setup or
--strip-component hacks. Isn't that good enough?
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups