Re: Problem with %license

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 01/02/2016 08:22 PM, Gerald B. Cox wrote:
> Perhaps I missed this, but did the behavior of this change or is
> this a bug?
> 
> Here are two lines of my spec file which previously worked:
> 
> %doc HACKING NEWS README TODO %license LICENSE
> 
> Now, I'm getting this error: RPM build errors: Installed (but
> unpackaged) file(s) found: /usr/share/doc/megatools/LICENSE

Maybe It's previously installed by 'make install'.

> 
> I can get rid of the error by adding LICENSE to %doc, but my 
> understanding is I shouldn't have to do that.
> 
> I also can resolve the error by changing: %license LICENSE to
> %license %{_docdir}/megatools/LICENSE
> 
> but of course if I do that, it doesn't put the LICENSE file in the 
> special license subdirectory.
> 
> Anyone else notice this?
> 
> 
> 
> -- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx 
> http://lists.fedoraproject.org/admin/lists/packaging@xxxxxxxxxxxxxxxxxxxxxxx
>
> 
- -- 
Antonio Trande

mailto: sagitter 'at' fedoraproject 'dot' org
http://fedoraos.wordpress.com/
https://fedoraproject.org/wiki/User:Sagitter
GPG Key: 0x565E653C
Check on https://keys.fedoraproject.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWiCVsAAoJEF5tK7VWXmU8JIwH/RAUUjghKkFzdfFThh6EfUQU
uksHvXkoYfWN9eFsUlLbSZlmmkFrPmcTf9RFrde7J1ZXHrK8n7kESHAPiBOIwHxO
OKW0l0BO4QL4dkp/AquHStDNYc+aSKV5L4zksEeVxwocDoOQHTgRBogw7vt89Xad
Jurz7P9T2K9Q3tJMgZjbt5YvWyvGwrT9nIyHW3Af93ViHD7VfkSieY6yNx6nRYiG
L5qDW8jIfGaRMpAuDJ51tHl8duBoxxN6jglekQIOvKiFGmKIrJq4HWvsEs8/Zlcm
v5TxYs7DPt2KY3RcgB/xozudsRK3lonNGnnQx3U3uT+vp14YWrNehnJNHmWyotQ=
=GVfU
-----END PGP SIGNATURE-----
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/packaging@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux