From 2d9b20057e78d20d6ecc4e41743fbec3b53ccb97 Mon Sep 17 00:00:00 2001 From: Neil Horman Date: Wed, 24 May 2006 14:28:39 +0000 Subject: [PATCH] rebasing sysfsutils package to version 2.0.0 --- .cvsignore | 1 + sources | 1 + sysfsutils-2.0.0-redhatify.patch | 19 +++++++++++++++++++ sysfsutils.spec | 12 ++++++++---- 4 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 sysfsutils-2.0.0-redhatify.patch diff --git a/.cvsignore b/.cvsignore index e92103e..ecc3994 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ sysfsutils-1.3.0.tar.gz +sysfsutils-2.0.0.tar.gz diff --git a/sources b/sources index 07c8d62..7e86ea4 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ d11c99271531be3c1e6d36b53968cd2b sysfsutils-1.3.0.tar.gz +b7857c045ef3b4810c9b8be965c05fb9 sysfsutils-2.0.0.tar.gz diff --git a/sysfsutils-2.0.0-redhatify.patch b/sysfsutils-2.0.0-redhatify.patch new file mode 100644 index 0000000..af0d16a --- /dev/null +++ b/sysfsutils-2.0.0-redhatify.patch @@ -0,0 +1,19 @@ +diff -Nurp sysfsutils-1.2.0.bak/COPYING sysfsutils-1.2.0/COPYING +--- sysfsutils-1.2.0.bak/COPYING 2004-09-13 08:45:15.000000000 -0500 ++++ sysfsutils-1.2.0/COPYING 2004-10-11 13:05:00.483795976 -0500 +@@ -1,11 +1,10 @@ + +-The commands and utilities under the "test" directory are licensed under the +-GNU General Public License (GPL) Version 2, June 1991. The full text of the +-GPL is located at: ++The commands and utilities are licensed under the GNU General Public License ++(GPL) Version 2, June 1991. The full text of the GPL is located at: + +-sysfsutils/cmd/GPL ++/usr/share/doc/sysfsutils-{version}/GPL + + The sysfs library is licensed under the GNU Lesser Public License (LGPL) + Version 2.1, February 1999. The full text of the LGPL is located at: + +-sysfsutils/lib/LGPL ++/usr/share/doc/sysfsutils-{version}/LGPL diff --git a/sysfsutils.spec b/sysfsutils.spec index 2221979..7ebf73c 100644 --- a/sysfsutils.spec +++ b/sysfsutils.spec @@ -1,7 +1,7 @@ Summary: sysfsutils, library interface to sysfs. Name: sysfsutils -Version: 1.3.0 -Release: 2 +Version: 2.0.0 +Release: 1 Source0: http://prdownloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-redhatify.patch License: GPL/LGPL @@ -50,8 +50,9 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/systool -%{_libdir}/libsysfs.so.1 -%{_libdir}/libsysfs.so.1.0.3 +%{_bindir}/get_module +%{_libdir}/libsysfs.so.2 +%{_libdir}/libsysfs.so.2.0.0 %{_mandir}/man1/systool.1.gz %doc COPYING AUTHORS README NEWS CREDITS ChangeLog docs/libsysfs.txt cmd/GPL lib/LGPL @@ -64,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed May 24 2006 Neiul Horman - 2.0.0-1 +- Rebase to sysfsutils-2.0.0 for RHEL5 + * Thu Apr 27 2006 Jeremy Katz - 1.3.0-2 - move .so to devel subpackage