--- ./Makefile.orig	2014-06-02 11:02:44.000000000 +0600
+++ ./Makefile	2014-06-02 12:16:58.000000000 +0600
@@ -22,16 +22,16 @@
 	for d in $(SUBDIRS); do make PYTHON=$(PYTHON) -C $$d; [ $$? = 0 ] || exit 1 ; done
 
 install:
-	mkdir -p $(DESTDIR)/usr/share/yum-cli
+	mkdir -p $(DESTDIR)/opt/freeware/share/yum-cli
 	for p in $(PYFILES) ; do \
-		install -m 644 $$p $(DESTDIR)/usr/share/yum-cli/$$p; \
+		/opt/freeware/bin/install -m 644 $$p $(DESTDIR)/opt/freeware/share/yum-cli/$$p; \
 	done
-	mv $(DESTDIR)/usr/share/yum-cli/yum-updatesd.py $(DESTDIR)/usr/share/yum-cli/yumupd.py
-	$(PYTHON) -c "import compileall; compileall.compile_dir('$(DESTDIR)/usr/share/yum-cli', 1, '$(PYDIR)', 1)"
+	mv $(DESTDIR)/opt/freeware/share/yum-cli/yum-updatesd.py $(DESTDIR)/opt/freeware/share/yum-cli/yumupd.py
+	$(PYTHON) -c "import compileall; compileall.compile_dir('$(DESTDIR)/opt/freeware/share/yum-cli', 1, '$(PYDIR)', 1)"
 
-	mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/sbin
-	install -m 755 bin/yum.py $(DESTDIR)/usr/bin/yum
-	install -m 755 bin/yum-updatesd.py $(DESTDIR)/usr/sbin/yum-updatesd
+	mkdir -p $(DESTDIR)/opt/freeware/bin $(DESTDIR)/opt/freeware/sbin
+	/opt/freeware/bin/install -m 755 bin/yum.py $(DESTDIR)/opt/freeware/bin/yum
+	/opt/freeware/bin/install -m 755 bin/yum-updatesd.py $(DESTDIR)/opt/freeware/sbin/yum-updatesd
 
 	mkdir -p $(DESTDIR)/var/cache/yum
 	mkdir -p $(DESTDIR)/var/lib/yum
--- ./docs/Makefile.orig	2014-06-02 11:02:44.000000000 +0600
+++ ./docs/Makefile	2014-06-02 12:17:11.000000000 +0600
@@ -6,10 +6,10 @@
 	rm -fr epydoc
 
 install:
-	mkdir -p $(DESTDIR)/usr/share/man/man5
-	mkdir -p $(DESTDIR)/usr/share/man/man8
-	install -m 644 yum.8 $(DESTDIR)/usr/share/man/man8/yum.8
-	install -m 644 yum-shell.8 $(DESTDIR)/usr/share/man/man8/yum-shell.8
-	install -m 644 yum.conf.5 $(DESTDIR)/usr/share/man/man5/yum.conf.5
-	install -m 644 yum-updatesd.8 $(DESTDIR)/usr/share/man/man8/yum-updatesd.8
-	install -m 644 yum-updatesd.conf.5 $(DESTDIR)/usr/share/man/man5/yum-updatesd.conf.5
+	mkdir -p $(DESTDIR)/opt/freeware/share/man/man5
+	mkdir -p $(DESTDIR)/opt/freeware/share/man/man8
+	/opt/freeware/bin/install -m 644 yum.8 $(DESTDIR)/opt/freeware/share/man/man8/yum.8
+	/opt/freeware/bin/install -m 644 yum-shell.8 $(DESTDIR)/opt/freeware/share/man/man8/yum-shell.8
+	/opt/freeware/bin/install -m 644 yum.conf.5 $(DESTDIR)/opt/freeware/share/man/man5/yum.conf.5
+	/opt/freeware/bin/install -m 644 yum-updatesd.8 $(DESTDIR)/opt/freeware/share/man/man8/yum-updatesd.8
+	/opt/freeware/bin/install -m 644 yum-updatesd.conf.5 $(DESTDIR)/opt/freeware/share/man/man5/yum-updatesd.conf.5
--- ./etc/Makefile.orig	2014-06-02 11:02:44.000000000 +0600
+++ ./etc/Makefile	2014-06-02 12:25:03.000000000 +0600
@@ -1,4 +1,4 @@
-YUMETC=$(DESTDIR)/etc/yum
+YUMETC=$(DESTDIR)/opt/freeware/etc/yum
 
 all:
 	echo "Nothing to do"
@@ -7,32 +7,32 @@
 	rm -f *.pyc *.pyo *~
 
 install:
