[Rpm-maint] [rpm-software-management/rpm] %_docdir is not defined (#1746)

mikhailnov notifications at github.com
Fri Jul 16 15:12:22 UTC 2021


`%_docdir` macro is used multiple times in `macros.in`:

```
%__global_requires_exclude_from		%{?_docdir:%{_docdir}}
%__global_provides_exclude_from		%{?_docdir:%{_docdir}}
```

```
%___build_pre	\
<....>
RPM_DOC_DIR=\"%{_docdir}\"\
```

The problem is that this macro is not defined by default. Some usages of it in `macros.in` assume that it can be not defined, but some assume that is is defined.

Also I do not see differences with `%_defaultdocdir`.

soemthing seems to be wrong here


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1746
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210716/9e11c48f/attachment-0001.html>


More information about the Rpm-maint mailing list