Commit 39a94943abc5f8efd8bef687bd880c98f2a22e25

Authored by Perry Werneck
1 parent 3044cc2d

Updating package to follow naming guidelines.

Showing 1 changed file with 7 additions and 10 deletions   Show diff stats
rpm/lib3270.spec
@@ -98,7 +98,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ @@ -98,7 +98,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
98 98
99 #---[ Development ]--------------------------------------------------------------------------------------------------- 99 #---[ Development ]---------------------------------------------------------------------------------------------------
100 100
101 -%package devel 101 +%package -n lib3270-devel
102 102
103 Summary: TN3270 Access library development files 103 Summary: TN3270 Access library development files
104 Group: Development/Libraries/C and C++ 104 Group: Development/Libraries/C and C++
@@ -106,10 +106,7 @@ Group: Development/Libraries/C and C++ @@ -106,10 +106,7 @@ Group: Development/Libraries/C and C++
106 Requires: %{name} = %{version} 106 Requires: %{name} = %{version}
107 Requires: lib3270++%{_libvrs} = %{version} 107 Requires: lib3270++%{_libvrs} = %{version}
108 108
109 -Provides: lib3270-devel = %{version}  
110 -Conflicts: otherproviders(lib3270-devel)  
111 -  
112 -%description devel 109 +%description -n lib3270-devel
113 110
114 TN3270 access library for C/C++ development files. 111 TN3270 access library for C/C++ development files.
115 112
@@ -142,16 +139,16 @@ rm -rf $RPM_BUILD_ROOT @@ -142,16 +139,16 @@ rm -rf $RPM_BUILD_ROOT
142 139
143 %dir %{_datadir}/pw3270 140 %dir %{_datadir}/pw3270
144 141
145 -%{_libdir}/lib3270.so.5  
146 -%{_libdir}/lib3270.so.5.2 142 +%{_libdir}/lib3270.so.%{MAJOR_VERSION}
  143 +%{_libdir}/lib3270.so.%{MAJOR_VERSION}.%{MINOR_VERSION}
147 144
148 %files -n lib3270++%{_libvrs} 145 %files -n lib3270++%{_libvrs}
149 %defattr(-,root,root) 146 %defattr(-,root,root)
150 147
151 -%{_libdir}/lib3270++.so.5  
152 -%{_libdir}/lib3270++.so.5.2 148 +%{_libdir}/lib3270++.so.%{MAJOR_VERSION}
  149 +%{_libdir}/lib3270++.so.%{MAJOR_VERSION}.%{MINOR_VERSION}
153 150
154 -%files devel 151 +%files -n lib3270-devel
155 %defattr(-,root,root) 152 %defattr(-,root,root)
156 153
157 %{_libdir}/lib3270.so 154 %{_libdir}/lib3270.so