SHA256
1
0
forked from pool/mmc-utils

- 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
This commit is contained in:
Martin Pluskal 2018-03-08 09:51:58 +00:00 committed by Git OBS Bridge
parent b1466eef55
commit 71dae72a65
5 changed files with 19 additions and 38 deletions

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<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

@ -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

View File

@ -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}