From 09e37bb507eec1501241a2282374b383857f052f Mon Sep 17 00:00:00 2001 From: Gui Chen Date: Wed, 21 May 2014 01:47:38 -0400 Subject: bump up to 0.25-rc1 Change-Id: Ie870a858727935eb6de19a6b6494c471de66e2a0 Signed-off-by: Gui Chen --- packaging/mic.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packaging/mic.spec') diff --git a/packaging/mic.spec b/packaging/mic.spec index 9902d7f..0a7196e 100644 --- a/packaging/mic.spec +++ b/packaging/mic.spec @@ -1,6 +1,6 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%define rc_version 0 +%define rc_version 1 %if 0%{?rc_version} %define release_prefix 0.rc%{rc_version}. @@ -8,7 +8,7 @@ Name: mic Summary: Image Creator for Linux Distributions -Version: 0.24 +Version: 0.25 Release: %{?release_prefix}%{?opensuse_bs:.}%{!?opensuse_bs:0} Group: Development/Tools License: GPLv2 -- cgit v1.2.3 From 5813624e542f9499616b760a8307dcd486e971a6 Mon Sep 17 00:00:00 2001 From: Gui Chen Date: Thu, 22 May 2014 08:29:28 -0400 Subject: bump up to release 0.25 Change-Id: I9dfe1537173e9521d04ac06e98316fed28f407e4 Signed-off-by: Gui Chen --- packaging/mic.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging/mic.spec') diff --git a/packaging/mic.spec b/packaging/mic.spec index 0a7196e..cc6edbb 100644 --- a/packaging/mic.spec +++ b/packaging/mic.spec @@ -1,6 +1,6 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%define rc_version 1 +%define rc_version 0 %if 0%{?rc_version} %define release_prefix 0.rc%{rc_version}. -- cgit v1.2.3 From 703f1853ccd2202c774c10b56ee6d17d0df0461a Mon Sep 17 00:00:00 2001 From: Gui Chen Date: Wed, 28 May 2014 01:42:44 -0400 Subject: add requires for cElementTree module Change-Id: Id0a92e7a68677c1ab51b13401a6befb6a2b72f7a Signed-off-by: Gui Chen --- packaging/mic.spec | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packaging/mic.spec') diff --git a/packaging/mic.spec b/packaging/mic.spec index cc6edbb..790d0ee 100644 --- a/packaging/mic.spec +++ b/packaging/mic.spec @@ -61,9 +61,11 @@ Requires: syslinux-extlinux >= 3.82 %endif %if 0%{?suse_version} || 0%{?tizen_version:1} +Requires: python-xml Requires: squashfs >= 4.0 Requires: python-m2crypto %else +Requires: python-libs Requires: squashfs-tools >= 4.0 Requires: m2crypto %endif -- cgit v1.2.3 From ce84773583c5394d66257abfc8ed72545999176c Mon Sep 17 00:00:00 2001 From: Gui Chen Date: Wed, 28 May 2014 06:15:05 -0400 Subject: bump up to 0.25.1 Change-Id: Iafafcc2d03f58881d9907003c61c72f102e91845 Signed-off-by: Gui Chen --- packaging/mic.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging/mic.spec') diff --git a/packaging/mic.spec b/packaging/mic.spec index 790d0ee..04c862c 100644 --- a/packaging/mic.spec +++ b/packaging/mic.spec @@ -8,7 +8,7 @@ Name: mic Summary: Image Creator for Linux Distributions -Version: 0.25 +Version: 0.25.1 Release: %{?release_prefix}%{?opensuse_bs:.}%{!?opensuse_bs:0} Group: Development/Tools License: GPLv2 -- cgit v1.2.3 From ca8ab469cfc9941413fe0aed1e66849f948eb278 Mon Sep 17 00:00:00 2001 From: lihongsx Date: Tue, 5 Aug 2014 10:38:37 +0800 Subject: Add 'python-xml' dependency of mic Fixes: #2028 Change-Id: Ib8eec98150115bb4b36e7226d1cfa91e29de682c --- packaging/mic.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packaging/mic.spec') diff --git a/packaging/mic.spec b/packaging/mic.spec index 04c862c..a56df95 100644 --- a/packaging/mic.spec +++ b/packaging/mic.spec @@ -18,6 +18,10 @@ Source0: %{name}_%{version}.tar.gz Requires: python >= 2.6 Requires: python-urlgrabber >= 3.9.0 +%if 0%{?suse_version} || 0%{?tizen_version:1} +Requires: python-xml +%endif + %if 0%{?tizen_version:1} Requires: python-rpm %else @@ -61,7 +65,6 @@ Requires: syslinux-extlinux >= 3.82 %endif %if 0%{?suse_version} || 0%{?tizen_version:1} -Requires: python-xml Requires: squashfs >= 4.0 Requires: python-m2crypto %else -- cgit v1.2.3 From 85cc36cfcff9bf656b0a0d49d6897bdc398a8435 Mon Sep 17 00:00:00 2001 From: Gui Chen Date: Tue, 14 Oct 2014 04:26:07 +0000 Subject: bump up to 0.26 rc1 Change-Id: I47f65df512e74b7ba82efcaf0b81b75f9795bcea Signed-off-by: Gui Chen --- packaging/mic.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packaging/mic.spec') diff --git a/packaging/mic.spec b/packaging/mic.spec index a56df95..85c68e3 100644 --- a/packaging/mic.spec +++ b/packaging/mic.spec @@ -1,6 +1,6 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%define rc_version 0 +%define rc_version 1 %if 0%{?rc_version} %define release_prefix 0.rc%{rc_version}. @@ -8,7 +8,7 @@ Name: mic Summary: Image Creator for Linux Distributions -Version: 0.25.1 +Version: 0.26 Release: %{?release_prefix}%{?opensuse_bs:.}%{!?opensuse_bs:0} Group: Development/Tools License: GPLv2 -- cgit v1.2.3 From 0a1086ae1aa1104d5ec1ade23fd2ce74c4b83712 Mon Sep 17 00:00:00 2001 From: Gui Chen Date: Tue, 14 Oct 2014 22:58:08 +0000 Subject: bump up to release 0.26 Change-Id: Ic291b2c7fbe8c09a1bdf341d35740f9f639cc5cf Signed-off-by: Gui Chen --- packaging/mic.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging/mic.spec') diff --git a/packaging/mic.spec b/packaging/mic.spec index 85c68e3..0d62f5e 100644 --- a/packaging/mic.spec +++ b/packaging/mic.spec @@ -1,6 +1,6 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%define rc_version 1 +%define rc_version 0 %if 0%{?rc_version} %define release_prefix 0.rc%{rc_version}. -- cgit v1.2.3 From 66124967651d00df7761ca32096592d1f2e85d85 Mon Sep 17 00:00:00 2001 From: Lihong Sun Date: Tue, 24 Mar 2015 22:53:24 -0400 Subject: Drop mic native support mic option --runtime=native has been broken for more than one year, maintain this mode requires more effort for new distribution support, so drop this mode without risk. Fixes: #DEVT-248 Change-Id: Iaee916889fabfe62f6a507781f9ca1c3d01ee5a2 --- packaging/mic.spec | 57 ------------------------------------------------------ 1 file changed, 57 deletions(-) (limited to 'packaging/mic.spec') diff --git a/packaging/mic.spec b/packaging/mic.spec index 0d62f5e..1c7ffac 100644 --- a/packaging/mic.spec +++ b/packaging/mic.spec @@ -49,59 +49,6 @@ is used to create images with different types; subcommand convert is used to convert an image to a specified type; subcommand chroot is used to chroot into an image. -%package native -Summary: Native support for mic -Requires: util-linux -Requires: coreutils -Requires: psmisc -Requires: e2fsprogs -Requires: dosfstools >= 2.11 -Requires: kpartx -Requires: parted -Requires: device-mapper -Requires: syslinux >= 3.82 -%if ! 0%{?suse_version} -Requires: syslinux-extlinux >= 3.82 -%endif - -%if 0%{?suse_version} || 0%{?tizen_version:1} -Requires: squashfs >= 4.0 -Requires: python-m2crypto -%else -Requires: python-libs -Requires: squashfs-tools >= 4.0 -Requires: m2crypto -%endif - -%if 0%{?suse_version} || 0%{?tizen_version:1} -Requires: /usr/bin/qemu-arm -%else -Requires: qemu-arm-static -%endif - -%if ! 0%{?tizen_version:1} -Requires: isomd5sum -Requires: /usr/bin/genisoimage -%endif - -Requires: yum >= 3.2.24 -%if 0%{?tizen_version:1} -Requires: python-zypp -%else -Requires: python-zypp-tizen -%endif - -Requires: mic - -#%if 0%{?suse_version} -#Requires: btrfsprogs -#%else -#Requires: btrfs-progs -#%endif - -%description native -The native support package for mic, it includes all requirements -for mic native running. %prep %setup -q -n %{name}-%{version} @@ -130,8 +77,6 @@ install -Dp -m0755 etc/bash_completion.d/%{name}.sh %{buildroot}/%{_sysconfdir}/ install -d -m0755 %{buildroot}/%{_sysconfdir}/zsh_completion.d/ install -Dp -m0755 etc/zsh_completion.d/_%{name} %{buildroot}/%{_sysconfdir}/zsh_completion.d/ -install -Dp -m0755 tools/mic %{buildroot}/%{_bindir}/mic-native - %files %defattr(-,root,root,-) %doc doc/* @@ -148,5 +93,3 @@ install -Dp -m0755 tools/mic %{buildroot}/%{_bindir}/mic-native %{_sysconfdir}/bash_completion.d %{_sysconfdir}/zsh_completion.d -%files native -%{_bindir}/mic-native -- cgit v1.2.3 From a5878ae2f3aa82d6b9cc59d7434c2f80e28f7471 Mon Sep 17 00:00:00 2001 From: yyh Date: Tue, 26 Jan 2016 18:21:34 +0800 Subject: Using argparse module to parse the cmd line Conflicts: plugins/imager/loop_plugin.py --- packaging/mic.spec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packaging/mic.spec') diff --git a/packaging/mic.spec b/packaging/mic.spec index 1c7ffac..3756dbf 100644 --- a/packaging/mic.spec +++ b/packaging/mic.spec @@ -1,4 +1,5 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_version: %define python_version %(%{__python} -c "import sys; sys.stdout.write(sys.version[:3])")} %define rc_version 0 @@ -22,6 +23,10 @@ Requires: python-urlgrabber >= 3.9.0 Requires: python-xml %endif +%if "%{?python_version}" < "2.7" +Requires: python-argparse +%endif + %if 0%{?tizen_version:1} Requires: python-rpm %else -- cgit v1.2.3 From 97a7db20d2297c9f66716057c20f19265751bfa7 Mon Sep 17 00:00:00 2001 From: "jianzhong.fang" Date: Mon, 28 Mar 2016 19:49:27 +0800 Subject: bump up to release 0.27 Change-Id: I1c8861e517686047368a3941f678b56d173056fb --- packaging/mic.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging/mic.spec') diff --git a/packaging/mic.spec b/packaging/mic.spec index 3756dbf..08fecc4 100644 --- a/packaging/mic.spec +++ b/packaging/mic.spec @@ -9,7 +9,7 @@ Name: mic Summary: Image Creator for Linux Distributions -Version: 0.26 +Version: 0.27 Release: %{?release_prefix}%{?opensuse_bs:.}%{!?opensuse_bs:0} Group: Development/Tools License: GPLv2 -- cgit v1.2.3