Hello community, here is the log from the commit of package statserial checked in at Mon Oct 30 18:02:45 CET 2006. -------- --- statserial/statserial.changes 2006-01-25 21:41:49.000000000 +0100 +++ /mounts/work_src_done/STABLE/statserial/statserial.changes 2006-10-30 15:48:24.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Oct 30 15:47:19 CET 2006 - mjancar@suse.cz + +- change default device from /dev/cua1 to /dev/ttyS1 +- link dynamicaly + +------------------------------------------------------------------- Old: ---- statserial-1.1.dif New: ---- statserial-1.1-device.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ statserial.spec ++++++ --- /var/tmp/diff_new_pack.k7O1Lb/_old 2006-10-30 18:02:26.000000000 +0100 +++ /var/tmp/diff_new_pack.k7O1Lb/_new 2006-10-30 18:02:26.000000000 +0100 @@ -1,28 +1,29 @@ # # spec file for package statserial (Version 1.1) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: statserial -URL: http://ca.geocities.com/jefftranter@rogers.com/ -License: GPL -Group: Hardware/Other +Version: 1.1 +Release: 601 +BuildRequires: ncurses-devel Provides: statseri +Obsoletes: statseri Autoreqprov: on -Version: 1.1 -Release: 578 +Group: Hardware/Other Summary: Helps to Debug Serial Lines -Source: ftp://metalab.unc.edu/pub/Linux/system/serial/statserial-%{version}.tar.gz -Patch: statserial-%{version}.dif +License: GNU General Public License (GPL) - all versions +URL: http://ca.geocities.com/jefftranter@rogers.com/ +Source: ftp://metalab.unc.edu/pub/Linux/system/serial/%{name}-%{version}.tar.gz +Patch: %{name}-%{version}-device.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -Obsoletes: statseri %description Statserial displays a table of the signals on a standard 9-pin or @@ -36,28 +37,31 @@ Jeff Tranter <Jeff_Tranter@Mitel.COM> %prep -%setup -n statserial-1.1 +%setup -q %patch %build -make +gcc $RPM_OPT_FLAGS -lncurses -o statserial statserial.c %install -install -d -m 755 ${RPM_BUILD_ROOT}/usr/bin -install -d -m 755 ${RPM_BUILD_ROOT}/%{_mandir}/man1 -make install DESTDIR=${RPM_BUILD_ROOT} -install -m 755 phone_log ${RPM_BUILD_ROOT}/usr/bin +install -d -m 755 $RPM_BUILD_ROOT%{_bindir}/ +install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1/ +install -m 755 statserial phone_log $RPM_BUILD_ROOT%{_bindir}/ +install -m 755 statserial.1 $RPM_BUILD_ROOT%{_mandir}/man1/ %clean -rm -rf ${RPM_BUILD_ROOT} +rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc README ChangeLog -/usr/bin/* -%doc /usr/share/man/man1/statserial.1.gz +%doc COPYING ChangeLog README +%doc %{_mandir}/man?/* +%{_bindir}/* %changelog -n statserial +* Mon Oct 30 2006 - mjancar@suse.cz +- change default device from /dev/cua1 to /dev/ttyS1 +- link dynamicaly * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Mon Oct 31 2005 - dmueller@suse.de ++++++ statserial-1.1-device.diff ++++++ --- statserial.c +++ statserial.c @@ -42,7 +42,7 @@ /* global variables */ char device[255]; /* name of device to open */ -const char *defaultDevice = "/dev/cua1"; /* default device if none specified on command line */ +const char *defaultDevice = "/dev/ttyS1"; /* default device if none specified on command line */ int n_option = 0; /* set if -n option is used */ int d_option = 0; /* set if -d option is used */ int x_option = 0; /* set if -x option is used */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de