Results 1 to 5 of 5

Thread: Directory not owned by package: /usr/share/doc

  1. #1

    Default Directory not owned by package: /usr/share/doc

    I met this problem when trying to package yacreader:

    yacreader-9.8.2.2106204-0.x86_64.rpm: directories not owned by a package:
    - /usr/share/doc
    - /usr/share/man
    - /usr/share/man/man1

    However, when I add those directories in %files section of my spec, I get the following error:

    standard-dir-owned-by-package: /usr/share/man, /usr/share/man/man1, /usr/share/doc

    Here is my spec file: https://pastebin.com/F1pUQJxz
    How do I package the files in /usr/share/man/man1 without owning the directory?

  2. #2
    Join Date
    Sep 2012
    Posts
    6,835

    Default Re: Directory not owned by package: /usr/share/doc

    You posted in OBS subfrorum which implies you are working on OBS. Post link to your package on OBS.

  3. #3

    Default Re: Directory not owned by package: /usr/share/doc


  4. #4
    Join Date
    Sep 2012
    Posts
    6,835

    Default Re: Directory not owned by package: /usr/share/doc

    It is built for openSUSE. I do not see any rpmlint errors in log. What is your question?

  5. #5

    Default Re: Directory not owned by package: /usr/share/doc

    Quote Originally Posted by nuklly View Post
    I met this problem when trying to package yacreader:

    yacreader-9.8.2.2106204-0.x86_64.rpm: directories not owned by a package:
    - /usr/share/doc
    - /usr/share/man
    - /usr/share/man/man1

    However, when I add those directories in %files section of my spec, I get the following error:

    standard-dir-owned-by-package: /usr/share/man, /usr/share/man/man1, /usr/share/doc

    Here is my spec file: https://pastebin.com/F1pUQJxz
    How do I package the files in /usr/share/man/man1 without owning the directory?
    Hi, I'm having the same problem. My package is defined here: https://build.opensuse.org/package/s...huyngo/BadWolf

    I suppose nuklly has figured out how to solve this. Can you share your solution?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •