[yast-devel] Removed VERSION files, install latest rubygem-yast-rake and yast2-devtools
![](https://seccdn.libravatar.org/avatar/654c5b4f0d657240edff9440a901839b.jpg?s=120&d=mm&r=g)
Hi, we stored the package version at two places, in VERSION and spec files, and this lead to inconsistencies because people usually forgot to update the *.spec files after changing the VERSION file. I have modified the yast rake tasks and devtools to read the version directly from *.spec. And I also removed VERSION files from all Git repositories[1]. (I did it directly in master after approving one commit, opening 100+ the same pull requests would be useless...) You need to install rubygem-yast-rake-0.1.5 and yast2-devtools-3.1.10 packages (or newer) from YaST:Head to make it work properly. Since now, if you want to update the package version edit the spec files directly or simply run 'rake version:bump'. If you find any problem related to missing VERSION just let me know. Enjoy! [1] Here is the list of affected repositories (obsoleted repos or repos not containing VERSION were skipped): add-on add-on-creator apparmor audit-laf autoinstallation bootloader ca-management cluster control-center control-center-gnome country crowbar dbus-server dhcp-server dns-server drbd fcoe-client firewall firstboot ftp-server geo-cluster hardware-detection http-server inetd installation instserver iplb iscsi-client iscsi-lio-server iscsi-server isns kdump kerberos-client kerberos-server ldap ldap-client ldap-server live-installer lxc mail mail-server metapackage multipath network nfs-client nfs-server nis-client nis-server ntp-client online-update online-update-configuration openvas-security-scanner packager pam perl-bindings pkg-bindings pos-installation printer product-creator proxy python-bindings rdp rear reipl ruby-bindings samba-client samba-server scanner security services-manager schema slepos-image-builder slepos-system-manager slide-show slp slp-server snapper sound squid storage sysconfig s390 testsuite tftp-server theme transfer tune update users vm wagon xml x11 yast2 ycp-ui-bindings -- Ladislav Slezák Appliance department / YaST Developer Lihovarská 1060/12 190 00 Prague 9 / Czech Republic tel: +420 284 028 960 lslezak@suse.com SUSE -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/654c5b4f0d657240edff9440a901839b.jpg?s=120&d=mm&r=g)
Dne 11.12.2013 13:06, Ladislav Slezak napsal(a): [...]
You need to install rubygem-yast-rake-0.1.5 and yast2-devtools-3.1.10 packages (or newer) from YaST:Head to make it work properly.
Please, update to yast2-devtools-3.1.11, we found a problem regarding to parsing spec files caused by rpm subpackages. (see https://github.com/yast/yast-devtools/pull/44 for details) -- Ladislav Slezák Appliance department / YaST Developer Lihovarská 1060/12 190 00 Prague 9 / Czech Republic tel: +420 284 028 960 lslezak@suse.com SUSE -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/654c5b4f0d657240edff9440a901839b.jpg?s=120&d=mm&r=g)
Dne 11.12.2013 16:43, Ladislav Slezak napsal(a):
Dne 11.12.2013 13:06, Ladislav Slezak napsal(a): [...]
You need to install rubygem-yast-rake-0.1.5 and yast2-devtools-3.1.10 packages (or newer) from YaST:Head to make it work properly.
Please, update to yast2-devtools-3.1.11, we found a problem regarding to parsing spec files caused by rpm subpackages.
Ooops, one more fix [1] needed, update to yast2-devtools-3.1.12. Now it's hopefully fixed completely... [1] https://github.com/yast/yast-devtools/pull/45 -- Ladislav Slezák Appliance department / YaST Developer Lihovarská 1060/12 190 00 Prague 9 / Czech Republic tel: +420 284 028 960 lslezak@suse.com SUSE -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (1)
-
Ladislav Slezak