#
%define name bootmanager
-%define version 5.3
-%define taglevel 1
+%define version 6.0
+%define taglevel 0
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
Group: System Environment/Base
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildArch: noarch
+# in theory this should be a noarch rpm
+# however because of libc-opendir-hack (which apparently targets f12 bootCDs)
+# this is not true anymore and fedora23 won't let us build this as noarch anymore
+# BuildArch: noarch
+
+Requires: tar, sharutils, bzip2
+# see myplc/plc.d/gpg for more details on the gnupg / gpg topic
+%if "%{distro}" == "Fedora" && %{distrorelease} >= 31
+Requires: gnupg1
+%else
+Requires: gnupg
+%endif
-Requires: tar, gnupg, sharutils, bzip2
# need the apache user at install-time
Requires: httpd
/etc/plc.d/bootmanager
%changelog
+* Mon Jan 07 2019 Thierry <Parmentelat> - bootmanager-6.0-0
+- * this is STILL BASED ON PYTHON2, but relies on 2 accessory libraries that are pypcilib and pyplnet
+- for this reason, the relevant files are COPIED at packaging time
+- * new settings lxc_ROOT_SIZE=12G (was 70G) and SWAP_SIZE=4G (was 1G)
+- and lxc_TOTAL_MINIMUM_DISK_SIZE=50 (was 120)
+- * invoke conf_files.py as a plain script (i.e. expects a shebang) since we ideally can still
+- use this code against a python2 nodemanager
+- * skip nodeupdate step, will be redone later anyway
+- * rely on NetworkManager utilities when ifconfig can't be found
+- * tear down patch for very old 2.6.12 kernels
+- * a little closer to python3 though
+
+* Sun Jan 10 2016 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - bootmanager-5.3-4
+- runlevelagent was not able to reach myplc because of
+- server verification that is now implicit in python 2.7.9
+
+* Tue Dec 08 2015 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - bootmanager-5.3-3
+- patch for f23 as of dec. 2015 where kernel and initrd show up in
+- a new location under /boot
+- plus bugfix with format and single { and } for awk args
+
+* Fri Nov 13 2015 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - bootmanager-5.3-2
+- not a noarch package anymore (indeed it does come with binaries)
+- fix ssl connection for runlevelagent for recent pythons
+- for fedora23, ignore if rsa1 key generation fails
+
* Fri Jun 26 2015 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - bootmanager-5.3-1
- Use TLSv1 to connect to myplc, instead of SSLv3 that is known to be broken
- Can implement 'upgrade' in addition to 'reinstall' boot state