Bug 17191 - upstream head systemtap doesn't build on el6 (license issue)
Summary: upstream head systemtap doesn't build on el6 (license issue)
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: releng (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-22 10:33 UTC by Martin Cermak
Modified: 2014-07-22 12:01 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
attached patch fixes the issue for me (638 bytes, patch)
2014-07-22 11:15 UTC, Martin Cermak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Cermak 2014-07-22 10:33:38 UTC
Systemtap efa3ced fails to build (make rpm) on el6. Presumably caused by 91c82d369 (plus related 876abb05). This is el6 specific:

RPM build errors:
    File must begin with "/": GPLv2+
    File must begin with "/": COPYING

Please, fix.
Comment 1 Martin Cermak 2014-07-22 10:58:03 UTC
The rpm-4.8.0-37.el6 complains, rpm-4.11.1-16.el7 is happy. https://fedorahosted.org/fpc/ticket/411 looks related.

Maybe something like this could work ():
-------
%doc README README.unprivileged AUTHORS NEWS
%if 0%{?fedora} >= XXX || 0%{?rhel} >= 7
   %license COPYING
%else 
   %doc COPYING
%endif
-------
Comment 2 Martin Cermak 2014-07-22 11:15:23 UTC
Created attachment 7718 [details]
attached patch fixes the issue for me
Comment 3 Frank Ch. Eigler 2014-07-22 12:01:50 UTC
commit bb0670547