- Update to 0.1~20160223

- Drop old versioning which was based only on date

OBS-URL: https://build.opensuse.org/package/show/hardware/mmc-utils?expand=0&rev=7
This commit is contained in:
Martin Pluskal 2016-03-01 16:39:53 +00:00 committed by Git OBS Bridge
parent 60a8f79e86
commit a7895bcacb
5 changed files with 16 additions and 7 deletions

View File

@ -3,7 +3,7 @@
<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="scm">git</param> <param name="scm">git</param>
<param name="filename">mmc-utils</param> <param name="filename">mmc-utils</param>
<param name="versionformat">%ad</param> <param name="versionformat">0.1~git.%ad</param>
</service> </service>
<service mode="localonly" name="recompress"> <service mode="localonly" name="recompress">
<param name="file">*.tar</param> <param name="file">*.tar</param>

View File

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

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 1 15:37:00 UTC 2016 - mpluskal@suse.com
- Update to 0.1~20160223
- Drop old versioning which was based only on date
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 17 17:47:54 UTC 2016 - normand@linux.vnet.ibm.com Wed Feb 17 17:47:54 UTC 2016 - normand@linux.vnet.ibm.com

View File

@ -17,7 +17,7 @@
Name: mmc-utils Name: mmc-utils
Version: 20151118 Version: 0.1~git.20160223
Release: 0 Release: 0
Summary: Tools for MMC/SD devices Summary: Tools for MMC/SD devices
License: GPL-2.0 License: GPL-2.0
@ -27,6 +27,9 @@ 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 Patch0: do_not_use_asm_generic.patch
BuildRequires: xz BuildRequires: xz
# switch from versioning based only on date of last git commit
Provides: %{name} = 20151118
Obsoletes: %{name} = 20151118
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -39,10 +42,10 @@ cp %{SOURCE1} LICENSE.GPL-2.0
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
make %{?_smp_mflags} all make %{?_smp_mflags}
%install %install
make install prefix=%{_prefix} DESTDIR=%{buildroot} %{?_smp_mflags} make %{?_smp_mflags} install prefix=%{_prefix} DESTDIR=%{buildroot}
install -D -m 0644 man/mmc.1 %{buildroot}%{_mandir}/man1/mmc.1 install -D -m 0644 man/mmc.1 %{buildroot}%{_mandir}/man1/mmc.1
%files %files