Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18826

Cannot use --define option to build rpm

    XMLWordPrintable

Details

    • Team I
    • Sprint 72 (Jan 2021)
    • 2

    Description

      Steps to reproduce:

      1. Run rpmbuild --bb SPEC/zabbix.spec --define 'build_server 0'

      Result:
      Server packages will be built.

      Expected:
      Server packages must excluded.

      You must check define in spec like that:

      %{!?build_server: %define build_server 1}

      This also applies to others %define macro.

      Attachments

        Activity

          People

            yurii Jurijs Klopovskis
            asand3r Khatsayuk Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: