From 9e42f61b0560a70a1c14cce300ae3071c6764f8b Mon Sep 17 00:00:00 2001 From: eulerstorage Date: Fri, 10 Jan 2020 16:50:44 +0800 Subject: [PATCH] repack sysfsutils --- 0000-sysfsutils-2.0.0-redhatify.patch | 19 --------------- 0000-sysfsutils-2.1.0-modify-COPYING.patch | 28 ++++++++++++++++++++++ sysfsutils.spec | 10 ++++++-- 3 files changed, 36 insertions(+), 21 deletions(-) delete mode 100644 0000-sysfsutils-2.0.0-redhatify.patch create mode 100644 0000-sysfsutils-2.1.0-modify-COPYING.patch diff --git a/0000-sysfsutils-2.0.0-redhatify.patch b/0000-sysfsutils-2.0.0-redhatify.patch deleted file mode 100644 index af0d16a..0000000 --- a/0000-sysfsutils-2.0.0-redhatify.patch +++ /dev/null @@ -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 diff --git a/0000-sysfsutils-2.1.0-modify-COPYING.patch b/0000-sysfsutils-2.1.0-modify-COPYING.patch new file mode 100644 index 0000000..d0cbd7d --- /dev/null +++ b/0000-sysfsutils-2.1.0-modify-COPYING.patch @@ -0,0 +1,28 @@ +From 9fe3bde28520222039c7f41b4ca610fafbe9db89 Mon Sep 17 00:00:00 2001 +From: openEuler Buildteam +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 + diff --git a/sysfsutils.spec b/sysfsutils.spec index e1a3625..b72bc91 100644 --- a/sysfsutils.spec +++ b/sysfsutils.spec @@ -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 - 2.1.0-28 +- Type:enhancemnet +- ID:NA +- SUG:restart +- DESCi:repackaged + * Tue Aug 20 2019 zhanghaibo - 2.1.0-27 - Type:enhancemnet - ID:NA