[opensuse-packaging] proposal: comment upgrade protection in spec files
Hallo. I want to propose commenting of upgrade protection commands and provides/obsoletes in the spec file and related scripts. If it is not done, it is very complicated to be able to check, whether upgrade protection is still needed or it is completely obsolete. Yes, we may keep these lines in the spec files forever, but it taints our spec files, makes them less readable and sometimes even slower. Proposed: # Name was used in <=OpenSUSE10 and <=SLES10: Provide: oldfoo Obsoletes: oldfoo Quick look at our spec files shows that we have lots of protections for S.u.S.E. Linux 6.2 (1999) -> OpenSUSE 10.3 (2007), but I guess that is is more obsolete than sufficient. Few examples: bibview: Provides: bibvw15 * Fri Jul 14 2000 - werner@suse.de - fix bug in annotation handling with update to bibview 2.2 dante: # SuSE series: sec Provides: dantesrv Obsoletes: dantesrv * Mon Dec 04 2000 - mge@suse.de - update to 1.1.6, new /etc/init.d handling, long RPM names dx: Provides: dxdata Obsoletes: dxdata * Wed Nov 29 2000 - smid@suse.cz - subpackages renamed: dxdoc => dx-doc; dxdata => dx-data ... -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Stanislav Brabec wrote:
I want to propose commenting of upgrade protection commands and provides/obsoletes in the spec file and related scripts.
If it is not done, it is very complicated to be able to check, whether upgrade protection is still needed or it is completely obsolete.
Yes, we may keep these lines in the spec files forever, but it taints our spec files, makes them less readable and sometimes even slower.
Added to http://en.opensuse.org/Upgrade_Dependencies#How_to_do_distribution_upgrades -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (1)
-
Stanislav Brabec