Mailinglist Archive: opensuse-buildservice (148 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: Macro issue for SLES 11 builds?
  • From: Robert Schweikert <rjschwei@xxxxxxxx>
  • Date: Thu, 07 May 2015 13:02:14 -0400
  • Message-id: <554B9A96.90909@suse.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/06/2015 05:25 PM, Greg Freemyer wrote:
On Wed, May 6, 2015 at 4:53 PM, Andreas Schwab
<schwab@xxxxxxxxxxxxxx> wrote:
Greg Freemyer <greg.freemyer@xxxxxxxxx> writes:

%doc says "Copy the specified file from the source tree to
/usr/share/doc/packages/<my_package> and include it in the
RPM"

%doc doesn't copy anything for an absolute name, it merely sets
the doc flag for that file.

Is there any end-user value in:

%doc %{_mandir}/man1/*

over

%{_mandir}/man1/*

None of my packages use %doc to tag man pages as documentation and
I haven't noticed on other spec files either.

The advantage would be that the man page is not installed when one
installs with the --excludedocs. If the man page is not marked as
documentation it will always be installed.

Later,
Robert


- --
Robert Schweikert MAY THE SOURCE BE WITH YOU
Public Cloud Architect LINUX
rjschwei@xxxxxxxx
IRC: robjo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJVS5qWAAoJEE4FgL32d2Uk804H/A5Zwf2AehA7md8l5X7CExEB
+X57JPMmMbFDDutggM8T6JmX/dU8QifWICDgRGC2YAzJcEMD4k8XPR74sngfeGGv
FB1s98rldqdBBROmdx4+xAdq22dxQaN/YTWYfYk4WAQHfKJ8NxtkUYUXG6++BEiE
OLIUwPtAf7OPC1JTGMWjWvqY664mNY3NWFIzqQyNa7VA7hVmyn5tExTzgzYBFmGM
6hGG/jCBgaP9WcbzfkItPWYYRpiE541KB1eh7qtWKTKq9T5f99M2yR+noGQ0AMlj
9PyrmOY3FYmxHX1rgKJhxYO2Z/J8LW3oxl9N50UH8KdpLDpRKlAqOqkzCqtUTiQ=
=eOuN
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups