warning: Could not canonicalize hostname: Jolla
[root@Jolla rpmbuild]# pkcon install-local -y /home/nemo/Downloads/hebrewvkbnew-2ar-3lang-0.8-1.armv7hl.rpm Installing files Waiting in queue Waiting for authentication Waiting in queue Starting Resolving dependencies Installing packages Downloading packages Installing packages Fatal error: Installation aborted by user [root@Jolla rpmbuild]#

[root@Jolla rpmbuild]# rpm -qi hebrewvkbnew-2ar-3lang Name : hebrewvkbnew-2ar-3lang Version : 0.7 Release : 1 Architecture: armv7hl Install Date: Sun Apr 13 01:05:53 2014 Group : System/Tools Size : 1708637 License : GPL Signature : (none) Source RPM : hebrewvkbnew-2ar-3lang-0.7-1.src.rpm Build Date : Sat Mar 22 23:21:49 2014 Build Host : localhost.localdomain Relocations : (not relocatable) Packager : Schturman <schturman@hotmail.com> Vendor : Schturman URL : www.dhrider.co.cc Summary : Hebrew vkb Description : Installer of Hebrew vkb with 2 arrows and toggle to switch between He & En & Ru. Name : hebrewvkbnew-2ar-3lang Version : 0.8 Release : 1 Architecture: armv7hl Install Date: Sun Apr 13 01:09:13 2014 Group : System/Tools Size : 1711338 License : GPL Signature : (none) Source RPM : hebrewvkbnew-2ar-3lang-0.8-1.src.rpm Build Date : Sun Apr 13 01:08:04 2014 Build Host : Jolla Relocations : (not relocatable) Packager : Schturman <schturman@hotmail.com> Vendor : Schturman URL : www.dhrider.co.cc Summary : Hebrew vkb Description : Installer of Hebrew vkb with 2 arrows and toggle to switch between He & En & Ru. [root@Jolla rpmbuild]#
[root@Jolla rpmbuild]# pkcon remove -y hebrewvkbnew-2ar-3lang More than one package matches: 1. hebrewvkbnew-2ar-3lang-0.8-1.armv7hl [installed] 2. hebrewvkbnew-2ar-3lang-0.7-1.armv7hl [installed] Please choose the correct package: 1 Removing Waiting in queue Waiting for authentication Waiting in queue Starting Removing packages Resolving dependencies Removing packages Downloading packages Fatal error: Specified path '/var/tmp/TmpDir.s52JJz' is not a directory: dir:///var/tmp/TmpDir.s52JJz


warning: Could not canonicalize hostname: Jolla
Name: hebrewvkbnew-2ar-3lang
Version: 0.8
Release: 1
Summary: Hebrew vkb
Group: System/Tools
Vendor: Schturman
Distribution: SailfisfOS
Packager: Schturman <schturman@hotmail.com>
URL: www.dhrider.co.cc
Conflicts: hebrewvkb-4ar, hebrewvkb-2ar-2lang, hebrewvkb-2ar-3lang, hebrewvkbnew-4ar, hebrewvkbnew-2ar-2lang
License: GPL
%description
Installer of Hebrew vkb with 2 arrows and toggle to switch between He & En & Ru.
%files
/usr/share/fonts/FreeSans.ttf
%defattr(644,root,root,-)
/usr/share/maliit/plugins/com/jolla/custom-he/*
/usr/share/maliit/plugins/com/jolla/layouts/*
%post
fc-cache -f
killall maliit-server
killall jolla-messages
killall jolla-email
killall jolla-notes
killall jolla-clock
%preun
if [ $1 = 1 ]; then
// Do stuff specific to upgrades
echo "It's just upgrade"
killall maliit-server
fi
%postun
if [ $1 = 0 ]; then
// Do stuff specific to uninstalls
rm -rf /usr/share/maliit/plugins/com/jolla/custom-he
killall maliit-server
else
if [ $1 = 1 ]; then
// Do stuff specific to upgrades
echo "It's just upgrade"
killall maliit-server
fi
fi
%changelog
* Wed Jan 25 2014 Builder <builder@...> 0.1
- First build.

%post fc-cache -f killall maliit-server killall jolla-messages killall jolla-email killall jolla-notes killall jolla-clock || : %preun
%post fc-cache -f killall maliit-server killall jolla-messages || : killall jolla-email || : killall jolla-notes || : killall jolla-clock || : %preun





%post
if [ $1 = 1 ]; then
// Do stuff specific for first install
echo "It's first time install"
fc-cache -f
killall maliit-server
killall jolla-messages
killall jolla-email
killall jolla-notes
killall jolla-clock
else
if [ $1 = 2 ]; then
// Do stuff specific to upgrades
killall maliit-server
fi
fi
%postun
if [ $1 = 0 ]; then
// Do stuff specific to uninstalls
rm -rf /usr/share/maliit/plugins/com/jolla/custom-he
killall maliit-server
else
if [ $1 = 1 ]; then
// Do stuff specific to upgrades
echo "It's just upgrade"
fi
fi