Hello community,
here is the log from the commit of package python-biopython for
openSUSE:Factory checked in at 2020-11-04 18:26:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-biopython (Old)
and /work/SRC/openSUSE:Factory/.python-biopython.new.11331 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-biopython"
Wed Nov 4 18:26:52 2020 rev:6 rq:845786 version:1.77
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-biopython/python-biopython.changes
2020-07-08 19:19:10.916222421 +0200
+++
/work/SRC/openSUSE:Factory/.python-biopython.new.11331/python-biopython.changes
2020-11-04 18:31:57.384205692 +0100
@@ -1,0 +2,6 @@
+Tue Nov 3 15:58:16 UTC 2020 - Matej Cepl <[email protected]>
+
+- Remove ridiculously wide find commands in %prep, which break a lot
+ (binary) files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-biopython.spec ++++++
--- /var/tmp/diff_new_pack.pknZVQ/_old 2020-11-04 18:31:58.000204326 +0100
+++ /var/tmp/diff_new_pack.pknZVQ/_new 2020-11-04 18:31:58.004204317 +0100
@@ -53,12 +53,10 @@
%prep
%setup -q -n biopython-%{version}
-# remove all execute bits from documentation and fix line endings
-find -type f -exec chmod -x {} 2>/dev/null ';'
-find -type f -exec sed -i 's/\r//' {} 2>/dev/null ';'
-# remove she-bang lines in .py files to keep rpmlint happy
find -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/.*$/ d' {}
2>/dev/null ';'
sed -i '/^#![ ]*\/usr\/bin\/.*$/ d' Scripts/Structure/hsexpo
+# Example scripts cannot be in a subdirectory
+mv -v Doc/examples examples
%build
export LANG=en_US.UTF-8
@@ -77,7 +75,7 @@
%files %{python_files}
%doc CONTRIB.rst DEPRECATED.rst NEWS.rst README.rst
-%doc Doc/
+%doc Doc/ examples/
%license LICENSE.rst
%{python_sitearch}/Bio/
%{python_sitearch}/BioSQL/