From 71dae72a6599b97ee7ed7e310cdd72f2d4cfd76b3d426f28ec3494b44820f3a1 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 8 Mar 2018 09:51:58 +0000 Subject: [PATCH 1/2] - Update to version 0.1+git.20180216: * mmc-utils: manpage: fix arguments for TH macro * mmc-utils: remove unused #includes * mmc-utils: move offsetof from mmc.h to only user * mmc-utils: expand .gitignore * mmc-utils: make use of dependency information generated by gcc * mmc-utils: drop unused header * mmc-utils: drop macro CHECK - Drop do_not_use_asm_generic.patch OBS-URL: https://build.opensuse.org/package/show/hardware/mmc-utils?expand=0&rev=20 --- _servicedata | 2 +- do_not_use_asm_generic.patch | 24 ------------------------ mmc-utils-0.1+git.20170320.tar.xz | 3 --- mmc-utils.changes | 13 +++++++++++++ mmc-utils.spec | 15 +++++---------- 5 files changed, 19 insertions(+), 38 deletions(-) delete mode 100644 do_not_use_asm_generic.patch delete mode 100644 mmc-utils-0.1+git.20170320.tar.xz diff --git a/_servicedata b/_servicedata index 9d922a7..e48fef3 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git - 37c86e60c0442fef570b75cd81aeb1db4d0cbafd \ No newline at end of file + 7bcad171173fd9a9401e7ce81906605bd6f4eddc \ No newline at end of file diff --git a/do_not_use_asm_generic.patch b/do_not_use_asm_generic.patch deleted file mode 100644 index e97f0b4..0000000 --- a/do_not_use_asm_generic.patch +++ /dev/null @@ -1,24 +0,0 @@ -From: Michel Normand -Subject: do not use asm generic -Date: Wed, 17 Feb 2016 18:44:43 +0100 - -do not use to avoid build error on PowerPC arch - -Signed-off-by: Michel Normand ---- - mmc.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: mmc-utils-0.1~git.20160308/mmc.h -=================================================================== ---- mmc-utils-0.1~git.20160308.orig/mmc.h -+++ mmc-utils-0.1~git.20160308/mmc.h -@@ -17,7 +17,7 @@ - * those modifications are Copyright (c) 2016 SanDisk Corp. - */ - --#include -+#include - #include - #include - diff --git a/mmc-utils-0.1+git.20170320.tar.xz b/mmc-utils-0.1+git.20170320.tar.xz deleted file mode 100644 index 986a467..0000000 --- a/mmc-utils-0.1+git.20170320.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:81cc2eb2a04e0ff896d836b4cfffe5956b0c4d5a57e2c4d31e0267cf128e0a7e -size 35736 diff --git a/mmc-utils.changes b/mmc-utils.changes index 03a82ad..4a9c92e 100644 --- a/mmc-utils.changes +++ b/mmc-utils.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Mar 8 09:49:09 UTC 2018 - mpluskal@suse.com + +- Update to version 0.1+git.20180216: + * mmc-utils: manpage: fix arguments for TH macro + * mmc-utils: remove unused #includes + * mmc-utils: move offsetof from mmc.h to only user + * mmc-utils: expand .gitignore + * mmc-utils: make use of dependency information generated by gcc + * mmc-utils: drop unused header + * mmc-utils: drop macro CHECK +- Drop do_not_use_asm_generic.patch + ------------------------------------------------------------------- Fri Mar 24 12:02:21 UTC 2017 - mpluskal@suse.com diff --git a/mmc-utils.spec b/mmc-utils.spec index c2bf1fe..3b2cecf 100644 --- a/mmc-utils.spec +++ b/mmc-utils.spec @@ -1,7 +1,7 @@ # # spec file for package mmc-utils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,14 @@ Name: mmc-utils -Version: 0.1+git.20170320 +Version: 0.1+git.20180216 Release: 0 Summary: Tools for MMC/SD devices -License: GPL-2.0 +License: GPL-2.0-only Group: Hardware/Other -Url: http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/ +URL: http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/ Source0: %{name}-%{version}.tar.xz Source1: https://www.gnu.org/licenses/gpl-2.0.txt -Patch0: do_not_use_asm_generic.patch -BuildRequires: xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Userspace tools for controlling and querying MMC/SD storage devices @@ -35,7 +32,6 @@ Userspace tools for controlling and querying MMC/SD storage devices %prep %setup -q cp %{SOURCE1} LICENSE.GPL-2.0 -%patch0 -p1 %build export CFLAGS="%{optflags}" @@ -47,8 +43,7 @@ install -D -p -m 0644 man/mmc.1 \ %{buildroot}%{_mandir}/man1/mmc.1 %files -%defattr(-,root,root) -%doc LICENSE.GPL-2.0 +%license LICENSE.GPL-2.0 %{_bindir}/mmc %{_mandir}/man1/mmc.1%{ext_man} From 623a8eb01c05cbe61717fcc6625d0574d9cea87df9f55142e0c131e5fc9de42e Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 8 Mar 2018 09:54:32 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/hardware/mmc-utils?expand=0&rev=21 --- mmc-utils-0.1+git.20180216.tar.xz | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 mmc-utils-0.1+git.20180216.tar.xz diff --git a/mmc-utils-0.1+git.20180216.tar.xz b/mmc-utils-0.1+git.20180216.tar.xz new file mode 100644 index 0000000..21601ff --- /dev/null +++ b/mmc-utils-0.1+git.20180216.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:233cb4fb9ee368fd63b5771a0021c97ffa637b5a3c43fcaabc1c0237c64b93cc +size 35688