Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rsyslog for openSUSE:Factory checked 
in at 2024-03-17 22:10:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rsyslog (Old)
 and      /work/SRC/openSUSE:Factory/.rsyslog.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rsyslog"

Sun Mar 17 22:10:45 2024 rev:177 rq:1158164 version:8.2306.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rsyslog/rsyslog.changes  2024-01-19 
23:00:14.437738167 +0100
+++ /work/SRC/openSUSE:Factory/.rsyslog.new.1905/rsyslog.changes        
2024-03-17 22:10:51.173089996 +0100
@@ -1,0 +2,23 @@
+Thu Mar 14 13:15:09 UTC 2024 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Fix rpmlint warnings and errors:
+  + rsyslog.spec:590: W: %autopatch-not-in-prep:
+    - applying patches should be done in prep section and in this
+      case, there is no reason not to do it. Use the opportunity to
+      switch to %autosetup.
+    - Do not BuildRequire libtool, autoconf, automake and don't run
+      autoreconf: the comment indicates this would be needed for
+      patch1, but likely for an 'older patch1': what we have now
+      does not touch the build system.
+  + E: superfluous-%clean-section: Drop long deprecated %clean
+    section.
+  + E: suse-zypp-otherproviders otherproviders(syslog): simply
+    provide syslog.
+  + W: non-etc-or-var-file-marked-as-conffile: do not mark files in
+    /usr/share as config; admins are not supposed to change them.
+  + rsyslog-doc.x86_64: E: no-binary: build rsyslog-doc as noarch.
+  + E: explicit-lib-dependency librdkafka1: the dependency for one
+    should be in module-kafka, but then is also auto-detected by
+    RPM.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rsyslog.spec ++++++
--- /var/tmp/diff_new_pack.G2hjHN/_old  2024-03-17 22:10:52.485137826 +0100
+++ /var/tmp/diff_new_pack.G2hjHN/_new  2024-03-17 22:10:52.489137972 +0100
@@ -86,7 +86,7 @@
 Obsoletes:      %{name}-module-guardtime <= 8.38.0
 Provides:       syslog
 Provides:       sysvinit(syslog)
-Conflicts:      otherproviders(syslog)
+Conflicts:      syslog
 Requires(pre):  %fillup_prereq
 Requires(pre):  syslog-service >= 2.0
 %{?systemd_ordering}
@@ -94,10 +94,6 @@
 %if %{with journal}
 BuildRequires:  pkgconfig(libsystemd) >= 234
 %endif
-# for patch1
-BuildRequires:  autoconf
-BuildRequires:  automake
-BuildRequires:  libtool
 #
 BuildRequires:  bison
 BuildRequires:  curl-devel
@@ -139,7 +135,6 @@
 %endif
 %if %{with kafka}
 BuildRequires:  librdkafka-devel
-Requires:       librdkafka1
 %endif
 %if %{with gssapi}
 BuildRequires:  krb5-devel
@@ -245,6 +240,7 @@
 %package doc
 Summary:        Additional documentation for rsyslog
 Group:          System/Daemons
+BuildArch:      noarch
 
 %description doc
 Rsyslog is an enhanced multi-threaded syslog daemon. See rsyslog
@@ -571,7 +567,7 @@
 %endif
 
 %prep
-%setup -q -a 14
+%autosetup -p1 -a 14
 #
 for file in rsyslog-service-prepare; do
        sed \
@@ -585,10 +581,6 @@
 # needs java
 #        --enable-gui            \
 
-# for patch1
-autoreconf -fiv
-%autopatch -p1
-
 %configure                     \
        --with-moddirs=%{rsyslog_module_dir_withdeps} \
        --enable-option-checking        \
@@ -844,11 +836,6 @@
   install -m0640 %{SOURCE9} %{buildroot}%{APPARMOR_PROFILE_PATH}/rsyslog.d/
 %endif
 
-%clean
-if [ -n "%{buildroot}" ] && [ "%{buildroot}" != "/" ] ; then
-       rm -rf "%{buildroot}"
-fi
-
 %pre
 %{service_add_pre rsyslog.service}
 
@@ -1128,7 +1115,7 @@
 %{_unitdir}/rsyslog.service
 %{_sbindir}/rc%{name}
 %{APPARMOR_PROFILE_PATH_DIR_COMMANDS}
-%config %{APPARMOR_PROFILE_PATH}/usr.sbin.rsyslogd
+%{APPARMOR_PROFILE_PATH}/usr.sbin.rsyslogd
 
 %files doc
 %defattr(-,root,root)
@@ -1159,7 +1146,7 @@
 %defattr(-,root,root)
 %doc %{rsyslogdocdir}/mysql-createDB.sql
 %{rsyslog_module_dir_withdeps}/ommysql.so
-%config %{APPARMOR_PROFILE_PATH}/rsyslog.d/module-mysql
+%{APPARMOR_PROFILE_PATH}/rsyslog.d/module-mysql
 %endif
 
 %if %{with pgsql}
@@ -1183,7 +1170,7 @@
 %defattr(-,root,root)
 %{rsyslog_module_dir_withdeps}/omsnmp.so
 %{rsyslog_module_dir_nodeps}/mmsnmptrapd.so
-%config %{APPARMOR_PROFILE_PATH}/rsyslog.d/module-snmp
+%{APPARMOR_PROFILE_PATH}/rsyslog.d/module-snmp
 %endif
 
 %if %{with gnutls}

Reply via email to