-	mkdir -p $(DESTDIR)/etc/yum/
-	mkdir -p $(DESTDIR)/etc/yum/protected.d
-	mkdir -p $(DESTDIR)/etc/yum/repos.d
-	mkdir -p $(DESTDIR)/etc/yum/vars
-
-	install -m 644 yum.conf $(YUMETC)/yum.conf
-
-	install -m 644 version-groups.conf $(YUMETC)/version-groups.conf
-
-	mkdir -p $(DESTDIR)/etc/logrotate.d
-	install -m 644 yum.logrotate $(DESTDIR)/etc/logrotate.d/yum
-
-	mkdir -p $(DESTDIR)/etc/rc.d/init.d
-	install -m 755 yum-updatesd.init $(DESTDIR)/etc/rc.d/init.d/yum-updatesd
-
-	mkdir -p $(DESTDIR)/etc/dbus-1/system.d/
-	install -m 755 yum-updatesd-dbus.conf $(DESTDIR)/etc/dbus-1/system.d/yum-updatesd.conf
-
-	install -m 755 yum-updatesd.conf $(DESTDIR)/etc/yum/yum-updatesd.conf
-
-	mkdir -p $(DESTDIR)/etc/bash_completion.d
-	install -m 644 yum.bash $(DESTDIR)/etc/bash_completion.d
-	mkdir -p $(DESTDIR)/etc/cron.daily
-	mkdir -p $(DESTDIR)/etc/sysconfig/
-	install -D -m 755 0yum.cron $(DESTDIR)/etc/cron.daily/0yum.cron
-	install -D -m 755 yum-cron $(DESTDIR)/etc/rc.d/init.d/yum-cron
-	install -D -m 644 yum-daily.yum $(YUMETC)/yum-daily.yum
-	install -D -m 644 yum-weekly.yum $(YUMETC)/yum-weekly.yum
-	install -D -m 644 yum-cron.sysconf $(DESTDIR)/etc/sysconfig/yum-cron
+	mkdir -p $(DESTDIR)/opt/freeware/etc/yum/
+	mkdir -p $(DESTDIR)/opt/freeware/etc/yum/protected.d
+	mkdir -p $(DESTDIR)/opt/freeware/etc/yum/repos.d
+	mkdir -p $(DESTDIR)/opt/freeware/etc/yum/vars
+
+	/opt/freeware/bin/install -m 644 yum.conf $(YUMETC)/yum.conf
+
+	/opt/freeware/bin/install -m 644 version-groups.conf $(YUMETC)/version-groups.conf
+
+	mkdir -p $(DESTDIR)/opt/freeware/etc/logrotate.d
+	/opt/freeware/bin/install -m 644 yum.logrotate $(DESTDIR)/opt/freeware/etc/logrotate.d/yum
+
+	mkdir -p $(DESTDIR)/opt/freeware/etc/rc.d/init.d
+	install -m 755 yum-updatesd.init $(DESTDIR)/opt/freeware/etc/rc.d/init.d/yum-updatesd
+
+	mkdir -p $(DESTDIR)/opt/freeware/etc/dbus-1/system.d/
+	/opt/freeware/bin/install -m 755 yum-updatesd-dbus.conf $(DESTDIR)/opt/freeware/etc/dbus-1/system.d/yum-updatesd.conf
+
+	/opt/freeware/bin/install -m 755 yum-updatesd.conf $(DESTDIR)/opt/freeware/etc/yum/yum-updatesd.conf
+
+	mkdir -p $(DESTDIR)/opt/freeware/etc/bash_completion.d
+	/opt/freeware/bin/install -m 644 yum.bash $(DESTDIR)/opt/freeware/etc/bash_completion.d
+	mkdir -p $(DESTDIR)/opt/freeware/etc/cron.daily
+	mkdir -p $(DESTDIR)/opt/freeware/etc/sysconfig/
+	/opt/freeware/bin/install -D -m 755 0yum.cron $(DESTDIR)/opt/freeware/etc/cron.daily/0yum.cron
+	/opt/freeware/bin/install -D -m 755 yum-cron $(DESTDIR)/opt/freeware/etc/rc.d/init.d/yum-cron
+	/opt/freeware/bin/install -D -m 644 yum-daily.yum $(YUMETC)/yum-daily.yum
+	/opt/freeware/bin/install -D -m 644 yum-weekly.yum $(YUMETC)/yum-weekly.yum
+	/opt/freeware/bin/install -D -m 644 yum-cron.sysconf $(DESTDIR)/opt/freeware/etc/sysconfig/yum-cron
--- ./po/Makefile.orig	2014-06-02 12:27:23.000000000 +0600
+++ ./po/Makefile	2014-06-02 12:17:33.000000000 +0600
@@ -1,7 +1,7 @@
-INSTALL= /usr/bin/install -c
+INSTALL= /opt/freeware/bin/install -c
 INSTALL_PROGRAM= ${INSTALL}
 INSTALL_DATA= ${INSTALL} -m 644
-INSTALLNLSDIR=$(DESTDIR)/usr/share/locale
+INSTALLNLSDIR=$(DESTDIR)/opt/freeware/share/locale
 top_srcdir = "."
 
 
--- ./rpmUtils/Makefile.orig	2014-06-02 11:02:45.000000000 +0600
+++ ./rpmUtils/Makefile	2014-06-02 12:17:44.000000000 +0600
@@ -15,6 +15,6 @@
 install:
 	mkdir -p $(DESTDIR)/$(PKGDIR)
 	for p in $(PYFILES) ; do \
-		install -m 644 $$p $(DESTDIR)/$(PKGDIR)/$$p; \
+		/opt/freeware/bin/install -m 644 $$p $(DESTDIR)/$(PKGDIR)/$$p; \
 	done
 	$(PYTHON) -c "import compileall; compileall.compile_dir('$(DESTDIR)/$(PKGDIR)', 1, '$(PKGDIR)', 1)"
--- ./yum/Makefile.orig	2014-06-02 11:02:45.000000000 +0600
+++ ./yum/Makefile	2014-06-02 12:18:01.000000000 +0600
@@ -15,6 +15,6 @@
 install:
 	mkdir -p $(DESTDIR)/$(PKGDIR)
 	for p in $(PYFILES) ; do \
-		install -m 644 $$p $(DESTDIR)/$(PKGDIR)/$$p; \
+		/opt/freeware/bin/install -m 644 $$p $(DESTDIR)/$(PKGDIR)/$$p; \
 	done
 	$(PYTHON) -c "import compileall; compileall.compile_dir('$(DESTDIR)/$(PKGDIR)', 1, '$(PKGDIR)', 1)"
