[Bug 530756] Review Request: circuit_macros - A set of macros for drawing high-quality line diagram
bugzilla at redhat.com
bugzilla at redhat.com
Mon Nov 9 09:16:32 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=530756
Paul Howarth <paul at city-fan.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paul at city-fan.org
--- Comment #10 from Paul Howarth <paul at city-fan.org> 2009-11-09 04:16:30 EDT ---
You can have multiple subpackages use the same directory for documentation if
you only use absolute pathnames with %doc; if you use relative pathnames, rpm
clears out the directory as it processes each subpackage. This is the approach
I used in libpng10:
%files
%defattr(-,root,root,-)
%dir %{_docdir}/%{name}-%{version}/
%doc %{_docdir}/%{name}-%{version}/ANNOUNCE
%doc %{_docdir}/%{name}-%{version}/CHANGES
%doc %{_docdir}/%{name}-%{version}/LICENSE
%doc %{_docdir}/%{name}-%{version}/README
%doc %{_docdir}/%{name}-%{version}/TODO
%doc %{_docdir}/%{name}-%{version}/Y2KINFO
...
%files devel
%defattr(-,root,root,-)
%doc %{_docdir}/%{name}-%{version}/example.c
%doc %{_docdir}/%{name}-%{version}/libpng-%{version}.txt
...
It's a bit ugly but it works.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the package-review
mailing list