rpms/lm_sensors/devel .cvsignore, 1.18, 1.19 lm_sensors.spec, 1.54, 1.55 sources, 1.18, 1.19
Hans de Goede (jwrdegoede)
fedora-extras-commits at redhat.com
Sat Nov 10 19:18:23 UTC 2007
- Previous message (by thread): rpms/soprano/devel .cvsignore, 1.3, 1.4 soprano.spec, 1.8, 1.9 sources, 1.3, 1.4
- Next message (by thread): rpms/soprano/F-8 .cvsignore, 1.3, 1.4 soprano.spec, 1.6, 1.7 sources, 1.3, 1.4 soprano-1.95.0-beta2-findclucene.diff, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jwrdegoede
Update of /cvs/extras/rpms/lm_sensors/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3321
Modified Files:
.cvsignore lm_sensors.spec sources
Log Message:
* Sat Nov 10 2007 Hans de Goede <j.w.r.degoede at hhs.nl> - 3.0.0-0.1.rc3
- New upstream release 3.0.0-rc3
- Remove eeprommer sub-package as eeprommer (and the other i2c-tools)
have moved to the new i2c-tools package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/lm_sensors/devel/.cvsignore,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- .cvsignore 19 Jul 2007 17:50:05 -0000 1.18
+++ .cvsignore 10 Nov 2007 19:17:50 -0000 1.19
@@ -1 +1 @@
-lm_sensors-2.10.4.tar.gz
+lm_sensors-3.0.0-rc3.tar.bz2
Index: lm_sensors.spec
===================================================================
RCS file: /cvs/extras/rpms/lm_sensors/devel/lm_sensors.spec,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- lm_sensors.spec 23 Aug 2007 07:20:57 -0000 1.54
+++ lm_sensors.spec 10 Nov 2007 19:17:50 -0000 1.55
@@ -1,8 +1,10 @@
+%define prever rc3
+
Name: lm_sensors
-Version: 2.10.4
-Release: 2%{?dist}
+Version: 3.0.0
+Release: 0.1.%{prever}%{?dist}
URL: http://www.lm-sensors.org/
-Source: http://dl.lm-sensors.org/lm-sensors/releases/%{name}-%{version}.tar.gz
+Source: http://dl.lm-sensors.org/lm-sensors/releases/%{name}-%{version}-%{prever}.tar.bz2
Source1: lm_sensors.sysconfig
# these 2 were taken from PLD-linux, Thanks!
Source2: sensord.sysconfig
@@ -47,19 +49,8 @@
database, and warns of sensor alarms.
-%package eepromer
-Summary: Programs for reading / writing i2c / smbus eeproms
-Group: Applications/System
-
-%description eepromer
-Programs for reading / writing i2c / smbus eeproms. Notice that writing the
-eeproms in your system is very dangerous and is likely to render your system
-unusable. Do not install, let alone use this, unless you really, _really_ know
-what you are doing.
-
-
%prep
-%setup -q
+%setup -q -n %{name}-%{version}-%{prever}
%patch0 -p1
mv prog/init/README prog/init/README.initscripts
chmod -x prog/init/fancontrol.init
@@ -69,17 +60,12 @@
export CFLAGS="%{optflags}"
make PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} EXLDFLAGS= \
PROG_EXTRA=sensord user
-pushd prog/eepromer
-make
-popd
%install
rm -fr $RPM_BUILD_ROOT
make PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} PROG_EXTRA=sensord \
DESTDIR=$RPM_BUILD_ROOT user_install
-install -m 755 prog/eepromer/{eepromer,eeprom,eeprog} \
- $RPM_BUILD_ROOT%{_sbindir}
rm $RPM_BUILD_ROOT%{_libdir}/libsensors.a
# Remove userland kernel headers, belong in glibc-kernheaders.
@@ -98,6 +84,28 @@
rm -fr $RPM_BUILD_ROOT
+# For conversion of sensors.conf on upgrades from 2.10.x to 3.x.x
+# First mv any /etc/sensors.conf.rpmsave from previous updates out of the way
+# Then after uninstall check if /etc/sensors.conf.rpmsave is created, if it
+# is the user was using a non pristine /etc/sensors.conf, so convert it
+
+%triggerun -- lm_sensors <= 2.10.999
+if [ -f /etc/sensors.conf.rpmsave ]; then
+ mv /etc/sensors.conf.rpmsave /etc/sensors.conf.rpmsave.old
+fi
+
+%triggerpostun -- lm_sensors <= 2.10.999
+if [ -f /etc/sensors.conf.rpmsave ]; then
+ mv /etc/sensors3.conf /etc/sensors3.conf.rpmnew
+ %{_bindir}/sensors-conf-convert < /etc/sensors.conf.rpmsave > \
+ /etc/sensors3.conf
+ rm /etc/sensors.conf.rpmsave
+fi
+if [ -f /etc/sensors.conf.rpmsave.old ]; then
+ mv /etc/sensors.conf.rpmsave.old /etc/sensors.conf.rpmsave
+fi
+
+
%pre
if [ -f /var/lock/subsys/sensors ]; then
mv -f /var/lock/subsys/sensors /var/lock/subsys/lm_sensors
@@ -124,11 +132,12 @@
fi
+
%files
%defattr(-,root,root)
-%doc BACKGROUND BUGS CHANGES CONTRIBUTORS COPYING doc README* TODO
+%doc CHANGES CONTRIBUTORS COPYING doc README*
%doc prog/init/fancontrol.init prog/init/README.initscripts
-%config(noreplace) %{_sysconfdir}/sensors.conf
+%config(noreplace) %{_sysconfdir}/sensors3.conf
%{_bindir}/*
%{_libdir}/*.so.*
%{_mandir}/man1/*
@@ -138,7 +147,6 @@
%{_initrddir}/lm_sensors
%config(noreplace) %{_sysconfdir}/sysconfig/lm_sensors
%exclude %{_sbindir}/sensord
-%exclude %{_sbindir}/eepro*
%exclude %{_mandir}/man8/sensord.8.gz
%files devel
@@ -155,13 +163,13 @@
%{_initrddir}/sensord
%config(noreplace) %{_sysconfdir}/sysconfig/sensord
-%files eepromer
-%defattr(-,root,root,-)
-%doc prog/eepromer/README*
-%{_sbindir}/eepro*
-
%changelog
+* Sat Nov 10 2007 Hans de Goede <j.w.r.degoede at hhs.nl> - 3.0.0-0.1.rc3
+- New upstream release 3.0.0-rc3
+- Remove eeprommer sub-package as eeprommer (and the other i2c-tools)
+ have moved to the new i2c-tools package
+
* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede at hhs.nl> - 2.10.4-2
- Update License tag for new Licensing Guidelines compliance
- Disable service by default (no use without any sensors being configured),
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/lm_sensors/devel/sources,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- sources 19 Jul 2007 17:50:05 -0000 1.18
+++ sources 10 Nov 2007 19:17:50 -0000 1.19
@@ -1 +1 @@
-96eb9ca1a1f1cb308757a7b8f0af93d6 lm_sensors-2.10.4.tar.gz
+f5164249493760f03517d84c13259456 lm_sensors-3.0.0-rc3.tar.bz2
- Previous message (by thread): rpms/soprano/devel .cvsignore, 1.3, 1.4 soprano.spec, 1.8, 1.9 sources, 1.3, 1.4
- Next message (by thread): rpms/soprano/F-8 .cvsignore, 1.3, 1.4 soprano.spec, 1.6, 1.7 sources, 1.3, 1.4 soprano-1.95.0-beta2-findclucene.diff, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list