packaging, directory ownership, %files
Carl Byington
carl at five-ten-sg.com
Mon Apr 13 17:17:31 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I want a spec file with something like:
%files devel-doc
%defattr(-,root,root,-)
%{_datadir}/doc/%{name}-%{version}/devel/
%files doc
%defattr(-,root,root,-)
%{_datadir}/doc/%{name}-%{version}/
Where
doc/%{name}-%{version} contains end user documentation, and
doc/%{name}-%{version}/devel contains developer documentation, mainly
doxygen generated html.
However, that seems to put the developer documentation into the -doc
subpackage in addition to the -devel-doc subpackage. Is there a way to
do this so that we have a single doc/%{name}-%{version} directory owned
by the -doc subpackage, and it contains doc/%{name}-%{version}/devel
owned by the -devel-doc subpackage (which of course depends on the -doc
subpackage)?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFJ43NuL6j7milTFsERAo/4AJ9ugogUumLbFoiFa81xurljH4UVKQCfRsNf
FoALgBZBz8seJjOdwtTi/8g=
=NkDc
-----END PGP SIGNATURE-----
More information about the devel
mailing list