From 884feabd06d166e15db2ad264177d25bb85fb7a73a7270d48d117592f9bb4345 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sat, 5 Dec 2015 13:12:57 +0000 Subject: [PATCH] - Update to 20151118 - Install man page - Build with correct optflags OBS-URL: https://build.opensuse.org/package/show/hardware/mmc-utils?expand=0&rev=3 --- mmc-utils-20140812.tar.xz | 3 --- mmc-utils-20151118.tar.xz | 3 +++ mmc-utils.changes | 7 +++++++ mmc-utils.spec | 12 +++++++----- 4 files changed, 17 insertions(+), 8 deletions(-) delete mode 100644 mmc-utils-20140812.tar.xz create mode 100644 mmc-utils-20151118.tar.xz diff --git a/mmc-utils-20140812.tar.xz b/mmc-utils-20140812.tar.xz deleted file mode 100644 index 1e7159d..0000000 --- a/mmc-utils-20140812.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5e044bb24711972f989de89063aa81fa57244226df02507c86c08f93372c6d0 -size 23056 diff --git a/mmc-utils-20151118.tar.xz b/mmc-utils-20151118.tar.xz new file mode 100644 index 0000000..84694bf --- /dev/null +++ b/mmc-utils-20151118.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d97e75b8610c20a0a1eb0ff7b52e4e9dfb08fb88fbf47e506a1fb5d24f8b9053 +size 25204 diff --git a/mmc-utils.changes b/mmc-utils.changes index 9e15c8c..fddc666 100644 --- a/mmc-utils.changes +++ b/mmc-utils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Dec 5 13:11:57 UTC 2015 - mpluskal@suse.com + +- Update to 20151118 +- Install man page +- Build with correct optflags + ------------------------------------------------------------------- Thu Dec 25 15:18:40 UTC 2014 - mpluskal@suse.com diff --git a/mmc-utils.spec b/mmc-utils.spec index 95bf1c4..5d828a9 100644 --- a/mmc-utils.spec +++ b/mmc-utils.spec @@ -1,7 +1,7 @@ # # spec file for package mmc-utils # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,7 +17,7 @@ Name: mmc-utils -Version: 20140812 +Version: 20151118 Release: 0 Summary: Tools for MMC/SD devices License: GPL-2.0 @@ -25,7 +25,6 @@ Group: Hardware/Other 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 -BuildRequires: gcc BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -37,14 +36,17 @@ Userspace tools for controlling and querying MMC/SD storage devices cp %{SOURCE1} LICENSE.GPL-2.0 %build -make %{?_smp_mflags} +export CFLAGS="%{optflags}" +make %{?_smp_mflags} all %install make install prefix=%{_prefix} DESTDIR=%{buildroot} %{?_smp_mflags} +install -D -m 0644 man/mmc.1 %{buildroot}%{_mandir}/man1/mmc.1 %files %defattr(-,root,root) -%{_bindir}/mmc %doc LICENSE.GPL-2.0 +%{_bindir}/mmc +%{_mandir}/man1/mmc.1%{ext_man} %changelog