automatic packaging of _docdir?
Miroslav Suchý
msuchy at redhat.com
Mon Sep 7 10:26:36 UTC 2015
I have this snippet in my spec:
%install
mkdir -p %{buildroot}%{_docdir}/python-%{upstream_name}
cp -a docs/* examples %{buildroot}%{_docdir}/python-%{upstream_name}/
%files
%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:
%files
#%doc %{_docdir}/python-%{upstream_name}
Then those doc files are packaged anyway.
Is this new feature or bug?
I have:
rpm-4.12.0.1-12.fc22.x86_64
--
Miroslav Suchy, RHCA
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
More information about the Rpm-list
mailing list