summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/mic.changes44
-rw-r--r--packaging/mic.spec65
2 files changed, 36 insertions, 73 deletions
diff --git a/packaging/mic.changes b/packaging/mic.changes
index 5cb942d..41b3718 100644
--- a/packaging/mic.changes
+++ b/packaging/mic.changes
@@ -1,21 +1,37 @@
-* Thu Jan 22 2015 Lihong Sun <lihongx.sun@intel.com> - 0.24.4
+* Mon Mar 28 2016 Jianzhong Fang <jz.fang@samsung.com> - 0.27
+ * new distribution support: CentOS 7, Debian 8, Fedora 21,
+ Fedora 22, Fedora 23, openSUSE 13.2
* generate manifest file to describe image information
- * update mount option to make it more general
- * bug fix:
- - fix incorrect logfile location of '--release' if creation failed
- - update dependency package for mic
- - add catching 'distribution not found' exception
+ * refactor archive and compress module
+ * support sparse handle for tar command
+ * replace system V with systemd on locale setting
+ * add qcow2 image format support
+ * add strict mode for package installing
+ * enable ssl_verify option in config file
+ * enhance checksums of outputs: md5sum, sha1sum, sha256sum
+ * drop mic-native support
+ * update mount option
+ * revert bind mount config file to instroot
+ * drop liveusb, livecd and raw image formats support
+ * use argparse module to parse the cmd line
-* Mon Nov 24 2014 Yongfeng Du <dolpher.du@intel.com> - 0.24.3
* bug fix:
+ - fix logfile incomplete in release option
+ - fix config file disappear in bootstrap
+ - fix aarch64 bin_format
+ - fix pylint
+ - fix real path of device mapper causing initrd failure
- fix qemu arm and arm64 issues
- - remove --preserve-order option in taring fs image
-
-* Wed Jul 09 2014 Gui Chen <gui.chen@intel.com> - 0.24.2
- * enable ssl_verify in config file
- * fix logfile incompleted issue
- * fix md5sum to be compatible with utility md5sum
- * fix locale issue in systemd service
+ - fix AttributeError in zypp backend
+ - fix 'python-xml' depends used by cElements
+ - fix xml requirements
+ - fix logfile not in release of '--release' when creation failed
+ - fix copyright missing issue
+ - fix syslinux installation path issue in Arch Linux
+ - fix priority option of ks file not apply
+ - fix need to check loop device after excute 'losetup --find'
+ - fix check scriptlet error file on /tmp/.postscript/error/
+ - fix broken tar archive
* Tue Mar 11 2014 Gui Chen <gui.chen@intel.com> - 0.24
* enhance to handle password with special characters
diff --git a/packaging/mic.spec b/packaging/mic.spec
index 52a271f..b0607f2 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
@@ -8,7 +9,7 @@
Name: mic
Summary: Image Creator for Linux Distributions
-Version: 0.24.4
+Version: 0.27
Release: %{?release_prefix}%{?opensuse_bs:<CI_CNT>.<B_CNT>}%{!?opensuse_bs:0}
Group: Development/Tools
License: GPLv2
@@ -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
@@ -49,60 +54,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 +81,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 +97,3 @@ install -Dp -m0755 tools/mic %{buildroot}/%{_bindir}/mic-native
%{_sysconfdir}/bash_completion.d
%{_sysconfdir}/zsh_completion.d
-%files native
-%{_bindir}/mic-native