Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package scapy for openSUSE:Factory checked in at 2024-10-08 17:25:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scapy (Old) and /work/SRC/openSUSE:Factory/.scapy.new.19354 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scapy" Tue Oct 8 17:25:27 2024 rev:5 rq:1206311 version:2.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/scapy/scapy.changes 2024-10-02 21:35:29.755648344 +0200 +++ /work/SRC/openSUSE:Factory/.scapy.new.19354/scapy.changes 2024-10-08 17:26:18.685793109 +0200 @@ -1,0 +2,7 @@ +Mon Oct 7 14:01:07 UTC 2024 - Robert Frohl <[email protected]> + +- Fix load of embedded manufdb, by explicitly targeting non-executable-scripts +- Fix /etc paths to point to /usr/etc in published rpm. +- Enable unit tests to find issues earlier. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scapy.spec ++++++ --- /var/tmp/diff_new_pack.nOPIxS/_old 2024-10-08 17:26:19.117811140 +0200 +++ /var/tmp/diff_new_pack.nOPIxS/_new 2024-10-08 17:26:19.117811140 +0200 @@ -28,8 +28,6 @@ BuildRequires: python-rpm-macros BuildRequires: python3-base >= 3.7 BuildRequires: python3-setuptools -# Testing requirements: (require root permission and a fully functional network stack) -#BuildRequires: tcpdump Requires: python3-cryptography Recommends: python3-PyX Recommends: python3-ipython @@ -51,25 +49,27 @@ %prep %setup -q -n scapy-%{version} +# In (open)SUSE /etc/protocols and /etc/services +# moved to /usr/etc/ +sed 's|%{_sysconfdir}/protocols|%{_prefix}%{_sysconfdir}/protocols|g' -i scapy/data.py +sed 's|%{_sysconfdir}/services|%{_prefix}%{_sysconfdir}/services|g' -i scapy/data.py + %build %python3_build #NOTE(saschpe): The documentation is CC-BY-SA-NC-2.5, thus we can not # redistribute it (sr#172834): rm -r doc/scapy -# In (open)SUSE /etc/protocols and /etc/services -# moved to /usr/etc/ -sed 's|%{_sysconfdir}/protocols|%{_prefix}%{_sysconfdir}/protocols|g' -i scapy/data.py -sed 's|%{_sysconfdir}/services|%{_prefix}%{_sysconfdir}/services|g' -i scapy/data.py - %install %python3_install # Fix non-executable-script rpmlint issue: -find %{buildroot}%{python3_sitelib} -name "*.py" -exec sed -i "/#!/d" {} \; +# WARN: Using simple globbing (*.py) will break manufdb loading +find %{buildroot}%{python3_sitelib} -name "pdu.py" -exec sed -i "/#!/d" {} \; +find %{buildroot}%{python3_sitelib} -name "doip.py" -exec sed -i "/#!/d" {} \; %fdupes %{buildroot}%{python3_sitelib} -#%%check -#cd test && ./run_tests +%check +cd test && ./run_tests -c configs/linux.utsc -K ci_only -K scanner -K netaccess %files %license LICENSE
