Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rpmlint-mini for openSUSE:Factory 
checked in at 2022-09-14 13:44:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpmlint-mini (Old)
 and      /work/SRC/openSUSE:Factory/.rpmlint-mini.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rpmlint-mini"

Wed Sep 14 13:44:25 2022 rev:115 rq:1002662 version:MACRO

Changes:
--------
--- /work/SRC/openSUSE:Factory/rpmlint-mini/rpmlint-mini.changes        
2022-07-26 19:42:57.821348140 +0200
+++ /work/SRC/openSUSE:Factory/.rpmlint-mini.new.2083/rpmlint-mini.changes      
2022-09-14 13:44:26.301812115 +0200
@@ -1,0 +2,10 @@
+Mon Sep 12 07:27:17 UTC 2022 - Martin Li??ka <mli...@suse.cz>
+
+- Remove extra %make_build arguments.
+
+-------------------------------------------------------------------
+Mon Sep  5 16:50:16 UTC 2022 - Christopher Yeleighton <giecr...@stegny.2a.pl>
+
+- Copy libraries required by _rpm.cpython to the testing root (boo#1203093).
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rpmlint-mini.spec ++++++
--- /var/tmp/diff_new_pack.8ozu9W/_old  2022-09-14 13:44:26.805813384 +0200
+++ /var/tmp/diff_new_pack.8ozu9W/_new  2022-09-14 13:44:26.809813393 +0200
@@ -62,13 +62,13 @@
 
 %prep
 %setup -q -n desktop-file-utils-0.24
-[ -r COPYING ]
+<COPYING
 
 %build
 %configure
-pushd src
-make %{?_smp_mflags} desktop-file-validate V=1 
DESKTOP_FILE_UTILS_LIBS="%{_libdir}/libglib-2.0.a -lpthread -lrt"
-popd
+cd src
+%make_build desktop-file-validate \
+DESKTOP_FILE_UTILS_LIBS="%{_libdir}/libglib-2.0.a -lpthread -lrt"
 
 %install
 # Check that rpmlint works at all, with the primary flavor
@@ -100,7 +100,13 @@
   install -D -m 644 $exp 
%{buildroot}/opt/testing/lib/python%{python_version}/$exp
 done
 popd
-cp -a %{python_sitearch}/{rpm,zstandard}* 
%{buildroot}/opt/testing/lib/python%{python_version}/site-packages
+ldd %{python_sitearch}/rpm/*.so | while read L T R A
+do cp '-aLt%{buildroot}/opt/testing/lib' "${R}" || # is it a virtual library?
+! <"${R}" || # it is a real library and still could not be copied
+false # this is necessary to really fail
+done
+cp -a %{python_sitearch}/{rpm,zstandard}* \
+%{buildroot}/opt/testing/lib/python%{python_version}/site-packages
 cp -a %{python_sitelib} %{buildroot}/opt/testing/lib/python%{python_version}
 cp -a %{python3_sitelib}/rpmlint* 
%{buildroot}/opt/testing/lib/python%{python_version}
 cp -a %{_libdir}/libpython%{python_version}*.so.* %{buildroot}/opt/testing/lib
@@ -125,10 +131,11 @@
 
 %check
 # check rpmlint-mini with the custom flavor
+%make_build check
 sed -e 's|/opt|%{buildroot}/opt|' -e 's|exec|%my_python|' 
%{buildroot}/opt/testing/bin/rpmlint > myrpmlint
 chmod +x myrpmlint
 set +e
-./myrpmlint -i rpmlint
+sh -x myrpmlint -i rpmlint
 test $? -gt 0 -a $? -lt 60 && exit 1
 set -e
 

Reply via email to