From a7895bcacb168c4cbf977964a8dd507ac189ad6b09ada537cf40709d5cbc5cf2 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 1 Mar 2016 16:39:53 +0000 Subject: [PATCH] - 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 --- _service | 2 +- mmc-utils-0.1~git.20160223.tar.xz | 3 +++ mmc-utils-20151118.tar.xz | 3 --- mmc-utils.changes | 6 ++++++ mmc-utils.spec | 9 ++++++--- 5 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 mmc-utils-0.1~git.20160223.tar.xz delete mode 100644 mmc-utils-20151118.tar.xz diff --git a/_service b/_service index 243ecfe..e108520 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git git mmc-utils - %ad + 0.1~git.%ad *.tar diff --git a/mmc-utils-0.1~git.20160223.tar.xz b/mmc-utils-0.1~git.20160223.tar.xz new file mode 100644 index 0000000..4ae960b --- /dev/null +++ b/mmc-utils-0.1~git.20160223.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a520df748caec27012f8a203dbb3a64690b6cb6064a8c8f00546656d76b422c4 +size 32268 diff --git a/mmc-utils-20151118.tar.xz b/mmc-utils-20151118.tar.xz deleted file mode 100644 index 84694bf..0000000 --- a/mmc-utils-20151118.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d97e75b8610c20a0a1eb0ff7b52e4e9dfb08fb88fbf47e506a1fb5d24f8b9053 -size 25204 diff --git a/mmc-utils.changes b/mmc-utils.changes index f56a1ae..8d66ca3 100644 --- a/mmc-utils.changes +++ b/mmc-utils.changes @@ -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 diff --git a/mmc-utils.spec b/mmc-utils.spec index 132e775..5d5b857 100644 --- a/mmc-utils.spec +++ b/mmc-utils.spec @@ -17,7 +17,7 @@ Name: mmc-utils -Version: 20151118 +Version: 0.1~git.20160223 Release: 0 Summary: Tools for MMC/SD devices License: GPL-2.0 @@ -27,6 +27,9 @@ Source0: %{name}-%{version}.tar.xz Source1: https://www.gnu.org/licenses/gpl-2.0.txt Patch0: do_not_use_asm_generic.patch BuildRequires: xz +# switch from versioning based only on date of last git commit +Provides: %{name} = 20151118 +Obsoletes: %{name} = 20151118 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -39,10 +42,10 @@ cp %{SOURCE1} LICENSE.GPL-2.0 %build export CFLAGS="%{optflags}" -make %{?_smp_mflags} all +make %{?_smp_mflags} %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 %files