Problem with %license

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

 



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

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

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

  Powered by Linux