Skip to content
  • Joshua A Clayton's avatar
    CPackRPM: Fix CPACK_RPM_PACKAGE_ARCHITECTURE · 761562fe
    Joshua A Clayton authored and Brad King's avatar Brad King committed
    BuildArch must only be added to a spec file for a "noarch" package or
    rpmbuild will fail.  For all others, the --target argument sets the
    package architecture.  In the process of Fixing rpm architecture, we
    make it mandatory, adding a default value of native architecture (the
    same as if no --target argument is present).  Update the documentation
    at the top of the file to make it mandatory.
    761562fe