Commit 77e82940ecbd36718593eff1142d5c6324b08fe0
1 parent
97036b41
Exists in
master
and in
5 other branches
Deixando o rpmlint um pouco mais feliz
Showing
3 changed files
with
24 additions
and
19 deletions
Show diff stats
Makefile.in
... | ... | @@ -153,7 +153,6 @@ install-sdk: |
153 | 153 | @$(INSTALL_DATA) src/include/lib3270.h $(DESTDIR)/$(includedir) |
154 | 154 | @$(INSTALL_DATA) src/include/lib3270/config.h $(DESTDIR)/$(includedir)/lib3270 |
155 | 155 | @$(INSTALL_DATA) src/include/lib3270/selection.h $(DESTDIR)/$(includedir)/lib3270 |
156 | - @$(INSTALL_DATA) src/include/pw3270.h $(DESTDIR)/$(includedir)/$(PACKAGE_NAME).h | |
157 | 156 | |
158 | 157 | clean: |
159 | 158 | @rm -fr .obj | ... | ... |
configure.ac
... | ... | @@ -196,16 +196,11 @@ fi |
196 | 196 | #--[ Options ]------------------------------------------------------------------------------------------------------------------------------------------------ |
197 | 197 | |
198 | 198 | AC_ARG_ENABLE([pic], |
199 | - [AS_HELP_STRING([--enable-pic], [enable support for PIC libraries (required to compile PW3270 on some systems)])], | |
199 | + [AS_HELP_STRING([--disable-pic], [disable support for PIC libraries (required to compile PW3270 on some systems)])], | |
200 | 200 | [ |
201 | 201 | app_cv_pic="$enableval" |
202 | 202 | ],[ |
203 | - | |
204 | - if test "$host_cpu" = "x86_64"; then | |
205 | - app_cv_pic="yes" | |
206 | - else | |
207 | - app_cv_pic="no" | |
208 | - fi | |
203 | + app_cv_pic="yes" | |
209 | 204 | ]) |
210 | 205 | |
211 | 206 | if test "$app_cv_pic" == "yes"; then | ... | ... |
pw3270.spec.in
... | ... | @@ -70,22 +70,32 @@ any IBM host that supports 3270-style connections over TELNET. |
70 | 70 | |
71 | 71 | Revision @PACKAGE_REVISION@ from @PACKAGE_SOURCE@ |
72 | 72 | |
73 | -%package lib | |
73 | +%package devel | |
74 | +Summary: Files required for development of %{name} plugins | |
75 | +Group: Development/Libraries/C and C++ | |
76 | +Requires: %{name} = @PACKAGE_VERSION@ | |
77 | + | |
78 | +%description devel | |
79 | +Development files for %{name} | |
80 | + | |
81 | +Revision @PACKAGE_REVISION@ from @PACKAGE_SOURCE@ | |
82 | + | |
83 | +%package -n lib3270 | |
74 | 84 | Summary: 3270 Communication library for %{name} |
75 | -Group: Development/Libraries | |
76 | -Requires: openssl %{name}-lib | |
85 | +Group: Development/Libraries/C and C++ | |
86 | +Requires: openssl | |
77 | 87 | |
78 | -%description lib | |
88 | +%description -n lib3270 | |
79 | 89 | tn3270 protocol library for %{name} |
80 | 90 | |
81 | 91 | Revision @PACKAGE_REVISION@ from @PACKAGE_SOURCE@ |
82 | 92 | |
83 | -%package devel | |
93 | +%package -n lib3270-devel | |
84 | 94 | Summary: Devel for 3270 Communication library for %{name} |
85 | -Group: Development/Libraries | |
86 | -Requires: %{name}-lib = @PACKAGE_VERSION@ | |
95 | +Group: Development/Libraries/C and C++ | |
96 | +Requires: lib3270 = @PACKAGE_VERSION@ | |
87 | 97 | |
88 | -%description devel | |
98 | +%description -n lib3270-devel | |
89 | 99 | devel for tn3270 protocol library for %{name} |
90 | 100 | |
91 | 101 | Revision @PACKAGE_REVISION@ from @PACKAGE_SOURCE@ |
... | ... | @@ -127,13 +137,14 @@ rm -rf $RPM_BUILD_ROOT |
127 | 137 | %{_datadir}/@PACKAGE_NAME@/@PACKAGE_NAME@.png |
128 | 138 | %{_datadir}/@PACKAGE_NAME@/@PACKAGE_NAME@-logo.png |
129 | 139 | |
130 | -%files lib | |
140 | +%files -n lib3270 | |
131 | 141 | %defattr(-,root,root) |
132 | 142 | %{_libdir}/lib3270.so |
133 | 143 | |
134 | -%files devel | |
144 | +%files -n lib3270-devel | |
135 | 145 | %defattr(-,root,root) |
136 | -%{_includedir} | |
146 | +%{_includedir}/lib3270.h | |
147 | +%{_includedir}/lib3270 | |
137 | 148 | %{_datadir}/@PACKAGE_NAME@/ui/99debug.xml |
138 | 149 | |
139 | 150 | #---[ Scripts ]------------------------------------------------------------------------------------------------------- | ... | ... |