automatic packaging of _docdir?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I have this snippet in my spec:

mkdir -p %{buildroot}%{_docdir}/python-%{upstream_name}
cp -a docs/* examples %{buildroot}%{_docdir}/python-%{upstream_name}/

%doc %{_docdir}/python-%{upstream_name}

However when I use it exactly this way I get warnings that those files are listed twice.

When I comment it out:
#%doc %{_docdir}/python-%{upstream_name}

Then those doc files are packaged anyway.
Is this new feature or bug?

I have:

Miroslav Suchy, RHCA
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
Rpm-list mailing list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux