Browse code

remove obsoletes in tcl spec

Change-Id: Icda69d59ca3f448245df0e3ae961caa80ba59ee6
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3922
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: gerrit-photon <photon-checkins@vmware.com>

Priyesh Padmavilasom authored on 2017/10/02 08:20:24
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@ Summary:        Tool Command Language - the language and library.
2 2
 Name:           tcl
3 3
 Version:        8.6.6
4 4
 %define majorver 8.6
5
-Release:        3%{?dist}
5
+Release:        4%{?dist}
6 6
 URL:            http://tcl.sourceforge.net/
7 7
 License:        LGPLv2+
8 8
 Group:          System Environment/Libraries
... ...
@@ -12,7 +12,6 @@ Source0:        http://downloads.sourceforge.net/sourceforge/tcl/tcl-core%{versi
12 12
 %define sha1    tcl-core=6a1bc424faeef44fed5e44d32198c7ff4ff05658
13 13
 
14 14
 BuildRequires:  cmake
15
-Obsoletes:      tcl < 8.6.6-3
16 15
 
17 16
 %description
18 17
 Tcl provides a powerful platform for creating integration applications that
... ...
@@ -26,7 +25,6 @@ powerful command languages for applications.
26 26
 Summary: Headers and development libraries for tcl
27 27
 Group: Development/Libraries
28 28
 Requires: %{name} = %{version}-%{release}
29
-Obsoletes:      tcl-devel < 8.6.6-3
30 29
 
31 30
 %description devel
32 31
 Headers and development libraries for tcl
... ...
@@ -100,6 +98,9 @@ make test
100 100
 
101 101
 
102 102
 %changelog
103
+*   Sun Oct 01 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 8.6.6-4
104
+-   Remove obsoletes. Versions before 8.6.6-3 doesnt do requires properly
105
+    for devel so need special case for those versions in upgrades.
103 106
 *   Wed Sep 06 2017 Danut Moraru <dmoraru@vmware.com> 8.6.6-3
104 107
 -   Release 3 obsoletes 1 and 2, as upgrade from rel 1 to rel 2 may bring in conflict files in tcl-devel rel 1 that have 
105 108
     been moved to tcl rel 2.