[opensuse-packaging] 06-check-installtest
Hello, Which lines in .spec causes the following and how is it fixed so it builds. Thanks Glenn Project: https://build.opensuse.org/package/view_file/home:doiggl/oracle-database-ser... Spec: https://build.opensuse.org/package/view_file/home:doiggl/oracle-database-ser... Log: https://build.opensuse.org/package/live_build_log/home:doiggl/oracle-database-server-12cR2-preinstall/openSUSE_13.2/x86_64[https://build.opensuse.org/package/live_build_log/home:doiggl/oracle-database-server-12cR2-preinstall/openSUSE_13.2/x86_64] running 06-check-installtest [ 27s] ... testing for pre/postinstall scripts that are not idempotent [ 27s] pre/postinstall/uninstall script of oracle-rdbms-server-11gR2-preinstall-1.0-34.1.x86_64.rpm modifies filelist! [ 27s] filelist diff: [ 27s] --- //.build_patchrpmcheck1 2019-09-03 06:57:42.616000000 +0000 [ 27s] +++ //.build_patchrpmcheck2 2019-09-03 06:57:42.644000000 +0000 [ 27s] @@ -24,3 +24,6 @@ [ 27s] +missing /etc/sysconfig/oracle-rdbms-server-11gR2-preinstall [ 27s] +missing /etc/sysconfig/oracle-rdbms-server-11gR2-preinstall/oracle-rdbms-server-11gR2-preinstall-verify [ 27s] +missing c /etc/sysconfig/oracle-rdbms-server-11gR2-preinstall/oracle-rdbms-server-11gR2-preinstall.param [ 27s] -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi Glenn, " Glenn Doig " <doiggl@mail.com> writes:
Hello, Which lines in .spec causes the following and how is it fixed so it builds.
That would be lines 70-72, they create a file in /var/log depending on /etc/sysconfig/%{name}/%{name}.param existing (which is not idempotent as your package installs that file). Not sure how to fix this exactly as I have no idea why you are doing this in %pre instead of installing /var/log/%{name}/results/.%{name}.param in %install?
Thanks Glenn Project: https://build.opensuse.org/package/view_file/home:doiggl/oracle-database-ser... Spec: https://build.opensuse.org/package/view_file/home:doiggl/oracle-database-ser... Log: https://build.opensuse.org/package/live_build_log/home:doiggl/oracle-database-server-12cR2-preinstall/openSUSE_13.2/x86_64[https://build.opensuse.org/package/live_build_log/home:doiggl/oracle-database-server-12cR2-preinstall/openSUSE_13.2/x86_64] running 06-check-installtest [ 27s] ... testing for pre/postinstall scripts that are not idempotent [ 27s] pre/postinstall/uninstall script of oracle-rdbms-server-11gR2-preinstall-1.0-34.1.x86_64.rpm modifies filelist! [ 27s] filelist diff: [ 27s] --- //.build_patchrpmcheck1 2019-09-03 06:57:42.616000000 +0000 [ 27s] +++ //.build_patchrpmcheck2 2019-09-03 06:57:42.644000000 +0000 [ 27s] @@ -24,3 +24,6 @@ [ 27s] +missing /etc/sysconfig/oracle-rdbms-server-11gR2-preinstall [ 27s] +missing /etc/sysconfig/oracle-rdbms-server-11gR2-preinstall/oracle-rdbms-server-11gR2-preinstall-verify [ 27s] +missing c /etc/sysconfig/oracle-rdbms-server-11gR2-preinstall/oracle-rdbms-server-11gR2-preinstall.param [ 27s]
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Dan Cermak
-
Glenn Doig