### into the git directory
# YOCTO_TIZEN_DIR=`pwd`
-# sudo ln -s ${YOCTO_TIZEN_DIR}/Tizen_TZ_package/spec2yocto.py /usr/bin/spec2yocto
+# sudo ln -s ${YOCTO_TIZEN_DIR}/tools/spec2yocto.py /usr/bin/spec2yocto
# sudo mkdir -p /usr/share/spec2yocto
# sudo ln -s ${YOCTO_TIZEN_DIR}/proto-meta-Tizen_ivi_3.0/rpm_tizen_macro /usr/share/spec2yocto/macro
# ln -s ${YOCTO_TIZEN_DIR}/proto-meta-Tizen_ivi_3.0/.spec2yoctorc ${HOME}/.spec2yoctorc
--- /dev/null
+diff --git a/packaging/dash.spec b/packaging/dash.spec
+index 1081dab..bf6a18b 100644
+--- a/packaging/dash.spec
++++ b/packaging/dash.spec
+@@ -27,6 +27,8 @@ mkdir -p %{buildroot}/bin
+ mv %{buildroot}%{_bindir}/dash %{buildroot}/bin/
+ rm -rf %{buildroot}%{_bindir}/
+
++if [ -f %{_datadir}/man/man1/dash.1 ]; then gzip %{_datadir}/man/man1/dash.1 ; fi
++
+ %post
+ grep -q '^/bin/dash$' /etc/shells || echo '/bin/dash' >> /etc/shells
+
--- /dev/null
+diff --git a/packaging/device-mapper.spec b/packaging/device-mapper.spec
+index 92a6776..125fe6b 100644
+--- a/packaging/device-mapper.spec
++++ b/packaging/device-mapper.spec
+@@ -51,6 +51,7 @@ make device-mapper
+ make install_device-mapper DESTDIR=%{buildroot} usrlibdir=%{buildroot}/usr/%{_lib}
+ sed -i 's/ (.*)//g' %{buildroot}%{_libdir}/pkgconfig/*.pc
+
++if [ -f %{_mandir}/man8/dmsetup.8 ]; then gzip %{_mandir}/man8/dmsetup.8 ; fi
+
+ %post -n libdevmapper -p /sbin/ldconfig
+
--- /dev/null
+diff --git a/packaging/docbook_4.spec b/packaging/docbook_4.spec
+index 8e16dad..91c6b54 100644
+--- a/packaging/docbook_4.spec
++++ b/packaging/docbook_4.spec
+@@ -119,7 +119,7 @@ popd
+ pushd 4.5xml
+ unzip -q -a %{S:451}
+ popd
+-%patch -p 1 -P 1 -p 0
++%patch -p 1
+ %patch2 -p 1
+ # CATALOG.* files
+ cp %{S:7} %{S:414} %{S:424} %{S:434} %{S:444} %{S:454} .
--- /dev/null
+diff --git a/packaging/libgcrypt.spec b/packaging/libgcrypt.spec
+index 36a1ec3..2de3e25 100644
+--- a/packaging/libgcrypt.spec
++++ b/packaging/libgcrypt.spec
+@@ -50,6 +50,8 @@ autoreconf -fi
+ --enable-digests="$ENABLE_DIGEST"
+ make %{?_smp_mflags}
+
++if [ -f %{buildroot}%{_infodir}/gcrypt.info-1 ]; then gzip %{buildroot}%{_infodir}/gcrypt.info-1 ; fi
++
+ %check
+ # Nice idea. however this uses /dev/random, which hangs
+ # on hardware without random feeds.
--- /dev/null
+diff --git a/packaging/linux-firmware.spec b/packaging/linux-firmware.spec
+index f7f0ddc..1d14765 100644
+--- a/packaging/linux-firmware.spec
++++ b/packaging/linux-firmware.spec
+@@ -3,7 +3,7 @@ Version: 20121007
+ Release: 1
+ Summary: Firmware for various devices
+
+-License: Redistributable, no modification permitted
++License: Proprietary
+ Url: ftp://ftp.kernel.org//pub/linux/kernel/people/dwmw2/firmware/
+ Group: System/Kernel
+ Source0: ftp://ftp.kernel.org//pub/linux/kernel/people/dwmw2/firmware/linux-firmware-%{version}.tar.bz2
--- /dev/null
+diff --git a/packaging/makedepend.spec b/packaging/makedepend.spec
+index 2e66656..e408e90 100644
+--- a/packaging/makedepend.spec
++++ b/packaging/makedepend.spec
+@@ -31,6 +31,7 @@ make %{?_smp_mflags}
+
+ %install
+ %make_install
++if [ -f %{buildroot}%{_mandir}/man1/makedepend.1 ]; then gzip %{buildroot}%{_mandir}/man1/makedepend.1 ; fi
+
+ %files
+ %manifest %{name}.manifest
--- /dev/null
+diff --git a/packaging/pcre.spec b/packaging/pcre.spec
+index b522126..1071b5c 100644
+--- a/packaging/pcre.spec
++++ b/packaging/pcre.spec
+@@ -173,7 +173,7 @@ rm -f %{buildroot}%{_libdir}/*.la
+ %{_libdir}/pkgconfig/libpcrecpp.pc
+ %{_libdir}/pkgconfig/libpcreposix.pc
+ %{_mandir}/man1/pcre-config.*
+-%{_mandir}/man3/*.gz
++%{_mandir}/man3/*
+
+ %files devel-static
+ %manifest %{name}.manifest