Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16382

Make lustre.spec more compliant with SUSE OBS requirements

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 9223372036854775807

    Description

      The "Open Build Service" runs an "rpmlint" tool after building a package.  This highlights various potential problems.  Many of the problems it find with lustre.spec are worth fixing.

      Some examples:

      License "GPL" is not specific.  It should be GPL-2.0

      Summary: lines should be short, start with CAPs, end with period, and not repeat the name of the package

      Description should not be too short, and shouldn't just repeat summary

      Directories should not be implicitly created.  Before adding a file in a new directory we should explicitly list the directory

      udev rules install by a package manager should go in %{_udevrulesdir}, not /etc/udev/rules.d. The later is for local sysadmin to use.

      A "%changelog" should always appear at the end, even if empty.

      SUSE prefers different "Group" names to Redhat, and Redhat has now deprecated Group: completely.  Probably best to remove all group tags.

      Various other problems were found while trying to build lustre in the OBS, such as lustre-tests not declaring dependencies on various tools that it does in fact depend on - such as ping and bc.

       

      Attachments

        Issue Links

          Activity

            People

              neilb Neil Brown
              neilb Neil Brown
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: