repack sysfsutils

This commit is contained in:
eulerstorage 2020-01-10 16:50:44 +08:00
parent abd6e01952
commit 9e42f61b05
3 changed files with 36 additions and 21 deletions

View File

@ -1,19 +0,0 @@
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

View File

@ -0,0 +1,28 @@
From 9fe3bde28520222039c7f41b4ca610fafbe9db89 Mon Sep 17 00:00:00 2001
From: openEuler Buildteam <buildteam@openeuler.org>
Date: Fri, 10 Jan 2020 16:27:37 +0800
Subject: [PATCH] modify COPYING
---
COPYING | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/COPYING b/COPYING
index 39cac23..c0b5638 100644
--- a/COPYING
+++ b/COPYING
@@ -3,9 +3,9 @@ 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:
-sysfsutils/cmd/GPL
+/usr/share/licenses/sysfsutils/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/licenses/sysfsutils/LGPL
--
2.19.1

View File

@ -1,13 +1,13 @@
Name: sysfsutils
Version: 2.1.0
Release: 27
Release: 28
Summary: A set of utilities for interfacing with sysfs
License: GPLv2 and LGPLv2+
URL: http://sourceforge.net/projects/linux-diag/
Source0: http://prdownloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
Patch0: 0000-sysfsutils-2.0.0-redhatify.patch
Patch0: 0000-sysfsutils-2.1.0-modify-COPYING.patch
Patch1: 0001-sysfsutils-2.0.0-class-dup.patch
Patch2: 0002-sysfsutils-2.1.0-get_link.patch
Patch3: 0003-sysfsutils-2.1.0-manpages.patch
@ -81,6 +81,12 @@ chrpath -d $(find $RPM_BUILD_ROOT -name systool)
%changelog
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.1.0-28
- Type:enhancemnet
- ID:NA
- SUG:restart
- DESCi:repackaged
* Tue Aug 20 2019 zhanghaibo <ted.zhang@huawei.com> - 2.1.0-27
- Type:enhancemnet
- ID:NA