automatic packaging of _docdir?

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

 



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
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-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