All, Looking to package Agner Fog's objconv: https://www.agner.org/optimize/objconv.zip However, the source contains nested zip files, e.g. $ unzip -l objconv.zip Archive: objconv.zip Length Date Time Name --------- ---------- ----- ---- 867840 2022-05-21 04:37 objconv.exe 334623 2022-04-28 03:29 objconv-instructions.pdf 369303 2022-05-21 04:37 source.zip 9588 2013-09-01 12:24 extras.zip 2710 2022-04-28 03:35 changelog.txt --------- ------- 1584064 5 files The only set of files needed are the source files in source.zip. Will this be handled by prepare, or in this case will we need to manually extract the sources.zip and unzip it before calling prepare? (odd way to distribute sources, but to each his own) Too bad the sources are not available independently. -- David C. Rankin, J.D.,P.E.
Am 31.07.22 um 10:25 schrieb David C. Rankin:
All,
Looking to package Agner Fog's objconv:
https://www.agner.org/optimize/objconv.zip
However, the source contains nested zip files, e.g.
$ unzip -l objconv.zip Archive: objconv.zip Length Date Time Name --------- ---------- ----- ---- 867840 2022-05-21 04:37 objconv.exe 334623 2022-04-28 03:29 objconv-instructions.pdf 369303 2022-05-21 04:37 source.zip 9588 2013-09-01 12:24 extras.zip 2710 2022-04-28 03:35 changelog.txt --------- ------- 1584064 5 files
The only set of files needed are the source files in source.zip. Will this be handled by prepare, or in this case will we need to manually extract the sources.zip and unzip it before calling prepare? (odd way to distribute sources, but to each his own)
Too bad the sources are not available independently.
%setup and %autosetup can handle zip files, but you will need an explicit BuildRequires: unzip for it.
participants (2)
-
David C. Rankin
-
Manfred Schwarb