Mailinglist Archive: opensuse-packaging (127 mails)

< Previous Next >
Re: [opensuse-packaging] Re: Creating meta-packages for python2/3 from a single spec
On 08/21/2017 04:47 PM, jan matejek wrote:
You don't have any %files sections.
If you want a package, you need the appropriate %files section, even if they
are empty. Otherwise
the package is not generated. In this case, simply uncomment the "%files
%{python_files}" line.

Indeed. That fixed it.

(RPM only generates packages that have appropriate %files sections. This is
actually useful for
singlespec: you get packages called "python-azure-sdk", but the resulting spec
file doesn't have a
"%files" section for it, only "%files -n python3-azure-sdk" and "%files -n
python2-azure-sdk", so
you get python2 package, python3 package, but no python- package.)

Thanks for the explanation.

Adrian
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >