On 11/10/2016 08:00 PM, Chenxiong Qi wrote:
Hi,

There is a difference result in copr build. In build[1], the RPM is
placed to package repository root directory directly.

Wrote: /tmp/rpkg-commands-tests-cloned-o2Dtnc/docpkg-1.2-2.el6.x86_64.rpm

But, in my development machine running Fedora 23, the RPM is placed into
an arch directory, e.g.

Wrote:
/tmp/rpkg-commands-tests-cloned-I8vMCg/x86_64/docpkg-1.2-2.el6.x86_64.rpm

Could you help to see why this difference happens in copr?

[1]
https://copr.fedorainfracloud.org/coprs/lsedlar/compose-tools/build/475371/


I just learned that %_build_name_fmt is used to control in which subdirectory to put the RPMs, its default value is

  %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm

Is this changed in https://copr.fedorainfracloud.org/coprs/?

I have no idea how copr runs a build. Is it safe to create ~/.rpmmacros in the tests code to ensure the behavior that I want?

--
Regards,
Chenxiong Qi
_______________________________________________
buildsys mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to