[Bug 1231253] New: scapy: embeds date in version
https://bugzilla.suse.com/show_bug.cgi?id=1231253 Bug ID: 1231253 Summary: scapy: embeds date in version Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: All Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bwiedemann@suse.com Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de CC: rfrohl@suse.com Blocks: 1047218 Target Milestone: --- Found By: Development Blocker: --- via scapy/__init__.py:166 it returns its mtime as version: # last resort, use the modification date of __init__.py d = datetime.datetime.fromtimestamp( os.path.getmtime(__file__), datetime.timezone.utc ) return d.strftime('%Y.%m.%d') and we run sed on all .py files to make rpmlint happy. That updates the mtime. The fix is to run sed on the installed .py files instead of the source. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231253 https://bugzilla.suse.com/show_bug.cgi?id=1231253#c1 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> --- This was fixed in Factory with https://build.opensuse.org/request/show/1205220 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com