Accepting request 584239 from hardware

- 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/request/show/584239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mmc-utils?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2018-03-09 09:45:13 +00:00 committed by Git OBS Bridge
commit 9e803a5f4a
6 changed files with 22 additions and 38 deletions

View File

@ -1,4 +1,4 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git</param> <param name="url">git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git</param>
<param name="changesrevision">37c86e60c0442fef570b75cd81aeb1db4d0cbafd</param></service></servicedata> <param name="changesrevision">7bcad171173fd9a9401e7ce81906605bd6f4eddc</param></service></servicedata>

View File

@ -1,24 +0,0 @@
From: Michel Normand <normand@linux.vnet.ibm.com>
Subject: do not use asm generic
Date: Wed, 17 Feb 2016 18:44:43 +0100
do not use <asm_generic/int-ll64.h> to avoid build error on PowerPC arch
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
---
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 <asm-generic/int-ll64.h>
+#include <asm/types.h>
#include <linux/mmc/ioctl.h>
#include <stdio.h>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81cc2eb2a04e0ff896d836b4cfffe5956b0c4d5a57e2c4d31e0267cf128e0a7e
size 35736

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:233cb4fb9ee368fd63b5771a0021c97ffa637b5a3c43fcaabc1c0237c64b93cc
size 35688

View File

@ -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 Fri Mar 24 12:02:21 UTC 2017 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package mmc-utils # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,17 +17,14 @@
Name: mmc-utils Name: mmc-utils
Version: 0.1+git.20170320 Version: 0.1+git.20180216
Release: 0 Release: 0
Summary: Tools for MMC/SD devices Summary: Tools for MMC/SD devices
License: GPL-2.0 License: GPL-2.0-only
Group: Hardware/Other 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 Source0: %{name}-%{version}.tar.xz
Source1: https://www.gnu.org/licenses/gpl-2.0.txt 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 %description
Userspace tools for controlling and querying MMC/SD storage devices 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 %prep
%setup -q %setup -q
cp %{SOURCE1} LICENSE.GPL-2.0 cp %{SOURCE1} LICENSE.GPL-2.0
%patch0 -p1
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
@ -47,8 +43,7 @@ install -D -p -m 0644 man/mmc.1 \
%{buildroot}%{_mandir}/man1/mmc.1 %{buildroot}%{_mandir}/man1/mmc.1
%files %files
%defattr(-,root,root) %license LICENSE.GPL-2.0
%doc LICENSE.GPL-2.0
%{_bindir}/mmc %{_bindir}/mmc
%{_mandir}/man1/mmc.1%{ext_man} %{_mandir}/man1/mmc.1%{ext_man}