Hello community, here is the log from the commit of package sensors for openSUSE:Factory checked in at 2018-05-30 11:45:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sensors (Old) and /work/SRC/openSUSE:Factory/.sensors.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sensors" Wed May 30 11:45:36 2018 rev:100 rq:612697 version:3.4.0git20180510.1c48b19 Changes: -------- --- /work/SRC/openSUSE:Factory/sensors/sensors.changes 2017-11-29 10:51:33.875034548 +0100 +++ /work/SRC/openSUSE:Factory/.sensors.new/sensors.changes 2018-05-30 12:40:30.810064499 +0200 @@ -1,0 +2,32 @@ +Mon May 14 15:39:15 UTC 2018 - hillw...@opensuse.org + +- Update version to 3.4.0git20180510.1c48b19, use git version + * Support many new hardware: + + Add detection of Fintek F81768 + + Only probe I/O ports on x86 + + Add detection of Nuvoton NCT6793D + + Add detection of Microchip MCP9808 + + Mark F71868A as supported by the f71882fg driver + + Mark F81768D as supported by the f71882fg driver + + Mark F81866D as supported by the f71882fg driver + + Add detection of various ITE chips + + Add detection of Nuvoton NCT6795D + + Add detection of DDR4 SPD + + Add detection of ITE IT8987D + + Add detection of AMD Family 17h temperature sensors + + Add detection of AMD KERNCZ SMBus controller + + Add detection of various Intel SMBus controllers + + Add detection of Giantec GT30TS00 + + Add detection of ONS CAT34TS02C and CAT34TS04 + + Add detection of AMD Family 15h Model 60+ temperature sensors + + Add detection of Nuvoton NCT6796D + + Add detection of AMD Family 15h Model 70+ temperature sensors + * Fix syntax errors + * Fix systemd paths +- Drop lm_sensors-3.4.0-sensors-detect-fix-systemd-path.patch + Upstream merge this patch +- Drop lm_sensors-3.4.0+-Only-probe-I-O-ports-on-x86.patch + Upstream merge this patch +- Change upstream url. + +------------------------------------------------------------------- Old: ---- lm_sensors-3.4.0+-Only-probe-I-O-ports-on-x86.patch lm_sensors-3.4.0-sensors-detect-fix-systemd-path.patch lm_sensors-3.4.0.tar.bz2 lm_sensors-3.4.0.tar.bz2.sig New: ---- lm_sensors-1c48b19.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sensors.spec ++++++ --- /var/tmp/diff_new_pack.j5oTTW/_old 2018-05-30 12:40:31.714033680 +0200 +++ /var/tmp/diff_new_pack.j5oTTW/_new 2018-05-30 12:40:31.726033271 +0200 @@ -1,7 +1,7 @@ # # spec file for package sensors # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,40 +16,37 @@ # +%define commit 1c48b191c8a2b9fc747e3db3816247c666c5c3f1 +%define shortcommit 1c48b19 +%define _name lm_sensors #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} - %define _fillupdir /var/adm/fillup-templates + %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif - Name: sensors -BuildRequires: bison -BuildRequires: flex -BuildRequires: rrdtool-devel -BuildRequires: systemd-rpm-macros -Url: http://www.lm-sensors.org/ -Version: 3.4.0 +Version: 3.4.0git20180510.1c48b19 Release: 0 Summary: Hardware health monitoring for Linux -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Monitoring -Requires: modutils -Source0: http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-%{version}.tar.bz2 -Source3: http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-%{version}.tar.bz2.sig +URL: https://github.com/groeck/lm-sensors +Source0: https://github.com/groeck/lm-sensors/archive/%{commit}/%{_name}-%{shortcommit}.tar.gz Source1: sysconfig.sensord Source2: baselibs.conf Patch1: lm_sensors-3.1.1-build.patch Patch2: lm_sensors-3.0.0-sensord-separate.patch Patch3: lm_sensors-3.0.0-sysconfig_metadata.patch Patch4: lm_sensors-3.0.3-hint-at-kernel-extra-package.patch -Patch5: lm_sensors-3.4.0-sensors-detect-fix-systemd-path.patch Patch6: lm_sensors-3.4.0-sensord-service-extra-args.patch #PATCH-FEATURE-UPSTREAM add ftsteutates support Patch7: lm_sensors-3.4.0-sensors-detect-add-ftsteutates-support.patch #PATCH-BUGFIX-UPSTREAM sensors-detect on ppc Patch8: lm_sensors-3.4.0-sensors-detect-ppc64le.patch -#PATCH-BUGFIX-UPSTREAL sensors-detect crash on arm -Patch9: lm_sensors-3.4.0+-Only-probe-I-O-ports-on-x86.patch - +BuildRequires: bison +BuildRequires: flex +BuildRequires: rrdtool-devel +BuildRequires: systemd-rpm-macros +Requires: modutils ExcludeArch: s390 s390x %{?systemd_requires} @@ -57,17 +54,17 @@ This package includes programs that show data from some sensor chips. The interface /proc/bus/i2c/ is provided by loading kernel modules. Which modules to load can be interactively detected as root by calling -/usr/sbin/sensors-detect. Warning, before using the sensors the default -configuration in /etc/sensors.conf has to be checked and changed to fit +%{_sbindir}/sensors-detect. Warning, before using the sensors the default +configuration in %{_sysconfdir}/sensors.conf has to be checked and changed to fit the actual set up of the mainboard and the BIOS used on that specific mainboard! %package -n sensord Summary: Hardware health monitoring daemon -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Monitoring -Provides: sensors:/usr/sbin/sensord Requires(pre): %fillup_prereq +Provides: sensors:%{_sbindir}/sensord %description -n sensord sensord is a daemon that can be used to periodically log sensor @@ -78,7 +75,7 @@ %package -n libsensors4 Summary: Hardware health monitoring library -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/Libraries %description -n libsensors4 @@ -90,12 +87,12 @@ %package -n libsensors4-devel Summary: Hardware health monitoring library -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libsensors4 = %{version} -Provides: sensors:/usr/include/sensors/sensors.h Conflicts: libsensors3-devel +Provides: sensors:%{_includedir}/sensors/sensors.h %description -n libsensors4-devel libsensors offers a way for applications to access the hardware @@ -105,42 +102,42 @@ sense to the user. %prep -%setup -q -n lm_sensors-%{version} +# %setup -q -n lm_sensors-%{version} +%setup -q -n lm-%{name}-%{commit} %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 -%patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 -%patch9 -p1 %build -RPM_OPT_FLAGS="$RPM_OPT_FLAGS" +RPM_OPT_FLAGS="%{optflags}" make %{?_smp_mflags} PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} MANDIR=%{_mandir} LIBDIR=%{_libdir} %install - make PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} MANDIR=%{_mandir} LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT install - mkdir -p $RPM_BUILD_ROOT/%{_docdir}/sensors $RPM_BUILD_ROOT/%{_docdir}/sensord + make PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} MANDIR=%{_mandir} LIBDIR=%{_libdir} DESTDIR=%{buildroot} install + mkdir -p %{buildroot}/%{_docdir}/sensors %{buildroot}/%{_docdir}/sensord cp -a doc/donations doc/fan-divisors \ doc/fancontrol.txt doc/libsensors-API.txt \ doc/progs doc/temperature-sensors \ - doc/vid COPYING COPYING.LGPL $RPM_BUILD_ROOT/%{_docdir}/sensors/ - cp -a COPYING $RPM_BUILD_ROOT/%{_docdir}/sensord/ - chmod -R u+rwX,g+rX,o+rX $RPM_BUILD_ROOT/%{_docdir}/sensors/ $RPM_BUILD_ROOT/%{_docdir}/sensord/ - chmod 0755 $RPM_BUILD_ROOT/%{_libdir}/libsensors.so.* - mkdir -p $RPM_BUILD_ROOT/%{_unitdir} $RPM_BUILD_ROOT/%{_fillupdir} - cp -a prog/init/*.service $RPM_BUILD_ROOT/%{_unitdir}/ - ln -sf /sbin/service %{buildroot}/usr/sbin/rclm_sensors - cp -a %{SOURCE1} $RPM_BUILD_ROOT/%{_fillupdir} + doc/vid COPYING COPYING.LGPL %{buildroot}/%{_docdir}/sensors/ + cp -a COPYING %{buildroot}/%{_docdir}/sensord/ + chmod -R u+rwX,g+rX,o+rX %{buildroot}/%{_docdir}/sensors/ %{buildroot}/%{_docdir}/sensord/ + chmod 0755 %{buildroot}/%{_libdir}/libsensors.so.* + mkdir -p %{buildroot}/%{_unitdir} %{buildroot}/%{_fillupdir} + cp -a prog/init/*.service %{buildroot}/%{_unitdir}/ + ln -sf /sbin/service %{buildroot}%{_sbindir}/rclm_sensors + cp -a %{SOURCE1} %{buildroot}/%{_fillupdir} %pre %service_add_pre lm_sensors.service + %post %service_add_post lm_sensors.service sh -c ' -CONFIG=/etc/sysconfig/lm_sensors +CONFIG=%{_sysconfdir}/sysconfig/lm_sensors test -r "$CONFIG" || exit 0 unset ${!MODULE_*} $HWMON_MODULES . "$CONFIG" @@ -158,8 +155,8 @@ echo "# New configuration format generated by rpm post-install script" >> "$CONFIG" echo "HWMON_MODULES=\"$HWMON_MODULES\"" >> "$CONFIG" ' -if test -e /etc/modprobe.d/lm_sensors -a ! -e /etc/modprobe.d/lm_sensors.conf ; then - mv -f /etc/modprobe.d/lm_sensors /etc/modprobe.d/lm_sensors.conf +if test -e %{_sysconfdir}/modprobe.d/lm_sensors -a ! -e %{_sysconfdir}/modprobe.d/lm_sensors.conf ; then + mv -f %{_sysconfdir}/modprobe.d/lm_sensors %{_sysconfdir}/modprobe.d/lm_sensors.conf fi %preun @@ -190,14 +187,14 @@ %{_unitdir}/lm_sensors.service %{_sbindir}/rclm_sensors %{_unitdir}/fancontrol.service -/usr/bin/* -/usr/sbin/fancontrol +%{_bindir}/* +%{_sbindir}/fancontrol %ifarch i386 i486 i586 i686 x86_64 -/usr/sbin/isadump -/usr/sbin/isaset +%{_sbindir}/isadump +%{_sbindir}/isaset %endif -/usr/sbin/pwmconfig -/usr/sbin/sensors-detect +%{_sbindir}/pwmconfig +%{_sbindir}/sensors-detect %dir %{_docdir}/sensors %doc %{_docdir}/sensors/donations %doc %{_docdir}/sensors/fan-divisors @@ -205,41 +202,41 @@ %doc %{_docdir}/sensors/progs %doc %{_docdir}/sensors/temperature-sensors %doc %{_docdir}/sensors/vid -%doc %{_docdir}/sensors/COPYING -%doc /usr/share/man/man1/*.1.gz -%doc /usr/share/man/man8/fancontrol.8.gz +%license %{_docdir}/sensors/COPYING +%{_mandir}/man1/*.1.gz +%{_mandir}/man8/fancontrol.8.gz %ifarch i386 i486 i586 i686 x86_64 -%doc /usr/share/man/man8/isadump.8.gz -%doc /usr/share/man/man8/isaset.8.gz +%{_mandir}/man8/isadump.8.gz +%{_mandir}/man8/isaset.8.gz %endif -%doc /usr/share/man/man8/pwmconfig.8.gz -%doc /usr/share/man/man8/sensors-conf-convert.8.gz -%doc /usr/share/man/man8/sensors-detect.8.gz +%{_mandir}/man8/pwmconfig.8.gz +%{_mandir}/man8/sensors-conf-convert.8.gz +%{_mandir}/man8/sensors-detect.8.gz %files -n sensord %defattr(-,root,root) %{_unitdir}/sensord.service %{_fillupdir}/sysconfig.sensord -/usr/sbin/sensord +%{_sbindir}/sensord %dir %{_docdir}/sensord -%doc %{_docdir}/sensord/COPYING -%doc /usr/share/man/man8/sensord.8.gz +%license %{_docdir}/sensord/COPYING +%{_mandir}/man8/sensord.8.gz %files -n libsensors4 %defattr(-,root,root) -%config /etc/sensors3.conf -%config /etc/sensors.d/ +%config %{_sysconfdir}/sensors3.conf +%config %{_sysconfdir}/sensors.d/ %{_libdir}/libsensors.so.4* %dir %{_docdir}/sensors -%doc %{_docdir}/sensors/COPYING.LGPL -%doc /usr/share/man/man5/*.5.gz +%license %{_docdir}/sensors/COPYING.LGPL +%{_mandir}/man5/*.5.gz %files -n libsensors4-devel %defattr(-,root,root) -/usr/include/sensors/ +%{_includedir}/sensors/ %{_libdir}/libsensors.so %dir %{_docdir}/sensors %doc %{_docdir}/sensors/libsensors-API.txt -%doc /usr/share/man/man3/*.3.gz +%{_mandir}/man3/*.3.gz %changelog