Commit 27862b550f49effa309ad9ef6c8d50771e178508
1 parent
8a2ccd72
Exists in
master
and in
1 other branch
Updating OBS windows control files.
Showing
2 changed files
with
2 additions
and
18 deletions
Show diff stats
win/x86_32/mingw32-libipc3270.spec
... | ... | @@ -29,12 +29,6 @@ |
29 | 29 | Name: mingw32-libipc3270 |
30 | 30 | Summary: lib3270/pw3270 IPC client library. |
31 | 31 | Version: 5.2 |
32 | - | |
33 | -%define MAJOR_VERSION %(echo %{version} | cut -d. -f1) | |
34 | -%define MINOR_VERSION %(echo %{version} | cut -d. -f2) | |
35 | -%define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} | |
36 | -%define _product %(i686-w64-mingw32-pkg-config --variable=product_name lib3270) | |
37 | - | |
38 | 32 | Release: 0 |
39 | 33 | License: LGPL-3.0 |
40 | 34 | Source: libipc3270-%{version}.tar.xz |
... | ... | @@ -74,7 +68,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ |
74 | 68 | |
75 | 69 | #---[ Library ]------------------------------------------------------------------------------------------------------- |
76 | 70 | |
77 | -%define product %(pkg-config --variable=product_name lib3270) | |
71 | +%define _product %(i686-w64-mingw32-pkg-config --variable=product_name lib3270) | |
78 | 72 | %define MAJOR_VERSION %(echo %{version} | cut -d. -f1) |
79 | 73 | %define MINOR_VERSION %(echo %{version} | cut -d. -f2) |
80 | 74 | %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} |
... | ... | @@ -140,7 +134,6 @@ rm -rf $RPM_BUILD_ROOT |
140 | 134 | %files -n %{name}-%{_libvrs} |
141 | 135 | %defattr(-,root,root) |
142 | 136 | |
143 | -# https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros | |
144 | 137 | %doc AUTHORS README.md |
145 | 138 | %license LICENSE |
146 | 139 | |
... | ... | @@ -159,7 +152,6 @@ rm -rf $RPM_BUILD_ROOT |
159 | 152 | %{_mingw32_includedir}/lib3270/ipc.h |
160 | 153 | %dir %{_mingw32_includedir}/lib3270/ipc |
161 | 154 | %{_mingw32_includedir}/lib3270/ipc/*.h |
162 | -%{_mingw32_libdir}/*.a | |
163 | 155 | %{_mingw32_libdir}/pkgconfig/*.pc |
164 | 156 | |
165 | 157 | %changelog | ... | ... |
win/x86_64/mingw64-libipc3270.spec
... | ... | @@ -29,12 +29,6 @@ |
29 | 29 | Name: mingw64-libipc3270 |
30 | 30 | Summary: lib3270/pw3270 IPC client library. |
31 | 31 | Version: 5.2 |
32 | - | |
33 | -%define MAJOR_VERSION %(echo %{version} | cut -d. -f1) | |
34 | -%define MINOR_VERSION %(echo %{version} | cut -d. -f2) | |
35 | -%define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} | |
36 | -%define _product %(x86_64-w64-mingw32-pkg-config --variable=product_name lib3270) | |
37 | - | |
38 | 32 | Release: 0 |
39 | 33 | License: LGPL-3.0 |
40 | 34 | Source: libipc3270-%{version}.tar.xz |
... | ... | @@ -74,7 +68,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ |
74 | 68 | |
75 | 69 | #---[ Library ]------------------------------------------------------------------------------------------------------- |
76 | 70 | |
77 | -%define product %(pkg-config --variable=product_name lib3270) | |
71 | +%define _product %(x86_64-w64-mingw32-pkg-config --variable=product_name lib3270) | |
78 | 72 | %define MAJOR_VERSION %(echo %{version} | cut -d. -f1) |
79 | 73 | %define MINOR_VERSION %(echo %{version} | cut -d. -f2) |
80 | 74 | %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} |
... | ... | @@ -140,7 +134,6 @@ rm -rf $RPM_BUILD_ROOT |
140 | 134 | %files -n %{name}-%{_libvrs} |
141 | 135 | %defattr(-,root,root) |
142 | 136 | |
143 | -# https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros | |
144 | 137 | %doc AUTHORS README.md |
145 | 138 | %license LICENSE |
146 | 139 | |
... | ... | @@ -159,7 +152,6 @@ rm -rf $RPM_BUILD_ROOT |
159 | 152 | %{_mingw64_includedir}/lib3270/ipc.h |
160 | 153 | %dir %{_mingw64_includedir}/lib3270/ipc |
161 | 154 | %{_mingw64_includedir}/lib3270/ipc/*.h |
162 | -%{_mingw64_libdir}/*.a | |
163 | 155 | %{_mingw64_libdir}/pkgconfig/*.pc |
164 | 156 | |
165 | 157 | %changelog | ... | ... |