Commit c03df224568eeb21879cd88f15c2a1caa2cb443f

Authored by Perry Werneck
1 parent 31f78750
Exists in master and in 1 other branch develop

Updating package to follow naming guidelines.

Showing 1 changed file with 8 additions and 14 deletions   Show diff stats
rpm/libv3270.spec
@@ -40,7 +40,7 @@ Summary: 3270 Virtual Terminal for GTK @@ -40,7 +40,7 @@ Summary: 3270 Virtual Terminal for GTK
40 Name: libv3270-%{_libvrs} 40 Name: libv3270-%{_libvrs}
41 Version: 5.2 41 Version: 5.2
42 Release: 0 42 Release: 0
43 -License: LGPL-3.0 43 +License: LGPL-3.0
44 Source: libv3270-%{version}.tar.xz 44 Source: libv3270-%{version}.tar.xz
45 45
46 Url: https://github.com/PerryWerneck/libv3270.git 46 Url: https://github.com/PerryWerneck/libv3270.git
@@ -48,10 +48,7 @@ Url: https://github.com/PerryWerneck/libv3270.git @@ -48,10 +48,7 @@ Url: https://github.com/PerryWerneck/libv3270.git
48 Group: Development/Libraries/C and C++ 48 Group: Development/Libraries/C and C++
49 BuildRoot: /var/tmp/%{name}-%{version} 49 BuildRoot: /var/tmp/%{name}-%{version}
50 50
51 -Provides: libv3270_%{MAJOR_VERSION}_%{MINOR_VERSION}  
52 -Conflicts: otherproviders(libv3270_%{MAJOR_VERSION}_%{MINOR_VERSION})  
53 -  
54 -BuildRequires: lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION}-devel 51 +BuildRequires: lib3270-devel
55 BuildRequires: autoconf >= 2.61 52 BuildRequires: autoconf >= 2.61
56 BuildRequires: automake 53 BuildRequires: automake
57 BuildRequires: binutils 54 BuildRequires: binutils
@@ -90,18 +87,15 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ @@ -90,18 +87,15 @@ See more details at https://softwarepublico.gov.br/social/pw3270/
90 87
91 #---[ Development ]--------------------------------------------------------------------------------------------------- 88 #---[ Development ]---------------------------------------------------------------------------------------------------
92 89
93 -%package devel 90 +%package -n libv3270-devel
94 91
95 Summary: 3270 Virtual Terminal for GTK development files 92 Summary: 3270 Virtual Terminal for GTK development files
96 Group: Development/Libraries/C and C++ 93 Group: Development/Libraries/C and C++
97 94
98 Requires: %{name} = %{version} 95 Requires: %{name} = %{version}
99 -Requires: lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION}-devel  
100 -  
101 -Provides: libv3270-devel = %{version}  
102 -Conflicts: otherproviders(libv3270-devel) 96 +Requires: lib3270-devel
103 97
104 -%description devel 98 +%description -n libv3270-devel
105 99
106 3270 Virtual Terminal for GTK development files. 100 3270 Virtual Terminal for GTK development files.
107 101
@@ -152,10 +146,10 @@ rm -rf $RPM_BUILD_ROOT @@ -152,10 +146,10 @@ rm -rf $RPM_BUILD_ROOT
152 %defattr(-,root,root) 146 %defattr(-,root,root)
153 %doc AUTHORS LICENSE README.md 147 %doc AUTHORS LICENSE README.md
154 148
155 -%{_libdir}/libv3270.so.5  
156 -%{_libdir}/libv3270.so.5.2 149 +%{_libdir}/libv3270.so.%{MAJOR_VERSION}
  150 +%{_libdir}/libv3270.so.%{MAJOR_VERSION}.%{MINOR_VERSION}
157 151
158 -%files devel 152 +%files -n libv3270-devel
159 %defattr(-,root,root) 153 %defattr(-,root,root)
160 154
161 %{_libdir}/libv3270.so 155 %{_libdir}/libv3270.so