In the spec, you have this:
> %setup -n %{module_name}-%{version}

The error message looks like this:
> /usr/lib/rpm/rpmuncompress -x -v/builddir/build/SOURCES/m3u8-3.1.0.tar.gz
> rpmuncompress: -v/builddir/build/SOURCES/m3u8-3.1.0.tar.gz: unknown option

On first glance, this looks like a bug in the definition of the "%setup" macro.
Pretty much every packaging tutorial I've seen recommends using the "-q" option 
with "%setup",
which is the "quiet" option. "Verbose" seems like the logical opposition to 
"quiet",
so I guess what happens when you're not passing "-q" to "%setup",
is that it tries to decompress the archive verbosely by passing "-v" to 
rpmuncompress.
Except that, since there's no space between "-v" and the file name, and this 
makes
rpmuncompress try to parse "-v%{SOURCE}" as an option and fail.

A.FI.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to