SHA256
1
0
forked from pool/mmc-utils

- 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
This commit is contained in:
Martin Pluskal 2015-12-05 13:12:57 +00:00 committed by Git OBS Bridge
parent 6b99b602e2
commit 884feabd06
4 changed files with 17 additions and 8 deletions

View File

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

View File

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

View File

@ -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 Thu Dec 25 15:18:40 UTC 2014 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package mmc-utils # 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 # 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,7 +17,7 @@
Name: mmc-utils Name: mmc-utils
Version: 20140812 Version: 20151118
Release: 0 Release: 0
Summary: Tools for MMC/SD devices Summary: Tools for MMC/SD devices
License: GPL-2.0 License: GPL-2.0
@ -25,7 +25,6 @@ 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
BuildRequires: gcc
BuildRequires: xz BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build 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 cp %{SOURCE1} LICENSE.GPL-2.0
%build %build
make %{?_smp_mflags} export CFLAGS="%{optflags}"
make %{?_smp_mflags} all
%install %install
make install prefix=%{_prefix} DESTDIR=%{buildroot} %{?_smp_mflags} make install prefix=%{_prefix} DESTDIR=%{buildroot} %{?_smp_mflags}
install -D -m 0644 man/mmc.1 %{buildroot}%{_mandir}/man1/mmc.1
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/mmc
%doc LICENSE.GPL-2.0 %doc LICENSE.GPL-2.0
%{_bindir}/mmc
%{_mandir}/man1/mmc.1%{ext_man}
%changelog %changelog