Browse code

rpm: cleanup macros file

- Remove brp-strip-debug-symbols script, it's done by brp-strip
- Improvise brp-strip, more details in patch commit message

tree-wide:
- Remove all .la files from getting packaged

libgd:
- upgrade to v2.3.3

Change-Id: I1182c207e9c7fef6fc06c11497146f742b925719
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/17180
Reviewed-by: Vamsi Krishna Brahmajosyula <vbrahmajosyula@vmware.com>

Shreenidhi Shedi authored on 2022/08/07 03:27:38
Showing 69 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Mobile broadband modem manager
2 2
 Name:           ModemManager
3 3
 Version:        1.18.10
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 URL:            https://www.freedesktop.org
6 6
 License:        GPLv2
7 7
 Group:          Applications/System
... ...
@@ -57,13 +57,16 @@ It contains the libraries and header files for %{name}
57 57
 %make_build
58 58
 
59 59
 %install
60
-make DESTDIR=%{buildroot} UDEV_BASE_DIR=%{_libdir}/udev install %{?_smp_mflags}
60
+%make_install UDEV_BASE_DIR=%{_libdir}/udev %{?_smp_mflags}
61 61
 
62 62
 %if 0%{?with_check}
63 63
 %check
64 64
 make %{?_smp_mflags} check
65 65
 %endif
66 66
 
67
+%clean
68
+rm -rf %{buildroot}
69
+
67 70
 %post -p /sbin/ldconfig
68 71
 %postun -p /sbin/ldconfig
69 72
 
... ...
@@ -73,7 +76,7 @@ make %{?_smp_mflags} check
73 73
 %{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager1.conf
74 74
 %{_bindir}/mmcli
75 75
 %{_sbindir}/%{name}
76
-%{_libdir}/libmm-glib.so*
76
+%{_libdir}/*.so.*
77 77
 %{_libdir}/girepository-1.0/%{name}-1.0.typelib
78 78
 %{_libdir}/%{name}/*
79 79
 %{_unitdir}/%{name}.service
... ...
@@ -88,15 +91,17 @@ make %{?_smp_mflags} check
88 88
 %exclude %dir %{_libdir}/debug
89 89
 
90 90
 %files devel
91
+%{_libdir}/*.so
91 92
 %{_includedir}/%{name}/*
92 93
 %{_includedir}/libmm-glib/*
93 94
 %{_libdir}/pkgconfig/%{name}.pc
94 95
 %{_libdir}/pkgconfig/mm-glib.pc
95
-%{_libdir}/libmm-glib.la
96 96
 %{_datadir}/%{name}/fcc-unlock.available.d/*
97 97
 %{_datadir}/%{name}/connection.available.d/*
98 98
 
99 99
 %changelog
100
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.18.10-2
101
+- Remove .la files
100 102
 * Mon Jul 11 2022 Gerrit Photon <photon-checkins@vmware.com> 1.18.10-1
101 103
 - Automatic Version Bump
102 104
 * Wed Jun 22 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.18.6-3
... ...
@@ -1,6 +1,6 @@
1 1
 Name:           apparmor
2 2
 Version:        3.0.4
3
-Release:        2%{?dist}
3
+Release:        3%{?dist}
4 4
 Summary:        AppArmor is an effective and easy-to-use Linux application security system.
5 5
 License:        GNU LGPL v2.1
6 6
 URL:            https://launchpad.net/apparmor
... ...
@@ -39,7 +39,12 @@ BuildRequires:  Linux-PAM-devel
39 39
 BuildRequires:  dejagnu
40 40
 BuildRequires:  openssl-devel
41 41
 BuildRequires:  curl-devel
42
-BuildRequires:  python3-setuptools, python3-xml
42
+BuildRequires:  python3-setuptools
43
+BuildRequires:  python3-xml
44
+
45
+%if 0%{?with_check}
46
+BuildRequires: python3-pip
47
+%endif
43 48
 
44 49
 %description
45 50
 AppArmor is a file and network mandatory access control
... ...
@@ -75,11 +80,11 @@ confinement policies when running virtual hosts in the webserver
75 75
 by using the changehat abilities exposed through libapparmor.
76 76
 
77 77
 %package        profiles
78
-Summary:        AppArmor profiles that are loaded into the apparmor kernel module
78
+Summary:        AppArmor profiles that are loaded into the %{name} kernel module
79 79
 License:        GNU LGPL v2.1
80 80
 Group:          Productivity/Security
81
-Requires:       apparmor-parser = %{version}-%{release}
82
-Requires:       apparmor-abstractions = %{version}-%{release}
81
+Requires:       %{name}-parser = %{version}-%{release}
82
+Requires:       %{name}-abstractions = %{version}-%{release}
83 83
 
84 84
 %description    profiles
85 85
 This package contains the basic AppArmor profiles.
... ...
@@ -101,11 +106,11 @@ SubDomain.
101 101
 Summary:        AppArmor abstractions and directory structure
102 102
 License:        GNU LGPL v2.1
103 103
 Group:          Productivity/Security
104
-Requires:       apparmor-parser = %{version}-%{release}
104
+Requires:       %{name}-parser = %{version}-%{release}
105 105
 
106 106
 %description    abstractions
107 107
 AppArmor abstractions (common parts used in various profiles) and
108
-the /etc/apparmor.d/ directory structure.
108
+the /etc/%{name}.d/ directory structure.
109 109
 
110 110
 %package -n     pam_apparmor
111 111
 Summary:        PAM module for AppArmor change_hat
... ...
@@ -126,30 +131,30 @@ License:        GNU LGPL v2.1
126 126
 Group:          Productivity/Security
127 127
 Requires:       libapparmor = %{version}-%{release}
128 128
 Requires:       audit
129
-Requires:       apparmor-abstractions = %{version}-%{release}
129
+Requires:       %{name}-abstractions = %{version}-%{release}
130 130
 
131 131
 %description    utils
132 132
 This package contains programs to help create and manage AppArmor
133 133
 profiles.
134 134
 
135
-%package -n     python3-apparmor
135
+%package -n     python3-%{name}
136 136
 Summary:        Python 3 interface for libapparmor functions
137 137
 License:        GNU LGPL v2.1
138 138
 Group:          Development/Libraries/Python
139 139
 Requires:       libapparmor = %{version}-%{release}
140 140
 Requires:       python3
141 141
 
142
-%description -n python3-apparmor
142
+%description -n python3-%{name}
143 143
 This package provides the python3 interface to AppArmor. It is used for python
144 144
 applications interfacing with AppArmor.
145 145
 
146
-%package -n     perl-apparmor
146
+%package -n     perl-%{name}
147 147
 Summary:        AppArmor module for perl.
148 148
 License:        GNU LGPL v2.1
149 149
 Group:          Development/Libraries/Perl
150 150
 Requires:       libapparmor = %{version}-%{release}
151 151
 
152
-%description -n perl-apparmor
152
+%description -n perl-%{name}
153 153
 This package contains the AppArmor module for perl.
154 154
 
155 155
 %prep
... ...
@@ -158,71 +163,88 @@ This package contains the AppArmor module for perl.
158 158
 %build
159 159
 #Building libapparmor
160 160
 cd ./libraries/libapparmor
161
-export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/"
161
+export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:%{_libdir}"
162 162
 /sbin/ldconfig
163 163
 sh ./autogen.sh
164
+
164 165
 %configure \
165
- --with-perl \
166
- --with-python
167
-make %{?_smp_mflags}
166
+    --with-perl \
167
+    --with-python
168
+
169
+%make_build
170
+
168 171
 #Building Binutils
169 172
 cd ../../binutils/
170
-make %{?_smp_mflags}
173
+%make_build
174
+
171 175
 #Building parser
172 176
 cd ../parser
173
-export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/"
174
-export LIBRARY_PATH="$LIBRARY_PATH:/usr/lib"
177
+export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:%{_libdir}"
178
+export LIBRARY_PATH="$LIBRARY_PATH:%{_libdir}"
175 179
 echo $LD_LIBRARY_PATH
176 180
 echo $LIBRARY_PATH
177
-make %{?_smp_mflags}
181
+%make_build
182
+
178 183
 #Building Utilities
179 184
 cd ../utils
180
-make %{?_smp_mflags}
185
+%make_build
186
+
181 187
 #Building Apache mod_apparmor
182 188
 cd ../changehat/mod_apparmor
183
-make %{?_smp_mflags}
189
+%make_build
190
+
184 191
 #Building PAM AppArmor
185 192
 cd ../pam_apparmor
186
-make %{?_smp_mflags}
193
+%make_build
194
+
187 195
 #Building Profiles
188 196
 cd ../../profiles
189
-make %{?_smp_mflags}
197
+%make_build
190 198
 
191 199
 %check
192
-easy_install_3=$(ls /usr/bin |grep easy_install |grep 3)
193
-$easy_install_3 pyflakes
194
-export PYTHONPATH=/usr/lib/python3.9/site-packages
195
-export PYTHON=/usr/bin/python3
196
-export PYTHON_VERSION=3.9
200
+pip3 install pyflakes
201
+export PYTHONPATH=%{python3_sitelib}
202
+export PYTHON=%{python3}
203
+export PYTHON_VERSION=%{python3_version}
197 204
 export PYTHON_VERSIONS=python3
198
-export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/"
205
+export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:%{_libdir}"
206
+
199 207
 cd ./libraries/libapparmor
200 208
 make check %{?_smp_mflags}
209
+
201 210
 cd ../../binutils/
202 211
 make check %{?_smp_mflags}
212
+
203 213
 cd ../utils
204 214
 make check %{?_smp_mflags}
205 215
 
206 216
 %install
207
-export PYTHONPATH=/usr/lib/python3.9/site-packages
208
-export PYTHON=/usr/bin/python3
209
-export PYTHON_VERSION=3.9
217
+export PYTHONPATH=%{python3_sitelib}
218
+export PYTHON=%{python3}
219
+export PYTHON_VERSION=%{python3_version}
210 220
 export PYTHON_VERSIONS=python3
211
-export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/"
221
+export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:%{_libdir}"
222
+
212 223
 cd libraries/libapparmor
213
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
224
+%make_install %{?_smp_mflags}
225
+
214 226
 cd ../../binutils/
215
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
227
+%make_install %{?_smp_mflags}
228
+
216 229
 cd ../parser
217
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
230
+%make_install %{?_smp_mflags}
218 231
 cd ../utils
219
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
232
+
233
+%make_install %{?_smp_mflags}
234
+
220 235
 cd ../changehat/mod_apparmor
221
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
236
+%make_install %{?_smp_mflags}
237
+
222 238
 cd ../pam_apparmor
223
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
239
+%make_install %{?_smp_mflags}
240
+
224 241
 cd ../../profiles
225
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
242
+%make_install %{?_smp_mflags}
226 243
 
227 244
 %files -n libapparmor
228 245
 %defattr(-,root,root)
... ...
@@ -237,7 +259,6 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
237 237
 %files -n libapparmor-devel
238 238
 %defattr(-,root,root)
239 239
 %{_libdir}/libapparmor.a
240
-%{_libdir}/libapparmor.la
241 240
 %{_libdir}/libapparmor.so
242 241
 %{_libdir}/pkgconfig/libapparmor.pc
243 242
 %dir %{_includedir}/aalogparse
... ...
@@ -260,74 +281,74 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
260 260
 
261 261
 %files profiles
262 262
 %defattr(-,root,root,755)
263
-%dir %{_sysconfdir}/apparmor.d/apache2.d
264
-%config(noreplace) %{_sysconfdir}/apparmor.d/apache2.d/phpsysinfo
265
-%config(noreplace) %{_sysconfdir}/apparmor.d/bin.*
266
-%config(noreplace) %{_sysconfdir}/apparmor.d/sbin.*
267
-%config(noreplace) %{_sysconfdir}/apparmor.d/usr.*
268
-%config(noreplace) %{_sysconfdir}/apparmor.d/local/*
269
-%config(noreplace) %{_sysconfdir}/apparmor.d/samba-bgqd
270
-%dir %{_datadir}/apparmor
271
-%{_datadir}/apparmor/extra-profiles/*
263
+%dir %{_sysconfdir}/%{name}.d/apache2.d
264
+%config(noreplace) %{_sysconfdir}/%{name}.d/apache2.d/phpsysinfo
265
+%config(noreplace) %{_sysconfdir}/%{name}.d/bin.*
266
+%config(noreplace) %{_sysconfdir}/%{name}.d/sbin.*
267
+%config(noreplace) %{_sysconfdir}/%{name}.d/usr.*
268
+%config(noreplace) %{_sysconfdir}/%{name}.d/local/*
269
+%config(noreplace) %{_sysconfdir}/%{name}.d/samba-bgqd
270
+%dir %{_datadir}/%{name}
271
+%{_datadir}/%{name}/extra-profiles/*
272 272
 
273 273
 %files parser
274 274
 %defattr(755,root,root,755)
275 275
 /sbin/apparmor_parser
276 276
 /sbin/rcapparmor
277
-/lib/apparmor/rc.apparmor.functions
278
-/lib/apparmor/apparmor.systemd
277
+/lib/%{name}/rc.%{name}.functions
278
+/lib/%{name}/%{name}.systemd
279 279
 %{_bindir}/aa-exec
280 280
 %{_bindir}/aa-enabled
281
-%attr(644,root,root) %{_unitdir}/apparmor.service
282
-%dir %{_sysconfdir}/apparmor
283
-%dir %{_sysconfdir}/apparmor.d
284
-%config(noreplace) %{_sysconfdir}/apparmor/parser.conf
285
-%{_localstatedir}/lib/apparmor
286
-%doc %{_mandir}/man5/apparmor.d.5.gz
287
-%doc %{_mandir}/man5/apparmor.vim.5.gz
288
-%doc %{_mandir}/man7/apparmor.7.gz
281
+%attr(644,root,root) %{_unitdir}/%{name}.service
282
+%dir %{_sysconfdir}/%{name}
283
+%dir %{_sysconfdir}/%{name}.d
284
+%config(noreplace) %{_sysconfdir}/%{name}/parser.conf
285
+%{_localstatedir}/lib/%{name}
286
+%doc %{_mandir}/man5/%{name}.d.5.gz
287
+%doc %{_mandir}/man5/%{name}.vim.5.gz
288
+%doc %{_mandir}/man7/%{name}.7.gz
289 289
 %doc %{_mandir}/man8/apparmor_parser.8.gz
290 290
 %doc %{_mandir}/man1/aa-enabled.1.gz
291 291
 %doc %{_mandir}/man1/aa-exec.1.gz
292 292
 %doc %{_mandir}/man2/aa_stack_profile.2.gz
293 293
 
294 294
 %preun parser
295
-%systemd_preun apparmor.service
295
+%systemd_preun %{name}.service
296 296
 
297 297
 %post parser
298
-%systemd_post apparmor.service
298
+%systemd_post %{name}.service
299 299
 
300 300
 %postun parser
301
-%systemd_postun_with_restart apparmor.service
301
+%systemd_postun_with_restart %{name}.service
302 302
 
303 303
 %files abstractions
304 304
 %defattr(644,root,root,755)
305
-%dir %{_sysconfdir}/apparmor.d/abstractions
306
-%config(noreplace) %{_sysconfdir}/apparmor.d/abstractions/*
307
-%config(noreplace) %{_sysconfdir}/apparmor.d/lsb_release
308
-%config(noreplace) %{_sysconfdir}/apparmor.d/nvidia_modprobe
309
-%dir %{_sysconfdir}/apparmor.d/disable
310
-%dir %{_sysconfdir}/apparmor.d/local
311
-%dir %{_sysconfdir}/apparmor.d/tunables
312
-%dir %{_sysconfdir}/apparmor.d/abi
313
-%config(noreplace) %{_sysconfdir}/apparmor.d/php-fpm
314
-%config(noreplace) %{_sysconfdir}/apparmor.d/tunables/*
315
-%config(noreplace) %{_sysconfdir}/apparmor.d/abi/*
305
+%dir %{_sysconfdir}/%{name}.d/abstractions
306
+%config(noreplace) %{_sysconfdir}/%{name}.d/abstractions/*
307
+%config(noreplace) %{_sysconfdir}/%{name}.d/lsb_release
308
+%config(noreplace) %{_sysconfdir}/%{name}.d/nvidia_modprobe
309
+%dir %{_sysconfdir}/%{name}.d/disable
310
+%dir %{_sysconfdir}/%{name}.d/local
311
+%dir %{_sysconfdir}/%{name}.d/tunables
312
+%dir %{_sysconfdir}/%{name}.d/abi
313
+%config(noreplace) %{_sysconfdir}/%{name}.d/php-fpm
314
+%config(noreplace) %{_sysconfdir}/%{name}.d/tunables/*
315
+%config(noreplace) %{_sysconfdir}/%{name}.d/abi/*
316 316
 %exclude %{_datadir}/locale
317 317
 
318 318
 %files utils
319 319
 %defattr(-,root,root)
320
-%config(noreplace) %{_sysconfdir}/apparmor/easyprof.conf
321
-%config(noreplace) %{_sysconfdir}/apparmor/logprof.conf
322
-%config(noreplace) %{_sysconfdir}/apparmor/notify.conf
323
-%config(noreplace) %{_sysconfdir}/apparmor/severity.db
320
+%config(noreplace) %{_sysconfdir}/%{name}/easyprof.conf
321
+%config(noreplace) %{_sysconfdir}/%{name}/logprof.conf
322
+%config(noreplace) %{_sysconfdir}/%{name}/notify.conf
323
+%config(noreplace) %{_sysconfdir}/%{name}/severity.db
324 324
 %{_sbindir}/aa-*
325 325
 %{_sbindir}/apparmor_status
326 326
 %{_bindir}/aa-easyprof
327 327
 %{_bindir}/aa-features-abi
328
-%{_datadir}/apparmor/easyprof/
329
-%dir %{_datadir}/apparmor
330
-%{_datadir}/apparmor/apparmor.vim
328
+%{_datadir}/%{name}/easyprof/
329
+%dir %{_datadir}/%{name}
330
+%{_datadir}/%{name}/%{name}.vim
331 331
 %doc %{_mandir}/man1/aa-features-abi.1.gz
332 332
 %doc %{_mandir}/man2/aa_change_profile.2.gz
333 333
 %doc %{_mandir}/man5/logprof.conf.5.gz
... ...
@@ -339,17 +360,19 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
339 339
 %defattr(-,root,root,755)
340 340
 /lib/security/pam_apparmor.so
341 341
 
342
-%files -n python3-apparmor
342
+%files -n python3-%{name}
343 343
 %defattr(-,root,root)
344 344
 %{python3_sitelib}/*
345 345
 
346
-%files -n perl-apparmor
346
+%files -n perl-%{name}
347 347
 %defattr(-,root,root)
348 348
 %{perl_vendorarch}/auto/LibAppArmor/
349 349
 %{perl_vendorarch}/LibAppArmor.pm
350 350
 %exclude %{perl_archlib}/perllocal.pod
351 351
 
352 352
 %changelog
353
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 3.0.4-3
354
+- Remove .la files
353 355
 * Mon Jun 20 2022 Nitesh Kumar <kunitesh@vmware.com> 3.0.4-2
354 356
 - Bump version as a part of httpd v2.4.54 upgrade
355 357
 * Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 3.0.4-1
... ...
@@ -1,9 +1,10 @@
1 1
 %global aprver  1
2
+%global __brp_remove_la_files %{nil}
2 3
 
3 4
 Summary:        The Apache Portable Runtime
4 5
 Name:           apr
5 6
 Version:        1.7.0
6
-Release:        3%{?dist}
7
+Release:        4%{?dist}
7 8
 License:        Apache License 2.0
8 9
 URL:            https://apr.apache.org
9 10
 Group:          System Environment/Libraries
... ...
@@ -14,7 +15,7 @@ Source0:        http://archive.apache.org/dist/%{name}/%{name}-%{version}.tar.gz
14 14
 %define sha512  %{name}=daa140c83c7e2c45c3980d9dc81d34fa662bebd050653562c39572d0ddf2eaedb71767c518a59d77f59db9b32e00221ef48b9f72ec3666c4521dd511969f3706
15 15
 
16 16
 %if 0%{?with_check}
17
-Patch0:         apr-skip-getservbyname-test.patch
17
+Patch0: apr-skip-getservbyname-test.patch
18 18
 %endif
19 19
 
20 20
 %description
... ...
@@ -31,7 +32,7 @@ It contains the libraries and header files to create applications.
31 31
 
32 32
 %build
33 33
 %configure \
34
-        --with-installbuilddir=%{_libdir}/apr/build-%{aprver} \
34
+        --with-installbuilddir=%{_libdir}/%{name}/build-%{aprver} \
35 35
         --with-devrandom=/dev/urandom \
36 36
         CC=gcc CXX=g++
37 37
 
... ...
@@ -52,23 +53,21 @@ make %{?_smp_mflags} check
52 52
 %defattr(-,root,root)
53 53
 %{_libdir}/%{name}/*
54 54
 %{_libdir}/%{name}.exp
55
-%{_libdir}/libapr*.so*
55
+%{_libdir}/libapr*.so.*
56 56
 %exclude %dir %{_libdir}/debug
57
-%exclude %{_libdir}/*.la
58
-%exclude %{_libdir}/*.a
59
-%exclude %{_libdir}/*.so
60
-%exclude %{_libdir}/pkgconfig
61 57
 %{_bindir}/*
62 58
 
63
-%files  devel
59
+%files devel
64 60
 %defattr(-,root,root)
65 61
 %{_includedir}/*
66
-%{_libdir}/*.la
67 62
 %{_libdir}/*.a
63
+%{_libdir}/*.la
68 64
 %{_libdir}/*.so
69 65
 %{_libdir}/pkgconfig
70 66
 
71 67
 %changelog
68
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.7.0-4
69
+- Don't remove .la files, needed during subversion build
72 70
 * Mon Feb 28 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.7.0-3
73 71
 - Fix binary path
74 72
 * Tue Feb 16 2021 Ankit Jain <ankitja@vmware.com> 1.7.0-2
... ...
@@ -3,34 +3,36 @@
3 3
 Summary:        Kernel Audit Tool
4 4
 Name:           audit
5 5
 Version:        3.0.8
6
-Release:        2%{?dist}
7
-Source0:        http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
8
-%define sha512  %{name}=9791dfac3e4d9f5cb2a6bb0d04717f93403957cf140d9a5b8beb9e97d15c0a8ed5534bb7781a6f1e70832319325f7f96dc2fcc59519fb00aa402415f8bd91fc5
6
+Release:        3%{?dist}
9 7
 License:        GPLv2+
10 8
 Group:          System Environment/Security
11 9
 URL:            http://people.redhat.com/sgrubb/audit
12 10
 Vendor:         VMware, Inc.
13 11
 Distribution:   Photon
12
+
13
+Source0:        http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
14
+%define sha512  %{name}=9791dfac3e4d9f5cb2a6bb0d04717f93403957cf140d9a5b8beb9e97d15c0a8ed5534bb7781a6f1e70832319325f7f96dc2fcc59519fb00aa402415f8bd91fc5
15
+
14 16
 BuildRequires:  krb5-devel
15 17
 BuildRequires:  openldap
16 18
 BuildRequires:  tcp_wrappers-devel
17 19
 BuildRequires:  libcap-ng-devel
18 20
 BuildRequires:  swig
19 21
 BuildRequires:  e2fsprogs-devel
20
-BuildRequires:  systemd
21 22
 BuildRequires:  python3-devel
22 23
 BuildRequires:  python3-libs
23
-%if %{with_golang}
24
+BuildRequires:  systemd-devel
25
+
26
+%if 0%{?with_golang}
24 27
 BuildRequires:  go
25 28
 %endif
29
+
26 30
 Requires:       systemd
27 31
 Requires:       krb5
28 32
 Requires:       openldap
29 33
 Requires:       tcp_wrappers
30 34
 Requires:       libcap-ng
31 35
 Requires:       gawk
32
-BuildRequires:  python3-devel
33
-BuildRequires:  python3-libs
34 36
 
35 37
 %description
36 38
 The audit package contains the user space utilities for
... ...
@@ -67,7 +69,7 @@ and libauparse.
67 67
     --with-libcap-ng=yes \
68 68
     --with-aarch64 \
69 69
     --enable-zos-remote \
70
-%if %{with_golang}
70
+%if 0%{?with_golang}
71 71
     --with-golang \
72 72
 %endif
73 73
     --enable-systemd \
... ...
@@ -105,8 +107,8 @@ make %{?_smp_mflags} check
105 105
 %{_bindir}/*
106 106
 %{_sbindir}/*
107 107
 %{_libdir}/*.so.*
108
-%{_libdir}/systemd/system/auditd.service
109
-%{_libdir}/systemd/system-preset/50-auditd.preset
108
+%{_unitdir}/auditd.service
109
+%{_presetdir}/50-auditd.preset
110 110
 %{_libexecdir}/*
111 111
 %{_mandir}/man5/*
112 112
 %{_mandir}/man7/*
... ...
@@ -133,9 +135,8 @@ make %{?_smp_mflags} check
133 133
 %files devel
134 134
 %defattr(-,root,root)
135 135
 %{_libdir}/*.so
136
-%{_libdir}/*.la
137 136
 %{_libdir}/pkgconfig/*.pc
138
-%if 0%{with_golang}
137
+%if 0%{?with_golang}
139 138
 %{_libdir}/golang/*
140 139
 %endif
141 140
 %{_includedir}/*.h
... ...
@@ -147,57 +148,59 @@ make %{?_smp_mflags} check
147 147
 %{python3_sitelib}/*
148 148
 
149 149
 %changelog
150
-*   Fri Jun 17 2022 Piyush Gupta <gpiyush@vmware.com> 3.0.8-2
151
--   Bump up version to compile with new go
152
-*   Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 3.0.8-1
153
--   Automatic Version Bump
154
-*   Fri Jun 11 2021 Piyush Gupta <gpiyush@vmware.com> 3.0.1-2
155
--   Bump up version to compile with new go
156
-*   Mon Apr 12 2021 Gerrit Photon <photon-checkins@vmware.com> 3.0.1-1
157
--   Automatic Version Bump
158
-*   Fri Feb 05 2021 Harinadh D <hdommaraju@vmware.com> 2.8.5-6
159
--   Bump up version to compile with new go
160
-*   Thu Jan 21 2021 Alexey Makhalov <amakhalov@vmware.com> 2.8.5-5
161
--   GCC-10 support
162
-*   Fri Jan 15 2021 Piyush Gupta<gpiyush@vmware.com> 2.8.5-4
163
--   Bump up version to compile with new go
164
-*   Mon Jun 22 2020 Tapas Kundu <tkundu@vmware.com> 2.8.5-3
165
--   Mass removal python2
166
-*   Tue Nov 26 2019 Alexey Makhalov <amakhalov@vmware.com> 2.8.5-2
167
--   Cross compilation support.
168
--   Do not use BuildRequires in subpackages.
169
--   Disable golang dependency.
170
-*   Thu Oct 17 2019 Shreyas B <shreyasb@vmware.com> 2.8.5-1
171
--   Updated to version 2.8.5.
172
-*   Mon Sep 3 2018 Keerthana K <keerthanak@vmware.com> 2.8.4-1
173
--   Updated to version 2.8.4.
174
-*   Thu Dec 28 2017 Divya Thaluru <dthaluru@vmware.com>  2.7.5-4
175
--   Fixed the log file directory structure
176
-*   Thu Jun 29 2017 Divya Thaluru <dthaluru@vmware.com>  2.7.5-3
177
--   Disabled audit service by default
178
-*   Thu May 18 2017 Xiaolin Li <xiaolinl@vmware.com> 2.7.5-2
179
--   Move python2 requires to python subpackage and added python3.
180
-*   Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> 2.7.5-1
181
--   Version update.
182
-*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 2.5-7
183
--   Moved man3 to devel subpackage.
184
-*   Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 2.5-6
185
--   Required krb5-devel.
186
-*   Fri Jul 22 2016 Xiaolin Li <xiaolinl@vmware.com> 2.5-5
187
--   Add gawk requirement.
188
-*   Thu May 26 2016 Divya Thaluru <dthaluru@vmware.com>  2.5-4
189
--   Fixed logic to restart the active services after upgrade
190
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.5-3
191
--   GA - Bump release of all rpms
192
-*   Tue May 3 2016 Divya Thaluru <dthaluru@vmware.com>  2.5-2
193
--   Fixing spec file to handle rpm upgrade scenario correctly
194
-*   Tue Feb 23 2016 Anish Swaminathan <anishs@vmware.com>  2.5-1
195
--   Upgrade to 2.5
196
-*   Fri Jan 29 2016 Anish Swaminathan <anishs@vmware.com>  2.4.4-4
197
--   Add directories for auditd service.
198
-*   Tue Jan 12 2016 Anish Swaminathan <anishs@vmware.com>  2.4.4-3
199
--   Change config file attributes.
200
-*   Wed Dec 09 2015 Anish Swaminathan <anishs@vmware.com> 2.4.4-2
201
--   Add systemd requirement.
202
-*   Fri Aug 28 2015 Divya Thaluru <dthaluru@vmware.com> 2.4.4-1
203
--   Initial version
150
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 3.0.8-3
151
+- Remove .la files
152
+* Fri Jun 17 2022 Piyush Gupta <gpiyush@vmware.com> 3.0.8-2
153
+- Bump up version to compile with new go
154
+* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 3.0.8-1
155
+- Automatic Version Bump
156
+* Fri Jun 11 2021 Piyush Gupta <gpiyush@vmware.com> 3.0.1-2
157
+- Bump up version to compile with new go
158
+* Mon Apr 12 2021 Gerrit Photon <photon-checkins@vmware.com> 3.0.1-1
159
+- Automatic Version Bump
160
+* Fri Feb 05 2021 Harinadh D <hdommaraju@vmware.com> 2.8.5-6
161
+- Bump up version to compile with new go
162
+* Thu Jan 21 2021 Alexey Makhalov <amakhalov@vmware.com> 2.8.5-5
163
+- GCC-10 support
164
+* Fri Jan 15 2021 Piyush Gupta<gpiyush@vmware.com> 2.8.5-4
165
+- Bump up version to compile with new go
166
+* Mon Jun 22 2020 Tapas Kundu <tkundu@vmware.com> 2.8.5-3
167
+- Mass removal python2
168
+* Tue Nov 26 2019 Alexey Makhalov <amakhalov@vmware.com> 2.8.5-2
169
+- Cross compilation support.
170
+- Do not use BuildRequires in subpackages.
171
+- Disable golang dependency.
172
+* Thu Oct 17 2019 Shreyas B <shreyasb@vmware.com> 2.8.5-1
173
+- Updated to version 2.8.5.
174
+* Mon Sep 3 2018 Keerthana K <keerthanak@vmware.com> 2.8.4-1
175
+- Updated to version 2.8.4.
176
+* Thu Dec 28 2017 Divya Thaluru <dthaluru@vmware.com>  2.7.5-4
177
+- Fixed the log file directory structure
178
+* Thu Jun 29 2017 Divya Thaluru <dthaluru@vmware.com>  2.7.5-3
179
+- Disabled audit service by default
180
+* Thu May 18 2017 Xiaolin Li <xiaolinl@vmware.com> 2.7.5-2
181
+- Move python2 requires to python subpackage and added python3.
182
+* Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> 2.7.5-1
183
+- Version update.
184
+* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 2.5-7
185
+- Moved man3 to devel subpackage.
186
+* Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 2.5-6
187
+- Required krb5-devel.
188
+* Fri Jul 22 2016 Xiaolin Li <xiaolinl@vmware.com> 2.5-5
189
+- Add gawk requirement.
190
+* Thu May 26 2016 Divya Thaluru <dthaluru@vmware.com>  2.5-4
191
+- Fixed logic to restart the active services after upgrade
192
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.5-3
193
+- GA - Bump release of all rpms
194
+* Tue May 3 2016 Divya Thaluru <dthaluru@vmware.com>  2.5-2
195
+- Fixing spec file to handle rpm upgrade scenario correctly
196
+* Tue Feb 23 2016 Anish Swaminathan <anishs@vmware.com>  2.5-1
197
+- Upgrade to 2.5
198
+* Fri Jan 29 2016 Anish Swaminathan <anishs@vmware.com>  2.4.4-4
199
+- Add directories for auditd service.
200
+* Tue Jan 12 2016 Anish Swaminathan <anishs@vmware.com>  2.4.4-3
201
+- Change config file attributes.
202
+* Wed Dec 09 2015 Anish Swaminathan <anishs@vmware.com> 2.4.4-2
203
+- Add systemd requirement.
204
+* Fri Aug 28 2015 Divya Thaluru <dthaluru@vmware.com> 2.4.4-1
205
+- Initial version
... ...
@@ -2,7 +2,7 @@ Summary:    The Automated Text and Program Generation Tool
2 2
 Name:       autogen
3 3
 Version:    5.18.16
4 4
 # TODO: try to remove CFLAGS on next version update
5
-Release:    4%{?dist}
5
+Release:    5%{?dist}
6 6
 License:    GPLv3+
7 7
 URL:        http://www.gnu.org/software/autogen
8 8
 Group:      System Environment/Tools
... ...
@@ -16,8 +16,6 @@ BuildRequires:  guile-devel
16 16
 BuildRequires:  gc-devel
17 17
 BuildRequires:  which
18 18
 BuildRequires:  libffi-devel
19
-#BuildRequires: libunistring-devel
20
-#BuildRequires: libltdl-devel
21 19
 
22 20
 Requires:   libffi
23 21
 Requires:   guile
... ...
@@ -40,8 +38,8 @@ Libopts is very powerful command line option parser.
40 40
 Summary:    Development files for libopts
41 41
 License:    LGPLv3+
42 42
 Group:      Development/Libraries
43
-Requires:   %{name}
44
-Requires:   %{name}-libopts
43
+Requires:   %{name} = %{version}-%{release}
44
+Requires:   %{name}-libopts = %{version}-%{release}
45 45
 
46 46
 %description libopts-devel
47 47
 This package contains development files for libopts.
... ...
@@ -52,13 +50,15 @@ This package contains development files for libopts.
52 52
 %build
53 53
 %configure --disable-dependency-tracking
54 54
 # TODO: try to remove CFLAGS on next version update
55
-make %{?_smp_mflags} CFLAGS="-g -O2 -Wno-format-contains-nul -fno-strict-aliasing -Wno-error=format-overflow"
55
+%make_build CFLAGS="-g -O2 -Wno-format-contains-nul -fno-strict-aliasing -Wno-error=format-overflow"
56 56
 
57 57
 %install
58
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
58
+%make_install %{?_smp_mflags}
59
+
60
+rm -f %{buildroot}%{_libdir}/*.la
59 61
 
60
-%check
61 62
 %if 0%{?with_check}
63
+%check
62 64
 make check %{?_smp_mflags}
63 65
 %endif
64 66
 
... ...
@@ -87,9 +87,10 @@ make check %{?_smp_mflags}
87 87
 %{_mandir}/man1/autoopts-config.1.gz
88 88
 %{_mandir}/man3/*
89 89
 %{_libdir}/*.a
90
-%{_libdir}/*.la
91 90
 
92 91
 %changelog
92
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 5.18.16-5
93
+- Remove .la files
93 94
 * Tue May 10 2022 Shreenidhi Shedi <sshedi@vmware.com> 5.18.16-4
94 95
 - Bump version as a part of libffi upgrade
95 96
 * Mon Sep 28 2020 Prashant S Chauhan <psinghchauha@vmware.com> 5.18.16-3
... ...
@@ -1,14 +1,16 @@
1
-Name:    binutils-aarch64-linux-gnu
2
-Summary: Cross Binutils for Aarch64
3
-Version: 2.35
4
-Release: 1%{?dist}
5
-License: GPLv2+
6
-URL:     http://www.gnu.org/software/binutils
7
-Group:   System Environment/Base
8
-Vendor:  VMware, Inc.
1
+Name:       binutils-aarch64-linux-gnu
2
+Summary:    Cross Binutils for Aarch64
3
+Version:    2.35
4
+Release:    1%{?dist}
5
+License:    GPLv2+
6
+URL:        http://www.gnu.org/software/binutils
7
+Group:      System Environment/Base
8
+Vendor:     VMware, Inc.
9 9
 Distribution: Photon
10
-Source0: https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
11
-%define sha1 binutils=6bdd090ce268b6d6c3442516021c4e4b5019e303
10
+
11
+Source0:    https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
12
+%define sha512 binutils=9f222e4ab6720036402d03904fb11b73ab87714b85cd84997f7d357f405c7e10581d70202f9165a1ee0c70538632db27ecc9dfe627dddb1e6bc7edb1537cf786
13
+
12 14
 BuildArch: x86_64
13 15
 
14 16
 %define target_arch aarch64-unknown-linux-gnu
... ...
@@ -19,22 +21,23 @@ The Binutils package contains a linker, an assembler,
19 19
 and other tools for handling object files.
20 20
 
21 21
 %prep
22
-%setup -q -n binutils-%{version}
22
+%autosetup -p1 -n binutils-%{version}
23 23
 
24 24
 %build
25
-
26
-sh configure \
25
+sh ./configure \
27 26
     --prefix=%{_prefix} \
28 27
     --target=%{target_arch} \
29 28
     --with-sysroot=%{sysroot} \
30
-    --disable-multilib && \
31
-make configure-host && \
32
-make %{?_smp_mflags}
29
+    --disable-multilib
30
+
31
+%make_build configure-host
32
+%make_build
33 33
 
34 34
 %install
35
-make DESTDIR=%{buildroot} install
36
-rm -rf %{buildroot}%{_infodir}
37
-rm -rf %{buildroot}%{_datadir}/locale
35
+%make_install %{?_smp_mflags}
36
+
37
+rm -rf %{buildroot}%{_infodir} \
38
+       %{buildroot}%{_datadir}/locale
38 39
 
39 40
 %post   -p /sbin/ldconfig
40 41
 %postun -p /sbin/ldconfig
... ...
@@ -46,13 +49,13 @@ rm -rf %{buildroot}%{_datadir}/locale
46 46
 %{_prefix}/%{target_arch}/*
47 47
 
48 48
 %changelog
49
-*   Fri Oct 16 2020 Ajay Kaher <akaher@vmware.com> 2.35-1
50
--   Update binutils to 2.35
51
-*   Fri Nov 02 2018 Alexey Makhalov <amakhalov@vmware.com> 2.31.1-1
52
--   Cloned from cross-aarch64-tools.spec
53
-*   Thu Nov 1 2018 Sriram Nambakam <snambakam@vmware.com> 1.0.0-3
54
--   Updated versions of cross toolchain components
55
-*   Mon Oct 22 2018 Sriram Nambakam <snambakam@vmware.com> 1.0.0-2
56
--   Replace _sysroot definition with sysroot
57
-*   Fri Oct 19 2018 Sriram Nambakam <snambakam@vmware.com> 1.0.0
58
--   Initial build. First version
49
+* Fri Oct 16 2020 Ajay Kaher <akaher@vmware.com> 2.35-1
50
+- Update binutils to 2.35
51
+* Fri Nov 02 2018 Alexey Makhalov <amakhalov@vmware.com> 2.31.1-1
52
+- Cloned from cross-aarch64-tools.spec
53
+* Thu Nov 1 2018 Sriram Nambakam <snambakam@vmware.com> 1.0.0-3
54
+- Updated versions of cross toolchain components
55
+* Mon Oct 22 2018 Sriram Nambakam <snambakam@vmware.com> 1.0.0-2
56
+- Replace _sysroot definition with sysroot
57
+* Fri Oct 19 2018 Sriram Nambakam <snambakam@vmware.com> 1.0.0
58
+- Initial build. First version
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Bluetooth utilities
2 2
 Name:           bluez
3 3
 Version:        5.65
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 License:        GPLv2+
6 6
 Group:          Applications/System
7 7
 Vendor:         VMware, Inc.
... ...
@@ -40,26 +40,26 @@ use in Bluetooth applications.
40 40
 
41 41
 %build
42 42
 %configure \
43
-	--enable-tools \
44
-	--enable-library \
45
-	--enable-usb \
46
-	--enable-threads \
47
-	--enable-monitor \
48
-	--enable-obex \
49
-	--enable-systemd \
50
-	--enable-experimental \
51
-	--enable-deprecated \
52
-	--disable-cups
53
-make %{?_smp_mflags}
43
+    --enable-tools \
44
+    --enable-library \
45
+    --enable-usb \
46
+    --enable-threads \
47
+    --enable-monitor \
48
+    --enable-obex \
49
+    --enable-systemd \
50
+    --enable-experimental \
51
+    --enable-deprecated \
52
+    --disable-cups
53
+
54
+%make_build
54 55
 
55 56
 %install
56
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
57
+%make_install %{?_smp_mflags}
57 58
 
58 59
 %check
59 60
 make %{?_smp_mflags} -k check
60 61
 
61 62
 %post -p /sbin/ldconfig
62
-
63 63
 %postun -p /sbin/ldconfig
64 64
 
65 65
 %files
... ...
@@ -69,21 +69,23 @@ make %{?_smp_mflags} -k check
69 69
 %{_libexecdir}/bluetooth/bluetoothd
70 70
 %{_datadir}/zsh/site-functions/_bluetoothctl
71 71
 %{_libdir}/*.so.*
72
-%{_libdir}/libbluetooth.la
73 72
 %{_datadir}/dbus-1/system-services/org.bluez.service
74 73
 %{_datadir}/dbus-1/services/org.bluez.obex.service
75 74
 %{_libdir}/systemd/user/obex.service
76
-%{_libdir}/systemd/system/bluetooth.service
75
+%{_unitdir}/bluetooth.service
77 76
 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
78 77
 %doc COPYING TODO
79 78
 
80 79
 %files devel
80
+%defattr(-,root,root)
81 81
 %{_includedir}/bluetooth/*.h
82 82
 %{_libdir}/*.so
83 83
 %{_libdir}/pkgconfig/*.pc
84 84
 %{_datadir}/man/*
85 85
 
86 86
 %changelog
87
+* Sun Sep 18 2022 Shreenidhi Shedi <sshedi@vmware.com> 5.65-2
88
+- Remove .la files
87 89
 * Fri Sep 16 2022 Nitesh Kumar <kunitesh@vmware.com> 5.65-1
88 90
 - Version upgrade to v5.65
89 91
 * Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 5.64-1
... ...
@@ -1,21 +1,19 @@
1 1
 Summary:          A password strength-checking library.
2 2
 Name:             cracklib
3 3
 Version:          2.9.7
4
-Release:          1%{?dist}
4
+Release:          2%{?dist}
5 5
 Group:            System Environment/Libraries
6
-URL:              http://sourceforge.net/projects/cracklib
6
+URL:              https://github.com/cracklib/cracklib
7 7
 License:          GPL
8 8
 Vendor:           VMware, Inc.
9 9
 Distribution:     Photon
10 10
 
11
-Source0:        %{name}-%{version}.tar.gz
11
+Source0: https://github.com/cracklib/cracklib/releases/download/v%{version}/%{name}-%{version}.tar.gz
12 12
 %define sha512  %{name}-%{version}=76d701ee521ae35b4cbab406f23a15c84937bb06d3c3747ca8ef2584a41074fc00309a676ec37ebd5b32930163213365cf508d47f614cfccea38e1ba6babb2ff
13 13
 
14
-Source1:        %{name}-words-%{version}.gz
14
+Source1: https://github.com/cracklib/cracklib/releases/download/v%{version}/%{name}-words-%{version}.gz
15 15
 %define sha512  %{name}-words-%{version}=1fa34b0a2e16d6906982b248f1757bf5bf8154d8d7e8bab94a4ac25080c41434d3828a2c8dd5065e9be586f36480ab70375f09e0bb64eb495d96a460619e2bae
16 16
 
17
-BuildRequires:    python3
18
-BuildRequires:    python3-libs
19 17
 BuildRequires:    python3-devel
20 18
 BuildRequires:    python3-setuptools
21 19
 BuildRequires:    python3-xml
... ...
@@ -111,13 +109,15 @@ export CFLAGS="%{optflags}"
111 111
 %make_build
112 112
 
113 113
 pushd python
114
-python3 setup.py build
114
+%py3_build
115 115
 popd
116 116
 
117 117
 %install
118 118
 %make_install %{?_smp_mflags}
119
-chmod 755 ./util/%{name}-format
120
-chmod 755 ./util/%{name}-packer
119
+rm -f %{buildroot}%{_libdir}/*.la
120
+
121
+chmod 755 ./util/%{name}-format \
122
+          ./util/%{name}-packer
121 123
 
122 124
 if [ %{_host} = %{_build} ]; then
123 125
   export PATH=./util:$PATH
... ...
@@ -130,7 +130,7 @@ ln -sv %{name}-format %{buildroot}%{_sbindir}/mkdict
130 130
 ln -sv %{name}-packer %{buildroot}%{_sbindir}/packer
131 131
 
132 132
 pushd python
133
-python3 setup.py install --skip-build --root %{buildroot}
133
+%py3_install
134 134
 popd
135 135
 
136 136
 %if 0%{?with_check}
... ...
@@ -168,9 +168,9 @@ ln -sf empty.pwi %{_datadir}/%{name}/pw_dict.pwi
168 168
 %postun
169 169
 /sbin/ldconfig
170 170
 [ $1 = 0 ] || exit 0
171
-rm -f %{_datadir}/%{name}/pw_dict.hwm
172
-rm -f %{_datadir}/%{name}/pw_dict.pwd
173
-rm -f %{_datadir}/%{name}/pw_dict.pwi
171
+rm -f %{_datadir}/%{name}/pw_dict.hwm \
172
+      %{_datadir}/%{name}/pw_dict.pwd \
173
+      %{_datadir}/%{name}/pw_dict.pwi
174 174
 
175 175
 %files
176 176
 %defattr(-,root,root)
... ...
@@ -183,7 +183,6 @@ rm -f %{_datadir}/%{name}/pw_dict.pwi
183 183
 %doc README README-DAWG doc
184 184
 %{_includedir}/*
185 185
 %{_libdir}/libcrack.so
186
-%{_libdir}/libcrack.la
187 186
 
188 187
 %files -n python3-%{name}
189 188
 %defattr(-,root,root)
... ...
@@ -199,6 +198,8 @@ rm -f %{_datadir}/%{name}/pw_dict.pwi
199 199
 %{_datadir}/locale/*
200 200
 
201 201
 %changelog
202
+* Mon Aug 08 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.9.7-2
203
+- Remove .la files
202 204
 * Tue Jul 21 2020 Gerrit Photon <photon-checkins@vmware.com> 2.9.7-1
203 205
 - Automatic Version Bump
204 206
 * Sun Jun 21 2020 Tapas Kundu <tkundu@vmware.com> 2.9.6-10
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Glib interfaces to D-Bus API
2 2
 Name:           dbus-glib
3 3
 Version:        0.112
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        AFL and GPLv2+
6 6
 Group:          System Environment/Libraries
7 7
 Vendor:         VMware, Inc.
... ...
@@ -27,7 +27,7 @@ The D-Bus GLib package contains GLib interfaces to the D-Bus API.
27 27
 Summary:    Libraries and headers for the D-Bus GLib bindings
28 28
 Requires:   glib-devel
29 29
 Requires:   dbus-devel
30
-Requires:   %{name} = %{version}
30
+Requires:   %{name} = %{version}-%{release}
31 31
 
32 32
 %description devel
33 33
 Headers and static libraries for the D-Bus GLib bindings
... ...
@@ -40,13 +40,13 @@ Headers and static libraries for the D-Bus GLib bindings
40 40
   --disable-static \
41 41
   --disable-gtk-doc
42 42
 
43
-make %{?_smp_mflags}
43
+%make_build
44 44
 
45 45
 %install
46
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
46
+%make_install %{?_smp_mflags}
47 47
 
48
-%check
49 48
 %if 0%{?with_check}
49
+%check
50 50
 make %{?_smp_mflags} check
51 51
 %endif
52 52
 
... ...
@@ -58,7 +58,6 @@ make %{?_smp_mflags} check
58 58
 %{_sysconfdir}/bash_completion.d/*
59 59
 %{_bindir}/*
60 60
 %{_libdir}/*.so.*
61
-%{_libdir}/*.la
62 61
 %{_libexecdir}/*
63 62
 %{_mandir}/man1/*
64 63
 %{_datadir}/gtk-doc/*
... ...
@@ -70,6 +69,8 @@ make %{?_smp_mflags} check
70 70
 %{_libdir}/pkgconfig/*.pc
71 71
 
72 72
 %changelog
73
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.112-3
74
+- Remove .la files
73 75
 * Tue May 10 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.112-2
74 76
 - Bump version as a part of libffi upgrade
75 77
 * Mon Apr 12 2021 Gerrit Photon <photon-checkins@vmware.com> 0.112-1
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        DBus for systemd
2 2
 Name:           dbus
3 3
 Version:        1.14.0
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 License:        GPLv2+ or AFL
6 6
 URL:            http://www.freedesktop.org/wiki/Software/dbus
7 7
 Group:          Applications/File
... ...
@@ -31,20 +31,23 @@ Requires:       expat-devel
31 31
 It contains the libraries and header files to create applications
32 32
 
33 33
 %prep
34
-%autosetup
34
+%autosetup -p1
35 35
 
36 36
 %build
37 37
 %configure \
38 38
     --docdir=%{_defaultdocdir}/%{name}-%{version} \
39
-    --enable-libaudit=no --enable-selinux=no \
39
+    --enable-libaudit=no \
40
+    --enable-selinux=no \
40 41
     --with-console-auth-dir=/run/console
41 42
 
42
-%make_build %{?_smp_mflags}
43
+%make_build
43 44
 
44 45
 %install
45 46
 %make_install %{?_smp_mflags}
46 47
 install -vdm755 %{buildroot}%{_lib}
47 48
 
49
+rm -f %{buildroot}%{_libdir}/*.la
50
+
48 51
 %check
49 52
 make %{?_smp_mflags} check
50 53
 
... ...
@@ -68,11 +71,12 @@ make %{?_smp_mflags} check
68 68
 %dir %{_libdir}/dbus-1.0
69 69
 %{_libdir}/dbus-1.0/include/
70 70
 %{_libdir}/pkgconfig/*.pc
71
-%{_libdir}/*.la
72 71
 %{_libdir}/*.a
73 72
 %{_libdir}/*.so
74 73
 
75 74
 %changelog
75
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.14.0-2
76
+- Remove .la files
76 77
 * Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.14.0-1
77 78
 - Automatic Version Bump
78 79
 * Thu Jan 13 2022 Susant Sahani <ssahani@vmware.com> 1.13.20-1
... ...
@@ -1,15 +1,18 @@
1 1
 %global dialogsubversion 20220526
2
+
2 3
 Summary:       A utility for creating TTY dialog boxes
3 4
 Name:          dialog
4 5
 Version:       1.3
5
-Release:       6.20220526%{?dist}
6
+Release:       7.20220526%{?dist}
6 7
 License:       LGPLv2
7 8
 URL:           http://invisible-island.net/dialog/dialog.html
8 9
 Group:         Applications/System
9 10
 Vendor:        VMware, Inc.
10 11
 Distribution:  Photon
12
+
11 13
 Source0:       https://invisible-mirror.net/archives/dialog/%{name}-%{version}-%{dialogsubversion}.tar.gz
12
-%define sha512 dialog=619d52b8123264bf586f5325443c3b85863166119c6fbaa91571a57454d761f01a53ebeb2203ea725c83dc88f2abf886c64c6eac5b56c126e4f3939eb1d24d62
14
+%define sha512 %{name}=619d52b8123264bf586f5325443c3b85863166119c6fbaa91571a57454d761f01a53ebeb2203ea725c83dc88f2abf886c64c6eac5b56c126e4f3939eb1d24d62
15
+
13 16
 BuildRequires: ncurses-devel
14 17
 BuildRequires: gettext
15 18
 BuildRequires: findutils
... ...
@@ -27,7 +30,8 @@ Install dialog if you would like to create TTY dialog boxes.
27 27
 %package       devel
28 28
 Summary:       Development files for building applications with the dialog library
29 29
 Group:         Development/Libraries
30
-Requires:      %{name} = %{version}-%{release} ncurses-devel
30
+Requires:      %{name} = %{version}-%{release}
31
+Requires:      ncurses-devel
31 32
 
32 33
 %description   devel
33 34
 Dialog is a utility that allows you to show dialog boxes (containing
... ...
@@ -36,15 +40,14 @@ contains the files needed for developing applications, which use the
36 36
 dialog library.
37 37
 
38 38
 %prep
39
-%autosetup -n %{name}-%{version}-%{dialogsubversion}
39
+%autosetup -p1 -n %{name}-%{version}-%{dialogsubversion}
40 40
 
41 41
 %build
42 42
 %configure \
43
-        --enable-nls \
44
-        --with-libtool \
45
-        --with-ncursesw \
46
-# make doesn't support _smp_mflags
47
-make
43
+    --enable-nls \
44
+    --with-libtool \
45
+    --with-ncursesw
46
+%make_build
48 47
 
49 48
 %install
50 49
 # prepare packaged samples
... ...
@@ -53,11 +56,11 @@ mkdir _samples
53 53
 cp -a samples _samples
54 54
 rm -rf _samples/samples/install
55 55
 find _samples -type f -print0 | xargs -0 chmod a-x
56
-# make doesn't support _smp_mflags
57
-make DESTDIR=%{buildroot} install
56
+%make_install %{?_smp_mflags}
58 57
 
59 58
 # configure incorrectly use '-m 644' for library, fix it
60 59
 chmod +x %{buildroot}%{_libdir}/*
60
+rm -rf %{buildroot}%{_libdir}/.libs
61 61
 
62 62
 %find_lang %{name}
63 63
 
... ...
@@ -65,29 +68,32 @@ chmod +x %{buildroot}%{_libdir}/*
65 65
 %postun -p /sbin/ldconfig
66 66
 
67 67
 %files -f %{name}.lang
68
+%defattr(-,root,root,0755)
68 69
 %doc COPYING dialog.lsm README _samples/samples
69 70
 %{_bindir}/dialog
70 71
 %{_libdir}/libdialog.so.*
71 72
 %{_mandir}/man1/dialog.*
72 73
 
73 74
 %files devel
75
+%defattr(-,root,root,0755)
74 76
 %{_bindir}/dialog-config
75 77
 %{_includedir}/*.h
76 78
 %{_libdir}/libdialog.so
77
-%{_libdir}/libdialog.la
78 79
 %exclude %{_libdir}/libdialog.a
79 80
 %{_mandir}/man3/dialog.*
80 81
 
81 82
 %changelog
82
-*       Wed Jun 01 2022 Gerrit Photon <photon-checkins@vmware.com> 1.3-6.20220526
83
--       Automatic Version Bump
84
-*       Fri Aug 28 2020 Michelle Wang <michellew@vmware.com> 1.3-5.20200327
85
--       Update to 20200327
86
-*       Mon Jan 28 2019 Bo Gan <ganb@vmware.com> 1.3-4.20180621
87
--       Fix library permission.
88
-*       Wed Sep 19 2018 Bo Gan <ganb@vmware.com> 1.3-3.20180621
89
--       Update to 20180621
90
-*       Wed Apr 19 2017 Bo Gan <ganb@vmware.com> 1.3-2.20170131
91
--       update to 20170131
92
-*       Mon May 30 2016 Nick Shi <nshi@vmware.com> 1.3-1.20160209
93
--       Initial version
83
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.3-7.20220526
84
+- Remove .la files
85
+* Wed Jun 01 2022 Gerrit Photon <photon-checkins@vmware.com> 1.3-6.20220526
86
+- Automatic Version Bump
87
+* Fri Aug 28 2020 Michelle Wang <michellew@vmware.com> 1.3-5.20200327
88
+- Update to 20200327
89
+* Mon Jan 28 2019 Bo Gan <ganb@vmware.com> 1.3-4.20180621
90
+- Fix library permission.
91
+* Wed Sep 19 2018 Bo Gan <ganb@vmware.com> 1.3-3.20180621
92
+- Update to 20180621
93
+* Wed Apr 19 2017 Bo Gan <ganb@vmware.com> 1.3-2.20170131
94
+- update to 20170131
95
+* Mon May 30 2016 Nick Shi <nshi@vmware.com> 1.3-1.20160209
96
+- Initial version
... ...
@@ -1,16 +1,18 @@
1
-Summary:	Syslog event logger library
2
-Name:		eventlog
3
-Version:	0.2.12
4
-Release:	3%{?dist}
5
-License:	GPL
6
-URL:		https://www.balabit.com
7
-Group:		System Environment/Daemons
8
-Vendor:		VMware, Inc.
9
-Distribution: 	Photon
10
-Source0:	https://www.balabit.com/downloads/files/eventlog/0.2/%{name}_%{version}.tar.gz
11
-%define sha1 eventlog=3e35a634e7de029ab9d36995a085bfcb00ed6a4d
12
-BuildRequires:	bison
13
-BuildRequires:	flex
1
+Summary:    Syslog event logger library
2
+Name:       eventlog
3
+Version:    0.2.12
4
+Release:    4%{?dist}
5
+License:    GPL
6
+URL:        https://www.balabit.com
7
+Group:      System Environment/Daemons
8
+Vendor:     VMware, Inc.
9
+Distribution:   Photon
10
+
11
+Source0:    https://www.balabit.com/downloads/files/eventlog/0.2/%{name}_%{version}.tar.gz
12
+%define sha512 %{name}=a681ab2961f5bf38e106a5b0b4492e74098808e2bf1a100f545736902649c705db124c0847796a47485faa8b0befe691a789d752f313c5b65ad50ed2763d2cce
13
+
14
+BuildRequires:  bison
15
+BuildRequires:  flex
14 16
 
15 17
 %description
16 18
 The EventLog library aims to be a replacement of the simple syslog() API
... ...
@@ -23,37 +25,49 @@ via a configuration file.
23 23
 
24 24
 This package is the runtime part of the library.
25 25
 
26
+%package devel
27
+Summary:    Development libraries & headers for %{name}
28
+Requires:   %{name} = %{version}-%{release}
29
+
30
+%description devel
31
+Development libraries & headers for %{name}
32
+
26 33
 %prep
27
-%setup -q
34
+%autosetup -p1
28 35
 
29 36
 %build
30
-%configure \
31
-	--disable-silent-rules
32
-make %{?_smp_mflags}
37
+%configure --disable-silent-rules
38
+%make_build
33 39
 
34 40
 %install
35
-%makeinstall
41
+%make_install
36 42
 
43
+%if 0%{?with_check}
37 44
 %check
38 45
 make %{?_smp_mflags} check
46
+%endif
39 47
 
40 48
 %clean
41 49
 rm -rf %{buildroot}/*
42 50
 
43 51
 %files
44 52
 %defattr(-,root,root)
45
-%{_includedir}/eventlog/*.h
53
+%{_libdir}/*.so.*
54
+
55
+%files devel
56
+%defattr(-,root,root)
46 57
 %{_libdir}/*.a
47
-%{_libdir}/*.la
48 58
 %{_libdir}/*.so
49
-%{_libdir}/*.so.*
59
+%{_includedir}/eventlog/*.h
50 60
 %{_libdir}/pkgconfig/eventlog.pc
51 61
 
52 62
 %changelog
53
-*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 0.2.12-3
54
--   Use standard configure macros
55
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.2.12-2
56
--   GA - Bump release of all rpms
57
-*   Fri Jun 5 2015 Vinay Kulkarni <kulkarniv@vmware.com> 0.2.12-1
58
--   Add eventlog library for syslog-ng to photon
59
-
63
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.2.12-4
64
+- Remove .la files
65
+- Introduce devel package
66
+* Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 0.2.12-3
67
+- Use standard configure macros
68
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.2.12-2
69
+- GA - Bump release of all rpms
70
+* Fri Jun 5 2015 Vinay Kulkarni <kulkarniv@vmware.com> 0.2.12-1
71
+- Add eventlog library for syslog-ng to photon
... ...
@@ -1,74 +1,74 @@
1
-Summary:	A garbage collector for C and C++
2
-Name:		gc
3
-Version:	8.0.4
4
-Release:	1%{?dist}
5
-License:	BSD
6
-Url:		http://www.hboehm.info/gc/
7
-Source0:	http://www.hboehm.info/gc/gc_source/%{name}-%{version}.tar.gz
8
-%define sha1 gc=4b8b24534f469b64ff4bc2332a9bdf8bef8bf1d4
9
-Source1:       http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-7.6.6.tar.gz
10
-%define sha1 libatomic_ops=89a320bc94860fc63069615a0a7ee6f38eee9b70
11
-Group:		System Environment/Base
12
-Vendor:		VMware, Inc.
13
-Distribution:	Photon
1
+Summary:    A garbage collector for C and C++
2
+Name:       gc
3
+Version:    8.0.4
4
+Release:    2%{?dist}
5
+License:    BSD
6
+URL:        http://www.hboehm.info/gc
7
+Group:      System Environment/Base
8
+Vendor:     VMware, Inc.
9
+Distribution:   Photon
10
+
11
+Source0: http://www.hboehm.info/gc/gc_source/%{name}-%{version}.tar.gz
12
+%define sha512 %{name}=57ccca15c6e50048d306a30de06c1a844f36103a84c2d1c17cbccbbc0001e17915488baec79737449982da99ce5d14ce527176afae9ae153cbbb5a19d986366e
13
+
14
+BuildRequires: libatomic_ops-devel
15
+
16
+Requires: libatomic_ops
14 17
 
15 18
 %description
16 19
 The Boehm-Demers-Weiser conservative garbage collector can be
17 20
 used as a garbage collecting replacement for C malloc or C++ new.
18 21
 
19 22
 %package devel
20
-Summary:	Development libraries and header files for gc
21
-Requires:	gc
23
+Summary:    Development libraries and header files for gc
24
+Requires:   %{name} = %{version}-%{release}
22 25
 
23 26
 %description devel
24 27
 The package contains libraries and header files for
25 28
 developing applications that use gc.
26 29
 
27 30
 %prep
28
-%setup -q
29
-%setup -q -T -D -a 1
30
-ln -sfv libatomic_ops-7.6.6 libatomic_ops
31
+%autosetup -p1
31 32
 
32 33
 %build
33
-%configure \
34
-	--prefix=%{_prefix} \
35
-	--datadir=%{_docdir} \
36
-        --enable-cplusplus
37
-make %{?_smp_mflags}
34
+%configure --enable-cplusplus
35
+
36
+%make_build
38 37
 
39 38
 %install
40
-make DESTDIR=%{buildroot} install
39
+%make_install %{?_smp_mflags}
40
+
41
+rm -f %{buildroot}%{_libdir}/*.la
41 42
 
42 43
 %check
43 44
 make %{?_smp_mflags} check
44 45
 
45
-%post	-p /sbin/ldconfig
46
-
47
-%postun	-p /sbin/ldconfig
46
+%post   -p /sbin/ldconfig
47
+%postun -p /sbin/ldconfig
48 48
 
49 49
 %files
50 50
 %defattr(-,root,root)
51 51
 %{_libdir}/*.so.*
52
-%{_docdir}/gc/*
53
-%{_libdir}/*.la
52
+%{_docdir}/%{name}/*
54 53
 %{_mandir}/man3/*
55 54
 
56 55
 %files devel
57 56
 %defattr(-,root,root)
58 57
 %{_includedir}/*.h
59
-%{_includedir}/gc/*.h
58
+%{_includedir}/%{name}/*.h
60 59
 %{_libdir}/*.so
61 60
 %{_libdir}/pkgconfig/*.pc
62 61
 
63 62
 %changelog
64
-*       Thu Oct 17 2019 Shreenidhi Shedi <sshedi@vmware.com> 8.0.4-1
65
--       Upgrade to version 8.0.4
66
-*	Mon Sep 17 2018 Sujay G <gsujay@vmware.com> 8.0.0-1
67
--	Bump to version 8.0.0
68
-*	Wed Apr 05 2017 Danut Moraru <dmoraru@vmware.com> 7.6.0-1
69
--	Upgrade gc to 7.6.0, libatomic_ops to 7.4.4
70
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 7.4.2-2
71
--	GA - Bump release of all rpms
72
-*	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 7.4.2-1
73
--	Initial build. First version
74
-
63
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 8.0.4-2
64
+- Remove .la files
65
+* Thu Oct 17 2019 Shreenidhi Shedi <sshedi@vmware.com> 8.0.4-1
66
+- Upgrade to version 8.0.4
67
+* Mon Sep 17 2018 Sujay G <gsujay@vmware.com> 8.0.0-1
68
+- Bump to version 8.0.0
69
+* Wed Apr 05 2017 Danut Moraru <dmoraru@vmware.com> 7.6.0-1
70
+- Upgrade gc to 7.6.0, libatomic_ops to 7.4.4
71
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 7.4.2-2
72
+- GA - Bump release of all rpms
73
+* Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 7.4.2-1
74
+- Initial build. First version
... ...
@@ -1,23 +1,28 @@
1 1
 %global security_hardening nofortify
2 2
 %define _use_internal_dependency_generator 0
3
+
3 4
 Summary:        Contains the GNU compiler collection
4 5
 Name:           gcc
5 6
 Version:        10.2.0
6
-Release:        1%{?dist}
7
+Release:        2%{?dist}
7 8
 License:        GPLv2+
8 9
 URL:            http://gcc.gnu.org
9 10
 Group:          Development/Tools
10 11
 Vendor:         VMware, Inc.
11 12
 Distribution:   Photon
13
+
12 14
 Source0:        http://ftp.gnu.org/gnu/gcc/%{name}-%{version}/%{name}-%{version}.tar.xz
13
-%define sha1 gcc=8de0aecd3a52bb92b43082df8a9256356d1f03be
15
+%define sha512  gcc=42ae38928bd2e8183af445da34220964eb690b675b1892bbeb7cd5bb62be499011ec9a93397dba5e2fb681afadfc6f2767d03b9035b44ba9be807187ae6dc65e
16
+
14 17
 Patch0:         PLUGIN_TYPE_CAST.patch
18
+
15 19
 Requires:       libstdc++-devel = %{version}-%{release}
16 20
 Requires:       libgcc-devel = %{version}-%{release}
17 21
 Requires:       libgomp-devel = %{version}-%{release}
18 22
 Requires:       libgcc-atomic = %{version}-%{release}
19 23
 Requires:       gmp
20
-%if %{with_check}
24
+
25
+%if 0%{?with_check}
21 26
 BuildRequires:  autogen
22 27
 BuildRequires:  dejagnu
23 28
 %endif
... ...
@@ -83,14 +88,12 @@ An implementation of OpenMP for the C, C++, and Fortran 95 compilers in the GNU
83 83
 This package contains development headers and static library for libgomp
84 84
 
85 85
 %prep
86
-%setup -q
87
-%patch0 -p1
86
+%autosetup -p1
88 87
 
89 88
 # disable no-pie for gcc binaries
90 89
 sed -i '/^NO_PIE_CFLAGS = /s/@NO_PIE_CFLAGS@//' gcc/Makefile.in
91 90
 
92 91
 %build
93
-
94 92
 export glibcxx_cv_c99_math_cxx98=yes glibcxx_cv_c99_math_cxx11=yes
95 93
 test %{_host} != %{_build} && export gcc_cv_objdump=%{_arch}-unknown-linux-gnu-objdump
96 94
 
... ...
@@ -107,11 +110,13 @@ test %{_host} != %{_build} && export gcc_cv_objdump=%{_arch}-unknown-linux-gnu-o
107 107
     --enable-linker-build-id \
108 108
     --enable-plugin \
109 109
     --with-system-zlib
110
-make %{?_smp_mflags}
110
+
111
+%make_build
112
+
111 113
 %install
112
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
113
-install -vdm 755 %{buildroot}/%_lib
114
-ln -sv %{_bindir}/cpp %{buildroot}/%{_lib}
114
+%make_install %{?_smp_mflags}
115
+install -vdm 755 %{buildroot}%{_lib}
116
+ln -sv %{_bindir}/cpp %{buildroot}%{_lib}
115 117
 ln -sv gcc %{buildroot}%{_bindir}/cc
116 118
 install -vdm 755 %{buildroot}%{_datarootdir}/gdb/auto-load%{_lib}
117 119
 mv -v %{buildroot}%{_lib64dir}/*gdb.py %{buildroot}%{_datarootdir}/gdb/auto-load%{_lib}
... ...
@@ -204,7 +209,6 @@ GFORTRAN_SUM_FILE=host-%{_host}/gcc/testsuite/gfortran/gfortran.sum
204 204
 %defattr(-,root,root)
205 205
 %{_lib64dir}/libgcc_s.so
206 206
 
207
-
208 207
 %files -n libstdc++
209 208
 %defattr(-,root,root)
210 209
 %{_lib64dir}/libstdc++.so.*
... ...
@@ -214,7 +218,6 @@ GFORTRAN_SUM_FILE=host-%{_host}/gcc/testsuite/gfortran/gfortran.sum
214 214
 %files -n libstdc++-devel
215 215
 %defattr(-,root,root)
216 216
 %{_lib64dir}/libstdc++.so
217
-%{_lib64dir}/libstdc++.la
218 217
 %{_lib64dir}/libstdc++.a
219 218
 
220 219
 %{_includedir}/c++/*
... ...
@@ -226,65 +229,66 @@ GFORTRAN_SUM_FILE=host-%{_host}/gcc/testsuite/gfortran/gfortran.sum
226 226
 %files -n libgomp-devel
227 227
 %defattr(-,root,root)
228 228
 %{_lib64dir}/libgomp.a
229
-%{_lib64dir}/libgomp.la
230 229
 %{_lib64dir}/libgomp.so
231 230
 %{_lib64dir}/libgomp.spec
232 231
 
233 232
 %changelog
234
-*   Thu Jan 28 2021 Alexey Makhalov <amakhalov@vmware.com> 10.2.0-1
235
--   Version update
236
-*   Wed Jan 27 2021 Shreenidhi Shedi <sshedi@vmware.com> 8.4.0-2
237
--   Bump version with new openssl in publish rpms
238
-*   Thu May 07 2020 Alexey Makhalov <amakhalov@vmware.com> 8.4.0-1
239
--   Version update
240
-*   Tue Mar 24 2020 Alexey Makhalov <amakhalov@vmware.com> 7.3.0-6
241
--   Fix compilation issue with glibc-2.31
242
-*   Tue Nov 06 2018 Alexey Makhalov <amakhalov@vmware.com> 7.3.0-5
243
--   Cross compilation support
244
-*   Fri Nov 02 2018 Alexey Makhalov <amakhalov@vmware.com> 7.3.0-4
245
--   Use nofortify security_hardening instead of sed hacking
246
--   Use %configure
247
-*   Wed Sep 19 2018 Alexey Makhalov <amakhalov@vmware.com> 7.3.0-3
248
--   Fix compilation issue for glibc-2.28
249
-*   Thu Aug 30 2018 Keerthana K <keerthanak@vmware.com> 7.3.0-2
250
--   Packaging .a files (libstdc++-static files).
251
-*   Wed Aug 01 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 7.3.0-1
252
--   Update to version 7.3.0 to get retpoline support.
253
-*   Tue Nov 14 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-7
254
--   Aarch64 support
255
-*   Mon Oct 02 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-6
256
--   Added smp_mflags for parallel build
257
-*   Mon Sep 25 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-5
258
--   Enable elfdeps for libgcc_s to generate libgcc_s.so.1(*)(64bit) provides
259
-*   Mon Aug 28 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-4
260
--   Fix makecheck
261
-*   Tue Aug 15 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-3
262
--   Fix compilation issue for glibc-2.26
263
-*   Tue Aug 15 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-2
264
--   Improve make check
265
-*   Thu Mar 9 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-1
266
--   Update version to 6.3
267
-*   Thu Mar 02 2017 Xiaolin Li <xiaolinl@vmware.com> 5.3.0-6
268
--   Enabled fortran.
269
-*   Wed Feb 22 2017 Alexey Makhalov <amakhalov@vmware.com> 5.3.0-5
270
--   Added new plugin entry point: PLUGIN_TYPE_CAST (.patch)
271
-*   Thu Sep  8 2016 Alexey Makhalov <amakhalov@vmware.com> 5.3.0-4
272
--   Enable plugins and linker build id.
273
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 5.3.0-3
274
--   GA - Bump release of all rpms
275
-*   Tue May 17 2016 Anish Swaminathan <anishs@vmware.com> 5.3.0-2
276
--   Change package dependencies
277
-*   Mon Mar 28 2016 Alexey Makhalov <amakhalov@vmware.com> 5.3.0-1
278
--   Update version to 5.3
279
-*   Tue Nov 10 2015 Xiaolin Li <xiaolinl@vmware.com> 4.8.2-6
280
--   Handled locale files with macro find_lang
281
-*   Mon Nov 02 2015 Vinay Kulkarni <kulkarniv@vmware.com> 4.8.2-5
282
--   Put libatomic.so into its own package.
283
-*   Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> 4.8.2-4
284
--   Updated group.
285
-*   Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> 4.8.2-3
286
--   Update according to UsrMove.
287
-*   Fri May 15 2015 Divya Thaluru <dthaluru@vmware.com> 4.8.2-2
288
--   Packaging .la files
289
-*   Tue Apr 01 2014 baho-utot <baho-utot@columbus.rr.com> 4.8.2-1
290
--   Initial build. First version
233
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 10.2.0-2
234
+- Remove .la files
235
+* Thu Jan 28 2021 Alexey Makhalov <amakhalov@vmware.com> 10.2.0-1
236
+- Version update
237
+* Wed Jan 27 2021 Shreenidhi Shedi <sshedi@vmware.com> 8.4.0-2
238
+- Bump version with new openssl in publish rpms
239
+* Thu May 07 2020 Alexey Makhalov <amakhalov@vmware.com> 8.4.0-1
240
+- Version update
241
+* Tue Mar 24 2020 Alexey Makhalov <amakhalov@vmware.com> 7.3.0-6
242
+- Fix compilation issue with glibc-2.31
243
+* Tue Nov 06 2018 Alexey Makhalov <amakhalov@vmware.com> 7.3.0-5
244
+- Cross compilation support
245
+* Fri Nov 02 2018 Alexey Makhalov <amakhalov@vmware.com> 7.3.0-4
246
+- Use nofortify security_hardening instead of sed hacking
247
+- Use %configure
248
+* Wed Sep 19 2018 Alexey Makhalov <amakhalov@vmware.com> 7.3.0-3
249
+- Fix compilation issue for glibc-2.28
250
+* Thu Aug 30 2018 Keerthana K <keerthanak@vmware.com> 7.3.0-2
251
+- Packaging .a files (libstdc++-static files).
252
+* Wed Aug 01 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 7.3.0-1
253
+- Update to version 7.3.0 to get retpoline support.
254
+* Tue Nov 14 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-7
255
+- Aarch64 support
256
+* Mon Oct 02 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-6
257
+- Added smp_mflags for parallel build
258
+* Mon Sep 25 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-5
259
+- Enable elfdeps for libgcc_s to generate libgcc_s.so.1(*)(64bit) provides
260
+* Mon Aug 28 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-4
261
+- Fix makecheck
262
+* Tue Aug 15 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-3
263
+- Fix compilation issue for glibc-2.26
264
+* Tue Aug 15 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-2
265
+- Improve make check
266
+* Thu Mar 9 2017 Alexey Makhalov <amakhalov@vmware.com> 6.3.0-1
267
+- Update version to 6.3
268
+* Thu Mar 02 2017 Xiaolin Li <xiaolinl@vmware.com> 5.3.0-6
269
+- Enabled fortran.
270
+* Wed Feb 22 2017 Alexey Makhalov <amakhalov@vmware.com> 5.3.0-5
271
+- Added new plugin entry point: PLUGIN_TYPE_CAST (.patch)
272
+* Thu Sep  8 2016 Alexey Makhalov <amakhalov@vmware.com> 5.3.0-4
273
+- Enable plugins and linker build id.
274
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 5.3.0-3
275
+- GA - Bump release of all rpms
276
+* Tue May 17 2016 Anish Swaminathan <anishs@vmware.com> 5.3.0-2
277
+- Change package dependencies
278
+* Mon Mar 28 2016 Alexey Makhalov <amakhalov@vmware.com> 5.3.0-1
279
+- Update version to 5.3
280
+* Tue Nov 10 2015 Xiaolin Li <xiaolinl@vmware.com> 4.8.2-6
281
+- Handled locale files with macro find_lang
282
+* Mon Nov 02 2015 Vinay Kulkarni <kulkarniv@vmware.com> 4.8.2-5
283
+- Put libatomic.so into its own package.
284
+* Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> 4.8.2-4
285
+- Updated group.
286
+* Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> 4.8.2-3
287
+- Update according to UsrMove.
288
+* Fri May 15 2015 Divya Thaluru <dthaluru@vmware.com> 4.8.2-2
289
+- Packaging .la files
290
+* Tue Apr 01 2014 baho-utot <baho-utot@columbus.rr.com> 4.8.2-1
291
+- Initial build. First version
... ...
@@ -1,24 +1,28 @@
1
-Summary:	C++ interface to the glib
2
-Name:		glibmm
3
-Version:	2.65.3
4
-Release:	1%{?dist}
5
-License:	LGPLv2+
6
-URL:		http://ftp.gnome.org/pub/GNOME/sources/glibmm
7
-Group:		Applications/System
8
-Vendor:		VMware, Inc.
9
-Distribution:	Photon
10
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.53/%{name}-%{version}.tar.xz
11
-%define sha1    glibmm=3b92fd1c54abdaee38e5d19b006e197365ea7c40
12
-BuildRequires:	python3 >= 2.7
13
-BuildRequires:	libsigc++ >= 2.10.0
14
-BuildRequires:	glib-devel glib-schemas
15
-%if %{with_check}
1
+Summary:    C++ interface to the glib
2
+Name:       glibmm
3
+Version:    2.65.3
4
+Release:    2%{?dist}
5
+License:    LGPLv2+
6
+URL:        http://ftp.gnome.org/pub/GNOME/sources/glibmm
7
+Group:      Applications/System
8
+Vendor:     VMware, Inc.
9
+Distribution:   Photon
10
+
11
+Source0:    http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.53/%{name}-%{version}.tar.xz
12
+%define sha512  %{name}=d9b9dae4fd9c67bbf6892b9e834d104699592d8aa2ac816cd9690945ddc5b8a8adf06ff8ec4f3ff943a85336f63172d23219e3f7f1e31b65d3eb2ac1ab0a3b80
13
+
14
+BuildRequires:  python3-devel
15
+BuildRequires:  libsigc++-devel >= 2.10.0
16
+BuildRequires:  glib-devel glib-schemas
17
+
18
+%if 0%{?with_check}
16 19
 BuildRequires:  glib-networking
17 20
 %endif
18
-Requires:	libsigc++ >= 2.10.0
19
-Requires:	glib >= 2.50.0
20
-Requires:	gobject-introspection >= 1.50.0
21
-Requires:	XML-Parser
21
+
22
+Requires:   libsigc++ >= 2.10.0
23
+Requires:   glib >= 2.50.0
24
+Requires:   gobject-introspection >= 1.50.0
25
+Requires:   XML-Parser
22 26
 
23 27
 %description
24 28
 gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps GTK+ 2.
... ...
@@ -28,29 +32,31 @@ a comprehensive set of widget classes that can be freely combined to quickly cre
28 28
 %package        devel
29 29
 Summary:        Header files for glibmm
30 30
 Group:          Applications/System
31
-Requires:       %{name} = %{version}
32
-Requires:	glib-devel libsigc++
31
+Requires:       %{name} = %{version}-%{release}
32
+Requires:       glib-devel libsigc++
33 33
 
34 34
 %description    devel
35 35
 These are the header files of glibmm.
36 36
 
37 37
 %prep
38
-%setup -q
38
+%autosetup -p1
39 39
 
40 40
 %build
41 41
 %configure
42
-make %{?_smp_mflags}
42
+%make_build
43 43
 
44 44
 %install
45
-make DESTDIR=%{buildroot} install
45
+%make_install %{?_smp_mflags}
46 46
 
47
+%if 0%{?with_check}
47 48
 %check
48 49
 #need read content from /etc/fstab, which couldn't be empty
49 50
 echo '#test' > /etc/fstab
50 51
 export GIO_EXTRA_MODULES=/usr/lib/gio/modules; make check
52
+%endif
51 53
 
52
-%post	-p /sbin/ldconfig
53
-%postun	-p /sbin/ldconfig
54
+%post   -p /sbin/ldconfig
55
+%postun -p /sbin/ldconfig
54 56
 
55 57
 %files
56 58
 %defattr(-,root,root)
... ...
@@ -61,39 +67,40 @@ export GIO_EXTRA_MODULES=/usr/lib/gio/modules; make check
61 61
 %files devel
62 62
 %defattr(-,root,root)
63 63
 %{_libdir}/*.so
64
-%{_libdir}/*.la
65 64
 %{_libdir}/glibmm-2.66/include/*
66 65
 %{_libdir}/giomm-2.66/include/*
67 66
 %{_includedir}/*
68 67
 %{_datadir}/*
69 68
 
70 69
 %changelog
71
-*   Mon Sep 21 2020 Gerrit Photon <photon-checkins@vmware.com> 2.65.3-1
72
--   Automatic Version Bump
73
-*   Tue Jun 23 2020 Tapas Kundu <tkundu@vmware.com> 2.56.0-2
74
--   Build with python3
75
--   Mass removal python2
76
-*   Fri Sep 14 2018 Keerthana K <keerthanak@vmware.com> 2.56.0-1
77
--   Update to version 2.56.0
78
-*   Thu Aug 24 2017 Rongrong Qiu <rqiu@vmware.com> 2.50.1-2
79
--   add buildrequires for make check for bug 1900286
80
-*   Fri May 26 2017 Harish Udaiya Kumar <hudaiykumar@vmware.com> 2.50.1-1
81
--   Downgrade to stable version 2.50.1
82
-*   Mon Apr 10 2017 Danut Moraru <dmoraru@vmware.com> 2.53.1-1
83
--   Update to version 2.53.1
84
-*   Thu Oct 06 2016 ChangLee <changlee@vmware.com> 2.48.1-2
85
--   Modified %check
86
-*   Tue Sep 06 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.48.1-1
87
--   Updated to version 2.48.1-1
88
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.47.3.1-2
89
--   GA - Bump release of all rpms
90
-*   Thu Apr 14 2016	Harish Udaiya Kumar<hudaiyakumar@vmware.com> 2.47.3.1-1
91
-    Updated to version 2.47.3.1
92
-*   Mon Feb 22 2016 XIaolin Li <xiaolinl@vmware.com> 2.46.3-1
93
--   Updated to version 2.46.3
94
-*   Tue Jul 7 2015 Alexey Makhalov <amakhalov@vmware.com> 2.42.0-3
95
--   Created devel subpackage. Added Summary.
96
-*   Tue Jun 23 2015 Alexey Makhalov <amakhalov@vmware.com> 2.42.0-2
97
--   Added glib-schemas to build requirements.
98
-*   Wed Nov 12 2014 Mahmoud Bassiouny <mbassiouny@vmware.com> 2.42.0-1
99
--   Initial version
70
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.65.3-2
71
+- Remove .la files
72
+* Mon Sep 21 2020 Gerrit Photon <photon-checkins@vmware.com> 2.65.3-1
73
+- Automatic Version Bump
74
+* Tue Jun 23 2020 Tapas Kundu <tkundu@vmware.com> 2.56.0-2
75
+- Build with python3
76
+- Mass removal python2
77
+* Fri Sep 14 2018 Keerthana K <keerthanak@vmware.com> 2.56.0-1
78
+- Update to version 2.56.0
79
+* Thu Aug 24 2017 Rongrong Qiu <rqiu@vmware.com> 2.50.1-2
80
+- add buildrequires for make check for bug 1900286
81
+* Fri May 26 2017 Harish Udaiya Kumar <hudaiykumar@vmware.com> 2.50.1-1
82
+- Downgrade to stable version 2.50.1
83
+* Mon Apr 10 2017 Danut Moraru <dmoraru@vmware.com> 2.53.1-1
84
+- Update to version 2.53.1
85
+* Thu Oct 06 2016 ChangLee <changlee@vmware.com> 2.48.1-2
86
+- Modified %check
87
+* Tue Sep 06 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.48.1-1
88
+- Updated to version 2.48.1-1
89
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.47.3.1-2
90
+- GA - Bump release of all rpms
91
+* Thu Apr 14 2016 Harish Udaiya Kumar<hudaiyakumar@vmware.com> 2.47.3.1-1
92
+- Updated to version 2.47.3.1
93
+* Mon Feb 22 2016 XIaolin Li <xiaolinl@vmware.com> 2.46.3-1
94
+- Updated to version 2.46.3
95
+* Tue Jul 7 2015 Alexey Makhalov <amakhalov@vmware.com> 2.42.0-3
96
+- Created devel subpackage. Added Summary.
97
+* Tue Jun 23 2015 Alexey Makhalov <amakhalov@vmware.com> 2.42.0-2
98
+- Added glib-schemas to build requirements.
99
+* Wed Nov 12 2014 Mahmoud Bassiouny <mbassiouny@vmware.com> 2.42.0-1
100
+- Initial version
... ...
@@ -1,7 +1,9 @@
1
+%define guile_major_ver 2.2
2
+
1 3
 Summary:        GNU Ubiquitous Intelligent Language for Extensions
2 4
 Name:           guile
3 5
 Version:        2.2.7
4
-Release:        2%{?dist}
6
+Release:        3%{?dist}
5 7
 License:        LGPLv3+
6 8
 URL:            http://www.gnu.org/software/guile
7 9
 Group:          Development/Languages
... ...
@@ -44,16 +46,17 @@ developing applications that use guile.
44 44
 
45 45
 %build
46 46
 %configure --disable-static
47
-make %{?_smp_mflags}
47
+%make_build
48 48
 
49 49
 %install
50
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
50
+%make_install %{?_smp_mflags}
51 51
 
52
-rm %{buildroot}%{_libdir}/*.scm \
53
-   %{buildroot}%{_infodir}/*
52
+rm -f %{buildroot}%{_libdir}/*.scm \
53
+      %{buildroot}%{_infodir}/* \
54
+      %{buildroot}%{_libdir}/*.la
54 55
 
55
-%check
56 56
 %if 0%{?with_check}
57
+%check
57 58
 make %{?_smp_mflags} check
58 59
 %endif
59 60
 
... ...
@@ -66,18 +69,19 @@ make %{?_smp_mflags} check
66 66
 %{_libdir}/*.so.*
67 67
 %{_libdir}/guile/*
68 68
 %{_mandir}/man1/*
69
-%{_datadir}/aclocal/*.m4
70
-%{_datadir}/guile/*
71
-%{_libdir}/*.la
72 69
 
73 70
 %files devel
74 71
 %defattr(-,root,root)
75
-%{_includedir}/guile/2.2/*.h
76
-%{_includedir}/guile/2.2/libguile/*.h
72
+%{_datadir}/aclocal/*.m4
73
+%{_includedir}/guile/%{guile_major_ver}/*.h
74
+%{_includedir}/guile/%{guile_major_ver}/libguile/*.h
77 75
 %{_libdir}/*.so
78 76
 %{_libdir}/pkgconfig/*.pc
77
+%{_datadir}/guile/*
79 78
 
80 79
 %changelog
80
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.2.7-3
81
+- Remove .la files
81 82
 * Tue May 10 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.2.7-2
82 83
 - Bump version as a part of libffi upgrade
83 84
 * Mon May 03 2021 Gerrit Photon <photon-checkins@vmware.com> 2.2.7-1
... ...
@@ -5,11 +5,12 @@ Release:       1%{?dist}
5 5
 License:       GPLv2 and MIT
6 6
 URL:           https://github.com/ivmai/libatomic_ops
7 7
 Group:         Development/Libraries
8
-Source0:       http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-%{version}.tar.gz
9
-%define sha512 libatomic_ops=bbf98a38a80c8fe6b7eab773967edc55b8d48be32b36ed827fb835ee3dcd96d5ec1dc97149714e015e93a0a5b9fc03595797663fdb5a0f673869ea8bfe640df5
10 8
 Vendor:        VMware, Inc.
11 9
 Distribution:  Photon
12 10
 
11
+Source0:       http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-%{version}.tar.gz
12
+%define sha512 libatomic_ops=bbf98a38a80c8fe6b7eab773967edc55b8d48be32b36ed827fb835ee3dcd96d5ec1dc97149714e015e93a0a5b9fc03595797663fdb5a0f673869ea8bfe640df5
13
+
13 14
 %description
14 15
 This package provides semi-portable access to hardware-provided atomic memory update operations on a number of architectures.
15 16
 
... ...
@@ -28,14 +29,14 @@ Libraries and header files for libatomic_ops library.
28 28
 
29 29
 %build
30 30
 %configure \
31
-            --bindir=%{_sbindir}     \
32
-            --enable-shared \
33
-            --disable-silent-rules
31
+        --bindir=%{_sbindir} \
32
+        --enable-shared \
33
+        --disable-silent-rules
34 34
 
35
-make %{?_smp_mflags}
35
+%make_build
36 36
 
37 37
 %install
38
-make DESTDIR=%{buildroot} %{?_smp_mflags} install
38
+%make_install %{?_smp_mflags}
39 39
 find %{buildroot} -name '*.la' -delete
40 40
 
41 41
 %check
... ...
@@ -65,11 +66,11 @@ rm -rf %{buildroot}/*
65 65
 %{_libdir}/pkgconfig/atomic_ops.pc
66 66
 
67 67
 %changelog
68
-*   Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 7.6.12-1
69
--   Automatic Version Bump
70
-*   Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 7.6.10-1
71
--   Automatic Version Bump
72
-*   Thu Sep 13 2018 Siju Maliakkal <smaliakkal@vmware.com> 7.6.6-1
73
--   Updated to latest version
74
-*   Tue Jul 26 2016 Xiaolin Li <xiaolinl@vmware.com> 7.4.4-1
75
--   Initial build. First version.
68
+* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 7.6.12-1
69
+- Automatic Version Bump
70
+* Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 7.6.10-1
71
+- Automatic Version Bump
72
+* Thu Sep 13 2018 Siju Maliakkal <smaliakkal@vmware.com> 7.6.6-1
73
+- Updated to latest version
74
+* Tue Jul 26 2016 Xiaolin Li <xiaolinl@vmware.com> 7.4.4-1
75
+- Initial build. First version.
... ...
@@ -1,14 +1,16 @@
1 1
 Summary:      Lightweight C library that eases the writing of UNIX daemons
2 2
 Name:         libdaemon
3 3
 Version:      0.14
4
-Release:      2%{?dist}
4
+Release:      3%{?dist}
5 5
 License:      LGPL 2.1+
6 6
 URL:          http://0pointer.de/lennart/projects/libdaemon
7
-Source0:      http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz
8
-%define sha1 libdaemon=78a4db58cf3a7a8906c35592434e37680ca83b8f
9 7
 Group:        System Environment/Libraries
10 8
 Vendor:       VMware, Inc.
11 9
 Distribution: Photon
10
+
11
+Source0:      http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz
12
+%define sha512  %{name}=a96b25c09bd63cc192c1c5f8b5bf34cc6ad0c32d42ac14b520add611423b6ad3d64091a47e0c7ab9a94476a5e645529abccea3ed6b23596567163fba88131ff2
13
+
12 14
 %description
13 15
 The libdaemon package is a lightweight C library that eases the writing of UNIX daemons.
14 16
 
... ...
@@ -24,12 +26,11 @@ developing applications that use libdaemon.
24 24
 %autosetup -p1
25 25
 
26 26
 %build
27
-%configure  \
28
-    --disable-lynx
29
-make %{?_smp_mflags}
27
+%configure --disable-lynx
28
+%make_build
30 29
 
31 30
 %install
32
-make DESTDIR=%{buildroot} install
31
+%make_install %{?_smp_mflags}
33 32
 
34 33
 %ldconfig_scriptlets
35 34
 
... ...
@@ -44,11 +45,12 @@ make DESTDIR=%{buildroot} install
44 44
 %{_libdir}/pkgconfig/*.pc
45 45
 %dir %{_includedir}/libdaemon
46 46
 %{_includedir}/libdaemon/*.h
47
-%{_libdir}/*.la
48 47
 %{_libdir}/*.a
49 48
 %{_libdir}/*.so
50 49
 
51 50
 %changelog
51
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.14-3
52
+- Remove .la files
52 53
 * Mon Aug 02 2021 Susant Sahani <ssahani@vmware.com> 0.14-2
53 54
 - Use autosetup and ldconfig scriptlets
54 55
 * Tue Dec 08 2020 Him Kalyan Bordoloi <bordoloih@vmware.com> 0.14-1
... ...
@@ -1,47 +1,45 @@
1
-Summary:	String handling essentials library
2
-Name:		libestr
3
-Version:	0.1.11
4
-Release:	1%{?dist}
5
-License:	LGPLv2+
6
-URL:		http://libestr.adiscon.com/
7
-Source0:	http://libestr.adiscon.com/files/download/%{name}-%{version}.tar.gz
8
-%define sha1 libestr=3acdf7dae0c3e0fa3dabf43267a1fb5f625c0606
9
-Group:		System Environment/Base
10
-Vendor:		VMware, Inc.
11
-Distribution:	Photon
1
+Summary:    String handling essentials library
2
+Name:       libestr
3
+Version:    0.1.11
4
+Release:    2%{?dist}
5
+License:    LGPLv2+
6
+URL:        http://libestr.adiscon.com/
7
+Group:      System Environment/Base
8
+Vendor:     VMware, Inc.
9
+Distribution:   Photon
10
+
11
+Source0:    http://libestr.adiscon.com/files/download/%{name}-%{version}.tar.gz
12
+%define sha512  %{name}=0ab98c2fa4b58cf6fee89c88602725b8b5e8e5a171a6976cdd8cff4dfc1cd3e5b747868da74fccd1bca66b9fa524ceae1c4f1ad5ee653a44ff81df6916ab5328
12 13
 
13 14
 %description
14 15
 This package compiles the string handling essentials library
15 16
 used by the Rsyslog daemon.
16 17
 
17 18
 %package devel
18
-Summary:	Development libraries for string handling
19
-Requires:	libestr
19
+Summary:    Development libraries for string handling
20
+Requires:   %{name} = %{version}-%{release}
20 21
 
21 22
 %description devel
22 23
 The package contains libraries and header files for
23 24
 developing applications that use libestr.
24 25
 
25 26
 %prep
26
-%setup -q
27
+%autosetup -p1
27 28
 
28 29
 %build
29 30
 %configure
30
-
31
-make %{?_smp_mflags}
31
+%make_build
32 32
 
33 33
 %install
34
-make DESTDIR=%{buildroot} install
35
-
36
-%post	-p /sbin/ldconfig
34
+%make_install %{?_smp_mflags}
37 35
 
38
-%postun	-p /sbin/ldconfig
36
+%post   -p /sbin/ldconfig
37
+%postun -p /sbin/ldconfig
39 38
 
40 39
 %files
41 40
 %defattr(-,root,root)
42 41
 %{_libdir}/*.so.*
43 42
 %{_libdir}/*.a
44
-%{_libdir}/*.la
45 43
 
46 44
 %files devel
47 45
 %defattr(-,root,root)
... ...
@@ -50,9 +48,11 @@ make DESTDIR=%{buildroot} install
50 50
 %{_libdir}/pkgconfig/*.pc
51 51
 
52 52
 %changelog
53
-*   Tue Jul 07 2020 Shreenidhi Shedi <sshedi@vmware.com> 0.1.11-1
54
--   Upgrade version to 0.1.11
55
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.1.10-2
56
--   GA - Bump release of all rpms
57
-*   Wed Jun 17 2015 Divya Thaluru <dthaluru@vmware.com> 0.1.10-1
58
--   Initial build. First version
53
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.1.11-2
54
+- Remove .la files
55
+* Tue Jul 07 2020 Shreenidhi Shedi <sshedi@vmware.com> 0.1.11-1
56
+- Upgrade version to 0.1.11
57
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.1.10-2
58
+- GA - Bump release of all rpms
59
+* Wed Jun 17 2015 Divya Thaluru <dthaluru@vmware.com> 0.1.10-1
60
+- Initial build. First version
... ...
@@ -1,16 +1,19 @@
1 1
 Summary:        Crypto Libraries
2 2
 Name:           libgcrypt
3 3
 Version:        1.10.1
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 License:        GPLv2+ and LGPLv2+
6
-URL:            http://www.gnu.org/software/libgcrypt/
7
-Source0:        ftp://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.bz2
8
-%define sha512  libgcrypt=e5ca7966624fff16c3013795836a2c4377f0193dbb4ac5ad2b79654b1fa8992e17d83816569a402212dc8367a7980d4141f5d6ac282bae6b9f02186365b61f13
6
+URL:            http://www.gnu.org/software/libgcrypt
9 7
 Group:          System Environment/Libraries
10 8
 Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+
11
+Source0:        ftp://ftp.gnupg.org/gcrypt/libgcrypt/%{name}-%{version}.tar.bz2
12
+%define sha512  %{name}=e5ca7966624fff16c3013795836a2c4377f0193dbb4ac5ad2b79654b1fa8992e17d83816569a402212dc8367a7980d4141f5d6ac282bae6b9f02186365b61f13
13
+
11 14
 BuildRequires:  libgpg-error-devel
15
+
12 16
 Requires:       libgpg-error
13
-Distribution:   Photon
14 17
 
15 18
 %description
16 19
 The libgcrypt package contains a general purpose crypto library based on the code used in GnuPG.
... ...
@@ -25,27 +28,30 @@ Requires:       libgpg-error-devel
25 25
 The package contains libraries and header files for developing applications that use libgcrypt.
26 26
 
27 27
 %prep
28
-%autosetup
28
+%autosetup -p1
29 29
 
30 30
 %build
31
-if [ %{_host} != %{_build} ] ; then
31
+if [ %{_host} != %{_build} ]; then
32 32
 %configure \
33 33
     --with-sysroot=/target-%{_arch} \
34 34
     ac_cv_sys_symbol_underscore=no
35 35
 else
36 36
 %configure
37 37
 fi
38
-make %{?_smp_mflags}
38
+
39
+%make_build
39 40
 
40 41
 %install
41
-make DESTDIR=%{buildroot} %{?_smp_mflags} install
42
-rm -rf %{buildroot}%{_infodir}
42
+%make_install %{?_smp_mflags}
43
+
44
+rm -rf %{buildroot}%{_infodir} \
45
+       %{buildroot}%{_libdir}/*.la
43 46
 
44 47
 %check
45 48
 make %{?_smp_mflags} check
46 49
 
47
-%post	-p /sbin/ldconfig
48
-%postun	-p /sbin/ldconfig
50
+%post   -p /sbin/ldconfig
51
+%postun -p /sbin/ldconfig
49 52
 
50 53
 %files
51 54
 %defattr(-,root,root)
... ...
@@ -57,34 +63,35 @@ make %{?_smp_mflags} check
57 57
 %defattr(-,root,root)
58 58
 %{_includedir}/*.h
59 59
 %{_datadir}/aclocal/*
60
-%{_libdir}/*.la
61 60
 %{_libdir}/*.so
62 61
 %{_libdir}/pkgconfig/libgcrypt.pc
63 62
 
64 63
 %changelog
65
-*   Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.10.1-1
66
--   Automatic Version Bump
67
-*   Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 1.9.3-1
68
--   Automatic Version Bump
69
-*   Tue Jul 28 2020 Ankit Jain <ankitja@vmware.com> 1.8.6-2
70
--   Release Bump up to fix libgpg-error build issue
71
-*   Wed Jul 08 2020 Gerrit Photon <photon-checkins@vmware.com> 1.8.6-1
72
--   Automatic Version Bump
73
-*   Thu Oct 17 2019 Ankit Jain <ankitja@vmware.com> 1.8.5-1
74
--   Updated to version 1.8.5
75
-*   Tue Nov 06 2018 Sriram Nambakam <snambakam@vmware.com> 1.8.3-2
76
--   Cross compilation support
77
-*   Mon Sep 10 2018 Bo Gan <ganb@vmware.com> 1.8.3-1
78
--   Update to 1.8.3
79
-*   Tue Oct 10 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.8.1-1
80
--   Updated to v1.8.1 to address CVE-2017-0379
81
-*   Tue Apr 04 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.7.6-1
82
--   Udpated to version 1.7.6
83
-*   Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 1.6.5-3
84
--   Required libgpg-error-devel.
85
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.6.5-2
86
--   GA - Bump release of all rpms
87
-*   Tue Feb 23 2016 Anish Swaminathan <anishs@vmware.com>  1.6.5-1
88
--   Upgrade to 1.6.5
89
-*   Wed Jun 17 2015 Divya Thaluru <dthaluru@vmware.com> 1.6.3-1
90
--   Initial build. First version.
64
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.10.1-2
65
+- Remove .la files
66
+* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.10.1-1
67
+- Automatic Version Bump
68
+* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 1.9.3-1
69
+- Automatic Version Bump
70
+* Tue Jul 28 2020 Ankit Jain <ankitja@vmware.com> 1.8.6-2
71
+- Release Bump up to fix libgpg-error build issue
72
+* Wed Jul 08 2020 Gerrit Photon <photon-checkins@vmware.com> 1.8.6-1
73
+- Automatic Version Bump
74
+* Thu Oct 17 2019 Ankit Jain <ankitja@vmware.com> 1.8.5-1
75
+- Updated to version 1.8.5
76
+* Tue Nov 06 2018 Sriram Nambakam <snambakam@vmware.com> 1.8.3-2
77
+- Cross compilation support
78
+* Mon Sep 10 2018 Bo Gan <ganb@vmware.com> 1.8.3-1
79
+- Update to 1.8.3
80
+* Tue Oct 10 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.8.1-1
81
+- Updated to v1.8.1 to address CVE-2017-0379
82
+* Tue Apr 04 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.7.6-1
83
+- Udpated to version 1.7.6
84
+* Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 1.6.5-3
85
+- Required libgpg-error-devel.
86
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.6.5-2
87
+- GA - Bump release of all rpms
88
+* Tue Feb 23 2016 Anish Swaminathan <anishs@vmware.com>  1.6.5-1
89
+- Upgrade to 1.6.5
90
+* Wed Jun 17 2015 Divya Thaluru <dthaluru@vmware.com> 1.6.3-1
91
+- Initial build. First version.
91 92
deleted file mode 100644
... ...
@@ -1,26 +0,0 @@
1
-From 8b111b2b4a4842179be66db68d84dda91a246032 Mon Sep 17 00:00:00 2001
2
-From: maryam ebrahimzadeh <maryam.ebr@student.sharif.edu>
3
-Date: Mon, 19 Jul 2021 10:07:13 +0430
4
-Subject: [PATCH] fix read out-of-bands in reading tga header file
5
-
6
- src/gd_tga.c | 6 +++++-
7
- 1 file changed, 5 insertions(+), 1 deletion(-)
8
-
9
-diff --git a/src/gd_tga.c b/src/gd_tga.c
10
-index cae9428da..286febb28 100644
11
-+++ b/src/gd_tga.c
12
-@@ -191,7 +191,11 @@ int read_header_tga(gdIOCtx *ctx, oTga *tga)
13
- 			return -1;
14
- 		}
15
- 
16
--		gdGetBuf(tga->ident, tga->identsize, ctx);
17
-+		
18
-+		if (gdGetBuf(tga->ident, tga->identsize, ctx) != tga->identsize) {
19
-+			gd_error("fail to read header ident");
20
-+			return -1;
21
-+		}
22
- 	}
23
- 
24
- 	return 1;
25 1
deleted file mode 100644
... ...
@@ -1,124 +0,0 @@
1
-From e95059590fadaabd9aadc0c0489804d75a3c5d52 Mon Sep 17 00:00:00 2001
2
-From: maryam ebrahimzadeh <maryam.ebr@student.sharif.edu>
3
-Date: Mon, 19 Jul 2021 18:52:50 +0430
4
-Subject: [PATCH 1/3] gdImageGd2Ptr memory leak
5
-
6
- src/gd_gd2.c | 18 ++++++++++++++----
7
- 1 file changed, 14 insertions(+), 4 deletions(-)
8
-
9
-diff --git a/src/gd_gd2.c b/src/gd_gd2.c
10
-index 760e85b9f..84ec53375 100644
11
-+++ b/src/gd_gd2.c
12
-@@ -1,4 +1,4 @@
13
--/*
14
-+
/*
15
-    * gd_gd2.c
16
-    *
17
-    * Implements the I/O and support for the GD2 format.
18
-@@ -910,9 +910,11 @@ _gd2PutHeader (gdImagePtr im, gdIOCtx * out, int cs, int fmt, int cx, int cy)
19
- 
20
- }
21
- 
22
--static void
23
-+/* returns 0 on success, 1 on failure */
24
-+static int
25
- _gdImageGd2 (gdImagePtr im, gdIOCtx * out, int cs, int fmt)
26
- {
27
-+	int ret = 0;
28
- 	int ncx, ncy, cx, cy;
29
- 	int x, y, ylo, yhi, xlo, xhi;
30
- 	int chunkLen;
31
-@@ -974,10 +976,12 @@ _gdImageGd2 (gdImagePtr im, gdIOCtx * out, int cs, int fmt)
32
- 		/* */
33
- 		chunkData = gdCalloc (cs * bytesPerPixel * cs, 1);
34
- 		if (!chunkData) {
35
-+			ret = 1;
36
- 			goto fail;
37
- 		}
38
- 		compData = gdCalloc (compMax, 1);
39
- 		if (!compData) {
40
-+			ret = 1;
41
- 			goto fail;
42
- 		}
43
- 
44
-@@ -992,6 +996,7 @@ _gdImageGd2 (gdImagePtr im, gdIOCtx * out, int cs, int fmt)
45
- 
46
- 		chunkIdx = gdCalloc (idxSize * sizeof (t_chunk_info), 1);
47
- 		if (!chunkIdx) {
48
-+			ret = 1;
49
- 			goto fail;
50
- 		}
51
- 	};
52
-@@ -1107,6 +1112,8 @@ _gdImageGd2 (gdImagePtr im, gdIOCtx * out, int cs, int fmt)
53
- 	}
54
- 	GD2_DBG (printf ("Done\n"));
55
- 
56
-+	return ret;
57
-+
58
- }
59
- 
60
- /*
61
-@@ -1128,8 +1135,11 @@ BGD_DECLARE(void *) gdImageGd2Ptr (gdImagePtr im, int cs, int fmt, int *size)
62
- 	void *rv;
63
- 	gdIOCtx *out = gdNewDynamicCtx (2048, NULL);
64
- 	if (out == NULL) return NULL;
65
--	_gdImageGd2 (im, out, cs, fmt);
66
--	rv = gdDPExtractData (out, size);
67
-+	if (_gdImageGd2(im, out, cs, fmt)) {
68
-+		rv = NULL;
69
-+	} else {
70
-+		rv = gdDPExtractData(out, size);
71
-+	}
72
- 	out->gd_free (out);
73
- 	return rv;
74
- }
75
-
76
-From e8eeb8dde5bc4c9d4e7ae1ab43d9fd1780ceb792 Mon Sep 17 00:00:00 2001
77
-From: Maryam Ebrahimzadeh <61263086+me22bee@users.noreply.github.com>
78
-Date: Tue, 24 Aug 2021 11:46:07 +0430
79
-Subject: [PATCH 2/3] trigger the github actions
80
-
81
- src/gd_gd2.c | 2 ++
82
- 1 file changed, 2 insertions(+)
83
-
84
-diff --git a/src/gd_gd2.c b/src/gd_gd2.c
85
-index 84ec53375..097c93d0d 100644
86
-+++ b/src/gd_gd2.c
87
-@@ -1135,11 +1135,13 @@ BGD_DECLARE(void *) gdImageGd2Ptr (gdImagePtr im, int cs, int fmt, int *size)
88
- 	void *rv;
89
- 	gdIOCtx *out = gdNewDynamicCtx (2048, NULL);
90
- 	if (out == NULL) return NULL;
91
-+	
92
- 	if (_gdImageGd2(im, out, cs, fmt)) {
93
- 		rv = NULL;
94
- 	} else {
95
- 		rv = gdDPExtractData(out, size);
96
- 	}
97
-+	
98
- 	out->gd_free (out);
99
- 	return rv;
100
- }
101
-
102
-From a1d4caace613d31209b42d22d9f7ebe37c381f9a Mon Sep 17 00:00:00 2001
103
-From: Maryam Ebrahimzadeh <61263086+me22bee@users.noreply.github.com>
104
-Date: Tue, 24 Aug 2021 12:02:23 +0430
105
-Subject: [PATCH 3/3] remove non-printable bytes
106
-
107
- src/gd_gd2.c | 2 +-
108
- 1 file changed, 1 insertion(+), 1 deletion(-)
109
-
110
-diff --git a/src/gd_gd2.c b/src/gd_gd2.c
111
-index 097c93d0d..5c57d44a6 100644
112
-+++ b/src/gd_gd2.c
113
-@@ -1,4 +1,4 @@
114
--
/*
115
-+/*
116
-    * gd_gd2.c
117
-    *
118
-    * Implements the I/O and support for the GD2 format.
119 1
deleted file mode 100644
... ...
@@ -1,216 +0,0 @@
1
-From e5c84f0b7a2e2cef8d8630bd8c26a2f859e959ff Mon Sep 17 00:00:00 2001
2
-From: Pierre Joye <pierre.php@gmail.com>
3
-Date: Tue, 7 Sep 2021 22:03:21 +0700
4
-Subject: [PATCH 1/2] Partial fix for #750
5
-
6
- src/gd_bmp.c  | 33 ++++++++++++++++++++++++++++-----
7
- src/gd_webp.c | 42 +++++++++++++++++++++++++++++++++---------
8
- 2 files changed, 61 insertions(+), 14 deletions(-)
9
-
10
-diff --git a/src/gd_bmp.c b/src/gd_bmp.c
11
-index e1194c54..c1b4d4ae 100644
12
-+++ b/src/gd_bmp.c
13
-@@ -23,6 +23,7 @@
14
- #include <stdlib.h>
15
- #include "gd.h"
16
- #include "gdhelpers.h"
17
-+#include "gd_errors.h"
18
- #include "bmp.h"
19
- 
20
- static int compress_row(unsigned char *uncompressed_row, int length);
21
-@@ -39,6 +40,7 @@ static int bmp_read_1bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp
22
- static int bmp_read_4bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header);
23
- static int bmp_read_8bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header);
24
- static int bmp_read_rle(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info);
25
-+static int _gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression);
26
- 
27
- #define BMP_DEBUG(s)
28
- 
29
-@@ -87,8 +89,22 @@ BGD_DECLARE(void) gdImageBmp(gdImagePtr im, FILE *outFile, int compression)
30
- 
31
- /*
32
- 	Function: gdImageBmpCtx
33
-+	Outputs the given image as BMP data, but using a <gdIOCtx> instead
34
-+	of a file. See <gdImageBmp>.
35
-+	Parameters:
36
-+		im			- the image to save.
37
-+		out 		- the <gdIOCtx> to write to.
38
-+		compression - whether to apply RLE or not.
39
- */
40
- BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression)
41
-+{
42
-+	_gdImageBmpCtx(im, out, compression);
43
-+}
44
-+
45
-+/*
46
-+	Function: _gdImageBmpCtx
47
-+*/
48
-+static int _gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression)
49
- {
50
- 	int bitmap_size = 0, info_size, total_size, padding;
51
- 	int i, row, xpos, pixel;
52
-@@ -96,6 +112,7 @@ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression)
53
- 	unsigned char *uncompressed_row = NULL, *uncompressed_row_start = NULL;
54
- 	FILE *tmpfile_for_compression = NULL;
55
- 	gdIOCtxPtr out_original = NULL;
56
-+        int ret = 1;
57
- 
58
- 	/* No compression if its true colour or we don't support seek */
59
- 	if (im->trueColor) {
60
-@@ -203,8 +220,11 @@ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression)
61
- 				}
62
- 				bitmap_size += compressed_size;
63
- 
64
--
65
--				gdPutBuf(uncompressed_row, compressed_size, out);
66
-+                                if (gdPutBuf(uncompressed_row, compressed_size, out) != compressed_size){
67
-+                                        gd_error("gd-bmp write error\n");
68
-+                                        error = 1;
69
-+                                        break;
70
-+                                }
71
- 				Putchar(BMP_RLE_COMMAND, out);
72
- 				Putchar(BMP_RLE_ENDOFLINE, out);
73
- 				bitmap_size += 2;
74
-@@ -263,7 +283,10 @@ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression)
75
- 			if (buffer_size == 0) {
76
- 				break;
77
- 			}
78
--			gdPutBuf(copy_buffer , buffer_size, out_original);
79
-+			if (gdPutBuf(copy_buffer , buffer_size, out_original) != buffer_size) {
80
-+				gd_error("gd-bmp write error\n");
81
-+				error = 1;
82
-+			}
83
- 		}
84
- 		gdFree(copy_buffer);
85
- 
86
-@@ -272,7 +295,7 @@ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression)
87
- 		out = out_original;
88
- 		out_original = NULL;
89
- 	}
90
--
91
-+        ret = error;
92
- cleanup:
93
- 	if (tmpfile_for_compression) {
94
- #ifdef _WIN32
95
-@@ -286,7 +309,7 @@ cleanup:
96
- 	if (out_original) {
97
- 		out_original->gd_free(out_original);
98
- 	}
99
--	return;
100
-+	return ret;
101
- }
102
- 
103
- static int compress_row(unsigned char *row, int length)
104
-diff --git a/src/gd_webp.c b/src/gd_webp.c
105
-index 98628cff..a78f93fc 100644
106
-+++ b/src/gd_webp.c
107
-@@ -105,21 +105,23 @@ gdImagePtr gdImageCreateFromWebpCtx (gdIOCtx * infile)
108
- 	return im;
109
- }
110
- 
111
--void gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quantization)
112
-+/* returns 0 on success, 1 on failure */
113
-+static int _gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quantization)
114
- {
115
- 	uint8_t *argb;
116
- 	int x, y;
117
- 	uint8_t *p;
118
- 	uint8_t *out;
119
- 	size_t out_size;
120
-+        int ret = 0;
121
- 
122
- 	if (im == NULL) {
123
--		return;
124
-+		return 1;
125
- 	}
126
- 
127
- 	if (!gdImageTrueColor(im)) {
128
- 		gd_error("Paletter image not supported by webp");
129
--		return;
130
-+		return 1;
131
- 	}
132
- 
133
- 	if (quantization == -1) {
134
-@@ -128,7 +130,7 @@ void gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quantization)
135
- 
136
- 	argb = (uint8_t *)gdMalloc(gdImageSX(im) * 4 * gdImageSY(im));
137
- 	if (!argb) {
138
--		return;
139
-+		return 1;
140
- 	}
141
- 	p = argb;
142
- 	for (y = 0; y < gdImageSY(im); y++) {
143
-@@ -153,11 +155,33 @@ void gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quantization)
144
- 		gd_error("gd-webp encoding failed");
145
- 		goto freeargb;
146
- 	}
147
--	gdPutBuf(out, out_size, outfile);
148
-+        int res = gdPutBuf(out, out_size, outfile);
149
- 	free(out);
150
-+        if (res != out_size) {
151
-+                gd_error("gd-webp write error\n");
152
-+                ret = 1;
153
-+        }
154
- 
155
- freeargb:
156
- 	gdFree(argb);
157
-+
158
-+return ret;
159
-+}
160
-+
161
-+/*
162
-+  Function: gdImageWebpCtx
163
-+    Write the image as WebP data via a <gdIOCtx>. See <gdImageWebpEx>
164
-+    for more details.
165
-+  Parameters:
166
-+    im      - The image to write.
167
-+    outfile - The output sink.
168
-+    quality - Image quality.
169
-+  Returns:
170
-+    Nothing.
171
-+*/
172
-+BGD_DECLARE(void) gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quality)
173
-+{
174
-+        _gdImageWebpCtx(im, outfile, quality);
175
- }
176
- 
177
- /*
178
-@@ -169,7 +193,7 @@ BGD_DECLARE(void) gdImageWebpEx (gdImagePtr im, FILE * outFile, int quantization
179
- 	if (out == NULL) {
180
- 		return;
181
- 	}
182
--	gdImageWebpCtx(im, out, quantization);
183
-+	_gdImageWebpCtx(im, out, quantization);
184
- 	out->gd_free(out);
185
- }
186
- 
187
-@@ -182,7 +206,7 @@ BGD_DECLARE(void) gdImageWebp (gdImagePtr im, FILE * outFile)
188
- 	if (out == NULL) {
189
- 		return;
190
- 	}
191
--	gdImageWebpCtx(im, out, -1);
192
-+	_gdImageWebpCtx(im, out, -1);
193
- 	out->gd_free(out);
194
- }
195
- 
196
-@@ -196,7 +220,7 @@ BGD_DECLARE(void *) gdImageWebpPtr (gdImagePtr im, int *size)
197
- 	if (out == NULL) {
198
- 		return NULL;
199
- 	}
200
--	gdImageWebpCtx(im, out, -1);
201
-+	_gdImageWebpCtx(im, out, -1);
202
- 	rv = gdDPExtractData(out, size);
203
- 	out->gd_free(out);
204
- 
205
-@@ -213,7 +237,7 @@ BGD_DECLARE(void *) gdImageWebpPtrEx (gdImagePtr im, int *size, int quantization
206
- 	if (out == NULL) {
207
- 		return NULL;
208
- 	}
209
--	gdImageWebpCtx(im, out, quantization);
210
-+	_gdImageWebpCtx(im, out, quantization);
211
- 	rv = gdDPExtractData(out, size);
212
- 	out->gd_free(out);
213
- 	return rv;
... ...
@@ -1,26 +1,27 @@
1 1
 Summary:        GD is an open source code library for the dynamic creation of images by programmers.
2 2
 Name:           libgd
3
-Version:        2.2.3
3
+Version:        2.3.3
4 4
 Release:        1%{?dist}
5 5
 License:        MIT
6
-URL:            https://libgd.github.io/
6
+URL:            https://libgd.github.io
7 7
 Group:          System/Libraries
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10
-Source0:        https://github.com/libgd/libgd/releases/download/gd-%{version}/%{name}-%{version}.tar.gz
11
-%define sha512  libgd=4aa65b42d2a07311281770fd4d9cb291eb2fbb411d1073f5b899b1c3bdfdc27adec7dddcfda9f135b82fa11e5f96e70b0b7eb34a4c9a4a500dd23070a96b32f6
12
-Patch0:         libgd-CVE-2021-38115.patch
13
-Patch1:         libgd-CVE-2021-40145.patch
14
-Patch2:         libgd-CVE-2021-40812.patch
10
+
11
+Source0: https://github.com/libgd/libgd/releases/download/gd-%{version}/%{name}-%{version}.tar.xz
12
+%define sha512 %{name}=aa49d4381d604a4360d556419d603df2ffd689a6dcc10f8e5e1d158ddaa3ab89912f6077ca77da4e370055074007971cf6d356ec9bf26dcf39bcff3208bc7e6c
13
+
15 14
 BuildRequires:  libjpeg-turbo-devel
16 15
 BuildRequires:  libpng-devel
17 16
 BuildRequires:  libwebp-devel
18 17
 BuildRequires:  libtiff-devel
19 18
 BuildRequires:  libltdl-devel
19
+
20 20
 Requires:       libpng
21 21
 Requires:       libwebp
22 22
 Requires:       libtiff
23 23
 Requires:       libjpeg-turbo
24
+
24 25
 Provides:       pkgconfig(libgd)
25 26
 
26 27
 %description
... ...
@@ -41,15 +42,17 @@ Header & Development files
41 41
 
42 42
 %build
43 43
 # To use the system installed automake latest version instead of given version in source
44
-./bootstrap.sh
44
+sh ./bootstrap.sh
45 45
 %configure --with-webp --with-tiff --with-jpeg --with-png --disable-werror --disable-static
46
-make %{?_smp_mflags}
46
+%make_build
47 47
 
48 48
 %install
49 49
 %make_install
50 50
 
51
+%if 0%{?with_check}
51 52
 %check
52 53
 make %{?_smp_mflags} -k check
54
+%endif
53 55
 
54 56
 %files
55 57
 %defattr(-,root,root)
... ...
@@ -59,36 +62,36 @@ make %{?_smp_mflags} -k check
59 59
 %files devel
60 60
 %defattr(-,root,root)
61 61
 %{_includedir}/*
62
-%{_libdir}/*.la
63 62
 %{_libdir}/libgd.so
64 63
 %{_libdir}/pkgconfig/*
65 64
 
66 65
 %changelog
67
-*   Mon Jul 11 2022 Gerrit Photon <photon-checkins@vmware.com> 2.2.3-1
68
--   Automatic Version Bump
69
-*   Mon Jun 20 2022 Shivani Agarwal <shivania2@vmware.com>  2.3.2-4
70
--   Version bump up to use libtiff 4.4.0
71
-*   Fri Sep 24 2021 Nitesh Kumar <kunitesh@vmware.com> 2.3.2-3
72
--   Patched for CVE-2021-40812.
73
-*   Wed Sep 08 2021 Nitesh Kumar <kunitesh@vmware.com> 2.3.2-2
74
--   Patched for CVE-2021-38115 and CVE-2021-40145.
75
-*   Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 2.3.2-1
76
--   Automatic Version Bump
77
-*   Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 2.3.0-1
78
--   Automatic Version Bump
79
-*   Thu Mar 05 2020 Ankit Jain <ankitja@vmware.com>  2.2.5-4
80
--   Fix for CVE-2019-6977, CVE-2018-14553
81
-*   Wed Jan 30 2019 Ankit Jain <ankitja@vmware.com>  2.2.5-3
82
--   Fix for CVE-2019-6978
83
-*   Fri Nov 02 2018 Ankit Jain <ankitja@vmware.com>  2.2.5-2
84
--   Fix for CVE-2018-1000222
85
-*   Tue Oct 10 2017 Alexey Makhalov <amakhalov@vmware.com> 2.2.5-1
86
--   Updated to version 2.2.5 to address CVE-2017-6362
87
-*   Tue Jan 31 2017 Xiaolin Li <xiaolinl@vmware.com> 2.2.4-1
88
--   Updated to version 2.2.4.
89
-*   Wed Jan 18 2017 Kumar Kaushik <kaushikk@vmware.com>  2.2.3-3
90
--   Fix for CVE-2016-8670
91
-*   Fri Oct 07 2016 Anish Swaminathan <anishs@vmware.com>  2.2.3-2
92
--   Fix for CVE-2016-7568
93
-*   Thu Jul 28 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.2.3-1
94
--   Initial version
66
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.3.3-1
67
+- Remove .la files
68
+- Upgrade to v2.3.3
69
+* Mon Jun 20 2022 Shivani Agarwal <shivania2@vmware.com>  2.3.2-4
70
+- Version bump up to use libtiff 4.4.0
71
+* Fri Sep 24 2021 Nitesh Kumar <kunitesh@vmware.com> 2.3.2-3
72
+- Patched for CVE-2021-40812.
73
+* Wed Sep 08 2021 Nitesh Kumar <kunitesh@vmware.com> 2.3.2-2
74
+- Patched for CVE-2021-38115 and CVE-2021-40145.
75
+* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 2.3.2-1
76
+- Automatic Version Bump
77
+* Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 2.3.0-1
78
+- Automatic Version Bump
79
+* Thu Mar 05 2020 Ankit Jain <ankitja@vmware.com>  2.2.5-4
80
+- Fix for CVE-2019-6977, CVE-2018-14553
81
+* Wed Jan 30 2019 Ankit Jain <ankitja@vmware.com>  2.2.5-3
82
+- Fix for CVE-2019-6978
83
+* Fri Nov 02 2018 Ankit Jain <ankitja@vmware.com>  2.2.5-2
84
+- Fix for CVE-2018-1000222
85
+* Tue Oct 10 2017 Alexey Makhalov <amakhalov@vmware.com> 2.2.5-1
86
+- Updated to version 2.2.5 to address CVE-2017-6362
87
+* Tue Jan 31 2017 Xiaolin Li <xiaolinl@vmware.com> 2.2.4-1
88
+- Updated to version 2.2.4.
89
+* Wed Jan 18 2017 Kumar Kaushik <kaushikk@vmware.com>  2.2.3-3
90
+- Fix for CVE-2016-8670
91
+* Fri Oct 07 2016 Anish Swaminathan <anishs@vmware.com>  2.2.3-2
92
+- Fix for CVE-2016-7568
93
+* Thu Jul 28 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.2.3-1
94
+- Initial version
... ...
@@ -1,14 +1,16 @@
1
-Summary:	Logging Libraries
2
-Name:		liblogging
3
-Version:	1.0.6
4
-Release:	1%{?dist}
5
-License: 	BSD
6
-URL:     	http://www.liblogging.org/
7
-Source0: 	http://download.rsyslog.com/liblogging/liblogging-%{version}.tar.gz
8
-%define sha1 liblogging=f07012fc8bd74e0c7bdcacaa772828639d1a9657
9
-Group:		System Environment/Libraries
10
-Vendor:		VMware, Inc.
11
-Distribution:	Photon
1
+Summary:    Logging Libraries
2
+Name:       liblogging
3
+Version:    1.0.6
4
+Release:    2%{?dist}
5
+License:    BSD
6
+URL:        http://www.liblogging.org
7
+Group:      System Environment/Libraries
8
+Vendor:     VMware, Inc.
9
+Distribution:   Photon
10
+
11
+Source0:    http://download.rsyslog.com/liblogging/liblogging-%{version}.tar.gz
12
+%define sha512 %{name}=09c90a93b2d32afa44be5a800705a64690810a56d21bed1455cb70680b01fecd4efef3881a43f98ebcafa996b6046ed8e5af935eacc12014f330a7fd23674964
13
+
12 14
 %description
13 15
 liblogging (the upstream project) is a collection of several components.
14 16
 Namely: stdlog, journalemu, rfc3195.
... ...
@@ -19,46 +21,54 @@ and flexibility for different log destinations (e.g. syslog and systemd
19 19
 journal).
20 20
 
21 21
 %package devel
22
-Summary:	Development libraries and header files for liblogging
23
-Requires:	liblogging
22
+Summary:    Development libraries and header files for liblogging
23
+Requires:   liblogging
24 24
 
25 25
 %description devel
26 26
 The package contains libraries and header files for
27 27
 developing applications that use liblogging.
28 28
 
29 29
 %prep
30
-%setup -q
30
+%autosetup -p1
31
+
31 32
 %build
32
-./configure \
33
-	--prefix=%{_prefix} \
34
-	--disable-journal
35
-make %{?_smp_mflags}
33
+%configure --disable-journal
34
+%make_build
35
+
36 36
 %install
37
-make DESTDIR=%{buildroot} install
37
+%make_install
38 38
 
39
+%if 0%{?with_check}
39 40
 %check
40 41
 make %{?_smp_mflags} check
42
+%endif
43
+
44
+%clean
45
+rm -rf %{buildroot}/*
46
+
47
+%post   -p /sbin/ldconfig
48
+%postun -p /sbin/ldconfig
41 49
 
42
-%post	-p /sbin/ldconfig
43
-%postun	-p /sbin/ldconfig
44 50
 %files
45 51
 %defattr(-,root,root)
46 52
 %{_bindir}/*
47 53
 %{_libdir}/*.so.*
48 54
 %{_mandir}/man1/*
49 55
 %{_mandir}/man3/*
50
-%{_libdir}/*.a
51
-%{_libdir}/*.la
56
+
52 57
 %files devel
53 58
 %defattr(-,root,root)
54 59
 %{_libdir}/*.so
60
+%{_libdir}/*.a
55 61
 %{_libdir}/pkgconfig/*.pc
56 62
 %{_includedir}/liblogging/*.h
57
-%changelog
58
-*	Tue Apr 11 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.0.6-1
59
--	Updated to version 1.0.6
60
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.5-2
61
--	GA - Bump release of all rpms
62
-*	Wed Jun 17 2015 Divya Thaluru <dthaluru@vmware.com> 1.0.5-1
63
--	Initial build. First version
64 63
 
64
+%changelog
65
+* Tue Sep 27 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.0.6-2
66
+- Remove .la files
67
+* Tue Apr 11 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.0.6-1
68
+- Updated to version 1.0.6
69
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.5-2
70
+- GA - Bump release of all rpms
71
+* Wed Jun 17 2015 Divya Thaluru <dthaluru@vmware.com> 1.0.5-1
72
+- Initial build. First version
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Library for talking to WWAN modems and devices
2 2
 Name:           libmbim
3 3
 Version:        1.26.2
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 URL:            https://www.freedesktop.org
6 6
 License:        GPLv2
7 7
 Group:          Applications/System
... ...
@@ -68,10 +68,11 @@ make %{?_smp_mflags} check
68 68
 %files devel
69 69
 %{_includedir}/libmbim-glib/*
70 70
 %{_libdir}/pkgconfig/mbim-glib.pc
71
-%{_libdir}/libmbim-glib.la
72 71
 %{_datadir}/gtk-doc/*
73 72
 
74 73
 %changelog
74
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.26.2-3
75
+- Remove .la files
75 76
 * Sun May 29 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.26.2-2
76 77
 - Fix binary path
77 78
 * Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.26.2-1
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:       A minimalistic user-space library oriented to Netlink developers.
2 2
 Name:          libmnl
3 3
 Version:       1.0.5
4
-Release:       1%{?dist}
4
+Release:       2%{?dist}
5 5
 License:       LGPLv2.1+
6 6
 URL:           http://netfilter.org/projects/libmnl
7 7
 Group:         System Environment/libraries
... ...
@@ -52,10 +52,11 @@ rm -rf %{buildroot}/*
52 52
 %defattr(-,root,root)
53 53
 %{_includedir}/*
54 54
 %{_libdir}/libmnl.so
55
-%{_libdir}/libmnl.la
56 55
 %{_libdir}/pkgconfig/*
57 56
 
58 57
 %changelog
58
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.0.5-2
59
+- Remove .la files
59 60
 * Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.0.5-1
60 61
 - Automatic Version Bump
61 62
 * Mon Aug 02 2021 Susant Sahani <ssahani@vmware.com> 1.0.4-4
... ...
@@ -1,14 +1,16 @@
1 1
 Summary:        A library that provides compression and decompression of file formats used by Microsoft
2 2
 Name:           libmspack
3 3
 Version:        0.10.1alpha
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 License:        LGPLv2+
6
-URL:            http://www.cabextract.org.uk/libmspack/libmspack-0.5alpha.tar.gz
6
+URL:            http://www.cabextract.org.uk/libmspack
7 7
 Group:          Applications/System
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10
+
10 11
 Source0:        http://www.cabextract.org.uk/libmspack/%{name}-%{version}.tar.gz
11
-%define sha1    libmspack=82a6a102a2422d4d61bdd00f059bd3978409ca5f
12
+%define sha512 %{name}=a7b5f7caa49190c5021f3e768b92f2e51cc0ce685c9ab6ed6fb36de885c73231b58d47a8a3b5c5aa5c9ac56c25c500eb683d84dbf11f09f97f6cb4fff5adc245
13
+
12 14
 %description
13 15
 A library that provides compression and decompression of file formats used by Microsoft
14 16
 
... ...
@@ -19,19 +21,20 @@ Requires:       %{name} = %{version}-%{release}
19 19
 It contains the libraries and header files to create applications.
20 20
 
21 21
 %prep
22
-%setup -q
22
+%autosetup -p1
23 23
 
24 24
 %build
25 25
 %configure
26
-#Package does not support parallel make
27
-make
26
+%make_build
28 27
 
29 28
 %install
30
-make DESTDIR=%{buildroot} install
29
+%make_install %{?_smp_mflags}
31 30
 
31
+%if 0%{?with_check}
32 32
 %check
33 33
 cd test
34 34
 ./cabd_test
35
+%endif
35 36
 
36 37
 %post   -p /sbin/ldconfig
37 38
 %postun -p /sbin/ldconfig
... ...
@@ -44,19 +47,20 @@ cd test
44 44
 %{_libdir}/pkgconfig/*.pc
45 45
 %{_includedir}/*
46 46
 %{_libdir}/*.a
47
-%{_libdir}/*.la
48 47
 %{_libdir}/*.so
49 48
 
50 49
 %changelog
51
-*   Mon Apr 13 2020 Sujay G <gsujay@vmware.com> 0.10.1alpha-1
52
--   Bump version to 0.10.1alpha, to fix CVE-2019-1010305
53
-*   Mon Sep 10 2018 Bo Gan <ganb@vmware.com> 0.7.1alpha-1
54
--   Update to 0.7.1alpha
55
-*   Fri Jun 23 2017 Xiaolin Li <xiaolinl@vmware.com> 0.5alpha-3
56
--   Add devel package.
57
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.5alpha-2
58
--   GA - Bump release of all rpms
59
-*   Fri Jan 22 2016 Xiaolin Li <xiaolinl@vmware.com> 0.5-1
60
--   Updated to version 0.5
61
-*   Thu Nov 06 2014 Sharath George <sharathg@vmware.com> 0.4-1
62
-    Initial version
50
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.10.1alpha-2
51
+- Remove .la files
52
+* Mon Apr 13 2020 Sujay G <gsujay@vmware.com> 0.10.1alpha-1
53
+- Bump version to 0.10.1alpha, to fix CVE-2019-1010305
54
+* Mon Sep 10 2018 Bo Gan <ganb@vmware.com> 0.7.1alpha-1
55
+- Update to 0.7.1alpha
56
+* Fri Jun 23 2017 Xiaolin Li <xiaolinl@vmware.com> 0.5alpha-3
57
+- Add devel package.
58
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.5alpha-2
59
+- GA - Bump release of all rpms
60
+* Fri Jan 22 2016 Xiaolin Li <xiaolinl@vmware.com> 0.5-1
61
+- Updated to version 0.5
62
+* Thu Nov 06 2014 Sharath George <sharathg@vmware.com> 0.4-1
63
+- Initial version
... ...
@@ -1,19 +1,23 @@
1 1
 Summary:       Netfilter conntrack userspace library
2 2
 Name:          libnetfilter_conntrack
3 3
 Version:       1.0.9
4
-Release:       1%{?dist}
4
+Release:       2%{?dist}
5 5
 License:       GPLv2+
6 6
 URL:           http://www.netfilter.org/projects/libnetfilter_conntrack/index.html
7 7
 Group:         System Environment/Libraries
8 8
 Vendor:        VMware, Inc.
9 9
 Distribution:  Photon
10
+
10 11
 Source0:       http://www.netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
11
-%define sha512 libnetfilter_conntrack=e8b03425aaba3b72e6034c215656c34176d0550c08e0455aaeb1365d9141505d0c4feaa8978c8ccf2b7af9db6c9e874ceb866347e533b41cb03a189884f4004c
12
+%define sha512 %{name}=e8b03425aaba3b72e6034c215656c34176d0550c08e0455aaeb1365d9141505d0c4feaa8978c8ccf2b7af9db6c9e874ceb866347e533b41cb03a189884f4004c
12 13
 
13 14
 BuildRequires: libmnl-devel
14 15
 BuildRequires: libnfnetlink-devel
15 16
 BuildRequires: linux-api-headers
16 17
 
18
+Requires: libmnl
19
+Requires: libnfnetlink
20
+
17 21
 %description
18 22
 libnetfilter_conntrack is a userspace library providing a programming
19 23
 interface (API) to the in-kernel connection tracking state table.
... ...
@@ -32,14 +36,14 @@ The %{name}-devel package contains libraries and header files for
32 32
 developing applications that use %{name}.
33 33
 
34 34
 %prep
35
-%autosetup
35
+%autosetup -p1
36 36
 
37 37
 %build
38 38
 %configure --disable-static
39
-make %{?_smp_mflags}
39
+%make_build
40 40
 
41 41
 %install
42
-%make_install
42
+%make_install %{?_smp_mflags}
43 43
 
44 44
 %ldconfig_scriptlets
45 45
 
... ...
@@ -51,16 +55,17 @@ make %{?_smp_mflags}
51 51
 %{_libdir}/pkgconfig/*
52 52
 %{_includedir}/*
53 53
 %{_libdir}/*.so
54
-%{_libdir}/*.la
55 54
 
56 55
 %changelog
57
-*   Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.0.9-1
58
--   Automatic Version Bump
59
-*   Wed Aug 04 2021 Susant Sahani <ssahani@vmware.com> 1.0.8-2
60
--   Modernize spec file. Use ldconfig scriptlets and autosetup
61
-*   Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 1.0.8-1
62
--   Automatic Version Bump
63
-*   Mon Sep 17 2018 Bo Gan <ganb@vmware.com> 1.0.7-1
64
--   Update to 1.0.7
65
-*   Wed Apr 05 2017 Anish Swaminathan <anishs@vmware.com> 1.0.6-1
66
--   Initial packaging.
56
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.0.9-2
57
+- Remove .la files
58
+* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.0.9-1
59
+- Automatic Version Bump
60
+* Wed Aug 04 2021 Susant Sahani <ssahani@vmware.com> 1.0.8-2
61
+- Modernize spec file. Use ldconfig scriptlets and autosetup
62
+* Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 1.0.8-1
63
+- Automatic Version Bump
64
+* Mon Sep 17 2018 Bo Gan <ganb@vmware.com> 1.0.7-1
65
+- Update to 1.0.7
66
+* Wed Apr 05 2017 Anish Swaminathan <anishs@vmware.com> 1.0.6-1
67
+- Initial packaging.
... ...
@@ -1,14 +1,15 @@
1 1
 Summary:      Provides API to packets queued by kernel packet filter
2 2
 Name:         libnetfilter_queue
3 3
 Version:      1.0.5
4
-Release:      2%{?dist}
4
+Release:      3%{?dist}
5 5
 License:      GPLv2
6 6
 URL:          http://www.netfilter.org/projects/libnetfilter_queue/index.html
7 7
 Group:        System Environment/Libraries
8 8
 Vendor:       VMware, Inc.
9 9
 Distribution: Photon
10
+
10 11
 Source0:      http://www.netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
11
-%define sha1 libnetfilter_queue=799e991428e14d65a5dc44d914e9af10a80a3526
12
+%define sha512  %{name}=732a44b602e5efaa4f5582ea25ff8f5ec8f4dca5c0e725cd93fe2d441db80416b25c6018147be90acb262d7428eb5b21b3f7b5920e612d115061ec6a19d67f85
12 13
 
13 14
 BuildRequires:  libmnl-devel
14 15
 BuildRequires:  libnfnetlink-devel
... ...
@@ -36,10 +37,10 @@ developing applications that use %{name}.
36 36
 
37 37
 %build
38 38
 %configure --disable-static
39
-make %{?_smp_mflags}
39
+%make_build
40 40
 
41 41
 %install
42
-%make_install
42
+%make_install %{?_smp_mflags}
43 43
 
44 44
 %ldconfig_scriptlets
45 45
 
... ...
@@ -51,9 +52,10 @@ make %{?_smp_mflags}
51 51
 %{_libdir}/pkgconfig/*.pc
52 52
 %{_includedir}/*
53 53
 %{_libdir}/*.so
54
-%{_libdir}/*.la
55 54
 
56 55
 %changelog
56
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.0.5-3
57
+- Remove .la files
57 58
 * Mon Aug 02 2021 Susant Sahani <ssahani@vmware.com> 1.0.5-2
58 59
 - Use autosetup and ldconfig scriptlets
59 60
 * Tue Jun 30 2020 Gerrit Photon <photon-checkins@vmware.com> 1.0.5-1
... ...
@@ -1,20 +1,21 @@
1 1
 Summary:       Netlink Protocol Library Suite
2 2
 Name:          libnl
3 3
 Version:       3.7.0
4
-Release:       1%{?dist}
4
+Release:       2%{?dist}
5 5
 License:       LGPLv2+
6 6
 Group:         System Environment/Libraries
7 7
 URL:           https://github.com/thom311/libnl
8
-Source0:       https://github.com/thom311/libnl/releases/download/libnl3_5_0/%{name}-%{version}.tar.gz
9
-%define sha512 libnl=80fbbc079299c90afd2a5eda62e4d4f98bf4ef23958c3ce5101f4ed4d81d783af733213bb3bab15f218555d8460bc2394898f909f4ac024fc27281faec86a041
10 8
 Vendor:        VMware, Inc.
11 9
 Distribution:  Photon
12 10
 
11
+Source0: https://github.com/thom311/libnl/releases/download/libnl3_5_0/%{name}-%{version}.tar.gz
12
+%define sha512 %{name}=80fbbc079299c90afd2a5eda62e4d4f98bf4ef23958c3ce5101f4ed4d81d783af733213bb3bab15f218555d8460bc2394898f909f4ac024fc27281faec86a041
13
+
13 14
 BuildRequires: glib-devel
14 15
 BuildRequires: dbus-devel
15 16
 
16
-Requires:      glib
17
-Requires:      dbus
17
+Requires: glib
18
+Requires: dbus
18 19
 
19 20
 %description
20 21
 The libnl suite is a collection of libraries providing APIs to netlink protocol
... ...
@@ -23,25 +24,27 @@ kernel and user space processes. It was designed to be a more flexible successor
23 23
 to ioctl to provide mainly networking related kernel configuration and monitoring
24 24
 interfaces.
25 25
 
26
-%package       devel
26
+%package devel
27 27
 Summary:       Libraries and headers for the libnl
28
-Requires:      libnl
28
+Requires:      %{name} = %{version}-%{release}
29 29
 
30
-%description   devel
30
+%description devel
31 31
 Headers and static libraries for the libnl
32 32
 
33 33
 %prep
34
-%autosetup
34
+%autosetup -p1
35 35
 
36 36
 %build
37 37
 %configure
38
-%make_build %{?_smp_mflags}
38
+%make_build
39 39
 
40 40
 %install
41 41
 %make_install %{?_smp_mflags}
42 42
 
43
+%if 0%{?with_check}
43 44
 %check
44 45
 make %{?_smp_mflags} check
46
+%endif
45 47
 
46 48
 %ldconfig_scriptlets
47 49
 
... ...
@@ -55,13 +58,14 @@ make %{?_smp_mflags} check
55 55
 %files devel
56 56
 %defattr(-,root,root)
57 57
 %{_includedir}/*
58
-%{_libdir}/libnl/*
58
+%{_libdir}/%{name}/*
59 59
 %{_libdir}/*.so
60
-%{_libdir}/*.la
61 60
 %{_libdir}/*.a
62 61
 %{_libdir}/pkgconfig/*.pc
63 62
 
64 63
 %changelog
64
+* Tue Sep 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 3.7.0-2
65
+- Remove .la files
65 66
 * Tue Aug 30 2022 Susant Sahani <ssahani@vmware.com> 3.7.0-1
66 67
 - Version update
67 68
 * Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 3.6.0-1
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Libraries for the public client interface for NIS(YP) and NIS+.
2 2
 Name:           libnsl
3 3
 Version:        2.0.0
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 License:        GPLv2+
6 6
 Group:          System Environment/Libraries
7 7
 URL:            https://github.com/thkukuk/libnsl
... ...
@@ -37,25 +37,26 @@ This package includes header files and libraries necessary for developing progra
37 37
 %build
38 38
 autoreconf -fi
39 39
 %configure $(test %{_host} != %{_build} && echo "--with-sysroot=/target-%{_arch}")
40
-make %{?_smp_mflags}
40
+%make_build
41 41
 
42 42
 %install
43
-make install DESTDIR=%{buildroot} %{?_smp_mflags}
43
+%make_install %{?_smp_mflags}
44 44
 
45 45
 %post -p /sbin/ldconfig
46 46
 %postun -p /sbin/ldconfig
47 47
 
48 48
 %files
49
-%{_libdir}/*.so
50 49
 %{_libdir}/*.so.*
51 50
 
52 51
 %files devel
52
+%{_libdir}/*.so
53 53
 %{_includedir}/rpcsvc/*
54 54
 %{_libdir}/pkgconfig/*
55 55
 %{_libdir}/*.a
56
-%{_libdir}/*.la
57 56
 
58 57
 %changelog
58
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.0.0-2
59
+- Remove .la files
59 60
 * Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 2.0.0-1
60 61
 - Automatic Version Bump
61 62
 * Tue Sep 29 2020 Gerrit Photon <photon-checkins@vmware.com> 1.3.0-1
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:    Library for manipulating pipelines
2 2
 Name:       libpipeline
3 3
 Version:    1.5.5
4
-Release:    1%{?dist}
4
+Release:    2%{?dist}
5 5
 License:    GPLv3+
6 6
 URL:        http://libpipeline.nongnu.org
7 7
 Group:      Applications/System
... ...
@@ -39,6 +39,8 @@ Development files for libpipeline
39 39
 %install
40 40
 %make_install %{?_smp_mflags}
41 41
 
42
+rm -f %{buildroot}%{_libdir}/*.la
43
+
42 44
 %if 0%{?with_check}
43 45
 %check
44 46
 make -C tests check %{?_smp_mflags}
... ...
@@ -55,11 +57,12 @@ make -C tests check %{?_smp_mflags}
55 55
 %defattr(-,root,root)
56 56
 %{_includedir}/*
57 57
 %{_libdir}/*.so
58
-%{_libdir}/*.la
59 58
 %{_libdir}/pkgconfig/*
60 59
 %{_mandir}/man3/*
61 60
 
62 61
 %changelog
62
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.5.5-2
63
+- Remove .la files
63 64
 * Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.5.5-1
64 65
 - Automatic Version Bump
65 66
 * Wed Aug 19 2020 Gerrit Photon <photon-checkins@vmware.com> 1.5.3-1
... ...
@@ -1,33 +1,39 @@
1
-Summary:	contains libraries for reading and writing PNG files.
2
-Name:		libpng
3
-Version:	1.6.37
4
-Release:	1%{?dist}
5
-License:	libpng
6
-URL:		http://www.libpng.org/
7
-Group:		System Environment/Libraries
8
-Vendor:		VMware, Inc.
9
-Distribution:	Photon
10
-Source0:	http://downloads.sourceforge.net/libpng/%{name}-%{version}.tar.xz
11
-%define sha1 libpng=3ab93fabbf4c27e1c4724371df408d9a1bd3f656
12
-Provides:	pkgconfig(libpng)
13
-Provides:	pkgconfig(libpng16)
1
+Summary:    contains libraries for reading and writing PNG files.
2
+Name:       libpng
3
+Version:    1.6.37
4
+Release:    2%{?dist}
5
+License:    libpng
6
+URL:        http://www.libpng.org/
7
+Group:      System Environment/Libraries
8
+Vendor:     VMware, Inc.
9
+Distribution:   Photon
10
+
11
+Source0:    http://downloads.sourceforge.net/libpng/%{name}-%{version}.tar.xz
12
+%define sha512  libpng=59e8c1059013497ae616a14c3abbe239322d3873c6ded0912403fc62fb260561768230b6ab997e2cccc3b868c09f539fd13635616b9fa0dd6279a3f63ec7e074
13
+
14
+Provides:   pkgconfig(libpng)
15
+Provides:   pkgconfig(libpng16)
16
+
14 17
 %description
15 18
 The libpng package contains libraries used by other programs for reading and writing PNG files. The PNG format was designed as a replacement for GIF and, to a lesser extent, TIFF, with many improvements and extensions and lack of patent problems.
16 19
 
17
-%package	devel
18
-Summary:	Header and development files
19
-Requires:	%{name} = %{version}-%{release}
20
-%description	devel
21
-It contains the libraries and header files to create applications 
20
+%package    devel
21
+Summary:    Header and development files
22
+Requires:   %{name} = %{version}-%{release}
23
+%description    devel
24
+It contains the libraries and header files to create applications
22 25
 
23 26
 %prep
24
-%setup -q 
27
+%autosetup -p1
28
+
25 29
 %build
26 30
 %configure
27
-make %{?_smp_mflags}
31
+%make_build
28 32
 
29 33
 %install
30
-make DESTDIR=%{buildroot} install
34
+%make_install %{?_smp_mflags}
35
+
36
+rm -f %{buildroot}%{_libdir}/*.la
31 37
 
32 38
 %check
33 39
 make %{?_smp_mflags} -k check
... ...
@@ -50,21 +56,22 @@ make %{?_smp_mflags} -k check
50 50
 %{_bindir}/*-config
51 51
 %{_includedir}/*
52 52
 %{_libdir}/*.so
53
-%{_libdir}/*.la
54 53
 %{_libdir}/*.a
55 54
 %{_libdir}/pkgconfig/*.pc
56 55
 %{_datadir}/man/man3/*
57 56
 
58 57
 %changelog
59
-*       Thu Mar 05 2020 Ashwin H <ashwinh@vmware.com> 1.6.37-1
60
--       Update to 1.6.37
61
-*       Mon Sep 10 2018 Bo Gan <ganb@vmware.com> 1.6.35-1
62
--       Update to 1.6.35
63
-*	Tue Apr 11 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.6.29-1
64
--	Updated to version 1.6.29
65
-*       Thu Feb 23 2017 Divya Thaluru <dthaluru@vmware.com> 1.6.27-1
66
--       Updated to version 1.6.27
67
-*       Mon Sep 12 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.6.23-2
68
--       Included the libpng16 pkgconfig 
69
-*       Wed Jul 27 2016 Divya Thaluru <dthaluru@vmware.com> 1.6.23-1
70
--       Initial version
58
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.6.37-2
59
+- Remove .la files
60
+* Thu Mar 05 2020 Ashwin H <ashwinh@vmware.com> 1.6.37-1
61
+- Update to 1.6.37
62
+* Mon Sep 10 2018 Bo Gan <ganb@vmware.com> 1.6.35-1
63
+- Update to 1.6.35
64
+* Tue Apr 11 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.6.29-1
65
+- Updated to version 1.6.29
66
+* Thu Feb 23 2017 Divya Thaluru <dthaluru@vmware.com> 1.6.27-1
67
+- Updated to version 1.6.27
68
+* Mon Sep 12 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.6.23-2
69
+- Included the libpng16 pkgconfig
70
+* Wed Jul 27 2016 Divya Thaluru <dthaluru@vmware.com> 1.6.23-1
71
+- Initial version
... ...
@@ -1,16 +1,19 @@
1 1
 Summary:        libpsl - C library to handle the Public Suffix List
2 2
 Name:           libpsl
3 3
 Version:        0.21.1
4
-Release:        3%{?dist}
4
+Release:        4%{?dist}
5 5
 License:        MIT
6 6
 URL:            https://github.com/rockdaboot/libpsl
7 7
 Group:          System Environment/Development
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10
+
10 11
 Source0:        https://github.com/rockdaboot/libpsl/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
11
-%define sha1    libpsl=dc5fd26d060b3445386b5a82628df900567654f4
12
+%define sha512 %{name}=a5084b9df4ff2a0b1f5074b20972efe0da846473396d27b57967c7f6aa190ab3c910b4bfc4f8f03802f08decbbad5820d850c36ad59610262ae37fe77de0c7f5
13
+
12 14
 BuildRequires:  icu-devel >= 70.1
13 15
 BuildRequires:  python3
16
+
14 17
 Requires:       icu >= 70.1
15 18
 
16 19
 %description
... ...
@@ -90,22 +93,23 @@ make %{?_smp_mflags} check
90 90
 %defattr(-,root,root)
91 91
 %{_includedir}/*
92 92
 %{_libdir}/*.so
93
-%{_libdir}/*.la
94 93
 %{_libdir}/pkgconfig/*
95 94
 
96 95
 %changelog
97
-*   Fri Dec 10 2021 Alexey Makhalov <amakhalov@vmware.com> 0.21.1-3
98
--   Requires specific version of icu
99
--   Add icu-devel dependency to -devel subpackage
100
-*   Mon Apr 19 2021 Gerrit Photon <photon-checkins@vmware.com> 0.21.1-2
101
--   Rebuild since icu is upgraded to 69
102
-*   Mon Jul 27 2020 Gerrit Photon <photon-checkins@vmware.com> 0.21.1-1
103
--   Automatic Version Bump
104
-*   Tue Jun 23 2020 Tapas Kundu <tkundu@vmware.com> 0.21.0-1
105
--   Update to 0.21.0
106
--   Build with python3
107
--   Mass removal python2
108
-*   Tue Jan 08 2019 Alexey Makhalov <amakhalov@vmware.com> 0.20.2-2
109
--   Added BuildRequires python2
110
-*   Mon Sep 17 2018 Bo Gan <ganb@vmware.com> 0.20.2-1
111
--   Initial packaging of libpsl
96
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.21.1-4
97
+- Remove .la files
98
+* Fri Dec 10 2021 Alexey Makhalov <amakhalov@vmware.com> 0.21.1-3
99
+- Requires specific version of icu
100
+- Add icu-devel dependency to -devel subpackage
101
+* Mon Apr 19 2021 Gerrit Photon <photon-checkins@vmware.com> 0.21.1-2
102
+- Rebuild since icu is upgraded to 69
103
+* Mon Jul 27 2020 Gerrit Photon <photon-checkins@vmware.com> 0.21.1-1
104
+- Automatic Version Bump
105
+* Tue Jun 23 2020 Tapas Kundu <tkundu@vmware.com> 0.21.0-1
106
+- Update to 0.21.0
107
+- Build with python3
108
+- Mass removal python2
109
+* Tue Jan 08 2019 Alexey Makhalov <amakhalov@vmware.com> 0.20.2-2
110
+- Added BuildRequires python2
111
+* Mon Sep 17 2018 Bo Gan <ganb@vmware.com> 0.20.2-1
112
+- Initial packaging of libpsl
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Library for talking to WWAN modems and devices
2 2
 Name:           libqmi
3 3
 Version:        1.30.4
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 URL:            https://www.freedesktop.org
6 6
 License:        GPLv2
7 7
 Group:          Applications/System
... ...
@@ -59,18 +59,20 @@ make %{?_smp_mflags} check
59 59
 %{_bindir}/qmicli
60 60
 %{_bindir}/qmi-network
61 61
 %{_bindir}/qmi-firmware-update
62
-%{_libdir}/libqmi-glib.so*
62
+%{_libdir}/libqmi-glib.so.*
63 63
 %{_mandir}/man1/*
64 64
 %{_datadir}/bash-completion/*
65 65
 %exclude %dir %{_libdir}/debug
66 66
 
67 67
 %files devel
68
+%{_libdir}/*.so
68 69
 %{_includedir}/libqmi-glib/*
69 70
 %{_libdir}/pkgconfig/qmi-glib.pc
70
-%{_libdir}/libqmi-glib.la
71 71
 %{_datadir}/gtk-doc/*
72 72
 
73 73
 %changelog
74
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.30.4-3
75
+- Remove .la files
74 76
 * Sun May 29 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.30.4-2
75 77
 - Fix binary path
76 78
 * Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.30.4-1
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:    RELP Library
2 2
 Name:       librelp
3 3
 Version:    1.10.0
4
-Release:    3%{?dist}
4
+Release:    4%{?dist}
5 5
 License:    GPLv3+
6 6
 URL:        http://www.librelp.com
7 7
 Group:      System Environment/Libraries
... ...
@@ -64,16 +64,17 @@ make check %{?_smp_mflags}
64 64
 %files
65 65
 %defattr(-,root,root)
66 66
 %{_libdir}/*.so.*
67
-%{_libdir}/*.la
68
-%{_libdir}/*.a
69 67
 
70 68
 %files devel
71 69
 %defattr(-,root,root)
70
+%{_libdir}/*.a
72 71
 %{_includedir}/*.h
73 72
 %{_libdir}/*.so
74 73
 %{_libdir}/pkgconfig/*.pc
75 74
 
76 75
 %changelog
76
+* Tue Sep 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.10.0-4
77
+- Remove .la files
77 78
 * Tue Aug 30 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.10.0-3
78 79
 - Bump version as a part of gnutls upgrade
79 80
 * Wed Aug 04 2021 Satya Naga Vasamsetty <svasamsetty@vmware.com> 1.10.0-2
... ...
@@ -1,17 +1,20 @@
1 1
 Summary:       Enhanced seccomp library
2 2
 Name:          libseccomp
3 3
 Version:       2.5.4
4
-Release:       1%{?dist}
4
+Release:       2%{?dist}
5 5
 License:       LGPLv2
6 6
 Group:         System Environment/Libraries
7
-Source0:       https://github.com/seccomp/libseccomp/releases/download/v%{version}/%{name}-%{version}.tar.gz
8
-%define sha512   libseccomp=6b07e25e63fed380bfe1dc89b9336b68cc1828c8413b6574f191450b92503a9f0a904bb0d1b7c129de976cc421b4d3f28e19d953e2591fdcbf126f4755ec7aad
9 7
 Url:           https://github.com/seccomp/libseccomp/wiki
10 8
 Vendor:        VMware, Inc.
11 9
 Distribution:  Photon
10
+
11
+Source0:       https://github.com/seccomp/libseccomp/releases/download/v%{version}/%{name}-%{version}.tar.gz
12
+%define sha512 %{name}=6b07e25e63fed380bfe1dc89b9336b68cc1828c8413b6574f191450b92503a9f0a904bb0d1b7c129de976cc421b4d3f28e19d953e2591fdcbf126f4755ec7aad
13
+
12 14
 BuildRequires: which
13 15
 BuildRequires: gperf
14
-%if %{with_check}
16
+
17
+%if 0%{?with_check}
15 18
 BuildRequires: which
16 19
 %endif
17 20
 
... ...
@@ -26,25 +29,32 @@ should be familiar to, and easily adopted by application developers.
26 26
 Summary:       Development files used to build applications with libseccomp support
27 27
 Group:         Development/Libraries
28 28
 Provides:      pkgconfig(libseccomp)
29
+Requires:      %{name} = %{version}-%{release}
29 30
 
30 31
 %description   devel
31 32
 The libseccomp-devel package contains the libraries and header files
32 33
 needed for developing secure applications.
33 34
 
34 35
 %prep
35
-%autosetup
36
+%autosetup -p1
36 37
 
37 38
 %build
38 39
 ./autogen.sh
39 40
 %configure
40
-make V=1 %{?_smp_mflags}
41
+%make_build
41 42
 
42 43
 %install
43
-rm -rf "%{buildroot}"
44
-make V=1 DESTDIR="%{buildroot}" %{?_smp_mflags} install
44
+%make_install %{?_smp_mflags}
45
+
46
+rm -f %{buildroot}%{_libdir}/*.la
45 47
 
48
+%clean
49
+rm -rf %{buildroot}
50
+
51
+%if 0%{?with_check}
46 52
 %check
47 53
 make check %{?_smp_mflags}
54
+%endif
48 55
 
49 56
 %post -p /sbin/ldconfig
50 57
 %postun -p /sbin/ldconfig
... ...
@@ -60,30 +70,31 @@ make check %{?_smp_mflags}
60 60
 %{_includedir}/seccomp-syscalls.h
61 61
 %{_libdir}/libseccomp.so
62 62
 %{_libdir}/libseccomp.a
63
-%{_libdir}/libseccomp.la
64 63
 %{_libdir}/pkgconfig/libseccomp.pc
65 64
 %{_bindir}/scmp_sys_resolver
66 65
 %{_mandir}/man1/*
67 66
 %{_mandir}/man3/*
68 67
 
69 68
 %changelog
70
-*  Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 2.5.4-1
71
--  Automatic Version Bump
72
-*  Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 2.5.1-1
73
--  Automatic Version Bump
74
-*  Wed Sep 23 2020 Michelle Wang <michellew@vmware.com> 2.5.0-2
75
--  Fix make check for libseccomp
76
-*  Mon Jul 27 2020 Gerrit Photon <photon-checkins@vmware.com> 2.5.0-1
77
--  Automatic Version Bump
78
-*  Thu May 7 2020 Susant Sahani <ssahani@vmware.com> 2.4.3-1
79
--  Updated to version 2.4.3.
80
-*  Wed Jan 9 2019 Michelle Wang <michellew@vmware.com> 2.3.3-2
81
--  Fix make check for libseccomp.
82
-*  Mon Sep 10 2018 Bo Gan <ganb@vmware.com> 2.3.3-1
83
--  Updated to version 2.3.3.
84
-*  Tue Apr 11 2017 Harish Udaiya KUmar <hudaiyakumar@vmware.com> 2.3.2-1
85
--  Updated to version 2.3.2.
86
-*  Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.2.3-2
87
--  GA - Bump release of all rpms.
88
-*  Sat Jan 16 2016 Fabio Rapposelli <fabio@vmware.com> - 2.2.3-1
89
--  First release of the package.
69
+* Mon Aug 08 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.5.4-2
70
+- Remove .la files
71
+* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 2.5.4-1
72
+- Automatic Version Bump
73
+* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 2.5.1-1
74
+- Automatic Version Bump
75
+* Wed Sep 23 2020 Michelle Wang <michellew@vmware.com> 2.5.0-2
76
+- Fix make check for libseccomp
77
+* Mon Jul 27 2020 Gerrit Photon <photon-checkins@vmware.com> 2.5.0-1
78
+- Automatic Version Bump
79
+* Thu May 7 2020 Susant Sahani <ssahani@vmware.com> 2.4.3-1
80
+- Updated to version 2.4.3.
81
+* Wed Jan 9 2019 Michelle Wang <michellew@vmware.com> 2.3.3-2
82
+- Fix make check for libseccomp.
83
+* Mon Sep 10 2018 Bo Gan <ganb@vmware.com> 2.3.3-1
84
+- Updated to version 2.3.3.
85
+* Tue Apr 11 2017 Harish Udaiya KUmar <hudaiyakumar@vmware.com> 2.3.2-1
86
+- Updated to version 2.3.2.
87
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.2.3-2
88
+- GA - Bump release of all rpms.
89
+* Sat Jan 16 2016 Fabio Rapposelli <fabio@vmware.com> - 2.2.3-1
90
+- First release of the package.
... ...
@@ -1,14 +1,16 @@
1 1
 Summary:	Library that Implements a typesafe callback system for standard C++.
2 2
 Name:		libsigc++
3 3
 Version:	3.0.4
4
-Release:	3%{?dist}
4
+Release:	4%{?dist}
5 5
 License:	LGPLv2+
6 6
 URL:		http://libsigc.sourceforge.net
7 7
 Group:		Applications/System
8 8
 Vendor:		VMware, Inc.
9 9
 Distribution:	Photon
10
+
10 11
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.99/%{name}-%{version}.tar.xz
11 12
 %define sha512  libsigc=b84ae7da6708e02302d08e295d6a566f12fb2c6f0d02f811661a0a541d7969e96a1e920218394dd109b3f362d102f2956aa968539710fa180d7d97e9676fb83d
13
+
12 14
 BuildRequires:  mm-common
13 15
 BuildRequires:  libxslt
14 16
 BuildRequires:  doxygen
... ...
@@ -19,16 +21,23 @@ either global or a member function, regardless of whether it is static or virtua
19 19
 It also contains adaptor classes for connection of dissimilar callbacks,
20 20
 and has an ease of use unmatched by other C++ callback libraries.
21 21
 
22
+%package devel
23
+Summary:    Development & header files for %{name}
24
+Requires:   %{name} = %{version}-%{release}
25
+
26
+%description devel
27
+Development & header files for %{name}
28
+
22 29
 %prep
23 30
 %autosetup -p1
24 31
 
25 32
 %build
26 33
 ./autogen.sh --prefix=%{_prefix}
27 34
 %configure --disable-documentation
28
-make %{?_smp_mflags}
35
+%make_build
29 36
 
30 37
 %install
31
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
38
+%make_install %{?_smp_mflags}
32 39
 
33 40
 %check
34 41
 make %{?_smp_mflags} check
... ...
@@ -38,31 +47,36 @@ make %{?_smp_mflags} check
38 38
 
39 39
 %files
40 40
 %defattr(-,root,root)
41
-%{_libdir}/*.la
42
-%{_libdir}/*.so
43 41
 %{_libdir}/*.so.*
42
+
43
+%files devel
44
+%defattr(-,root,root)
45
+%{_libdir}/*.so
44 46
 %{_libdir}/pkgconfig/*.pc
45 47
 %{_libdir}/sigc++-3.0/include/*.h
46 48
 %{_includedir}/*
47 49
 
48 50
 %changelog
49
-*   Thu Jun 16 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 3.0.4-3
50
--   Bump version as a part of libxslt upgrade
51
-*   Tue Apr 20 2021 Shreenidhi Shedi <sshedi@vmware.com> 3.0.4-2
52
--   Fix build errors
53
-*   Mon Sep 21 2020 Gerrit Photon <photon-checkins@vmware.com> 3.0.4-1
54
--   Automatic Version Bump
55
-*   Thu May 25 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.10.0-1
56
--   Revert back to the stable version 2.10.0-1
57
-*   Wed Apr 12 2017 Danut Moraru <dmoraru@vmware.com> 2.99.8-1
58
--   Updated to version 2.99.8
59
-*   Tue Apr 04 2017 Kumar Kaushik <kaushikk@vmware.com> 2.10.0-1
60
--   Updated to version 2.10.0
61
-*   Tue Sep 06 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.8.0-1
62
--   Updated to version 2.8.0-1
63
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.6.2-2
64
--   GA - Bump release of all rpms
65
-*   Mon Feb 22 2016 XIaolin Li <xiaolinl@vmware.com> 2.6.2-1
66
--   Updated to version 2.6.2
67
-*   Wed Nov 12 2014 Mahmoud Bassiouny <mbassiouny@vmware.com> 2.4.0-1
68
--   Initial version
51
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 3.0.4-4
52
+- Remove .la files
53
+- Introduce devel sub package
54
+* Thu Jun 16 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 3.0.4-3
55
+- Bump version as a part of libxslt upgrade
56
+* Tue Apr 20 2021 Shreenidhi Shedi <sshedi@vmware.com> 3.0.4-2
57
+- Fix build errors
58
+* Mon Sep 21 2020 Gerrit Photon <photon-checkins@vmware.com> 3.0.4-1
59
+- Automatic Version Bump
60
+* Thu May 25 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.10.0-1
61
+- Revert back to the stable version 2.10.0-1
62
+* Wed Apr 12 2017 Danut Moraru <dmoraru@vmware.com> 2.99.8-1
63
+- Updated to version 2.99.8
64
+* Tue Apr 04 2017 Kumar Kaushik <kaushikk@vmware.com> 2.10.0-1
65
+- Updated to version 2.10.0
66
+* Tue Sep 06 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.8.0-1
67
+- Updated to version 2.8.0-1
68
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.6.2-2
69
+- GA - Bump release of all rpms
70
+* Mon Feb 22 2016 XIaolin Li <xiaolinl@vmware.com> 2.6.2-1
71
+- Updated to version 2.6.2
72
+* Wed Nov 12 2014 Mahmoud Bassiouny <mbassiouny@vmware.com> 2.4.0-1
73
+- Initial version
... ...
@@ -1,15 +1,16 @@
1 1
 Summary:        libsodium is a community accepted C library for cryptography
2 2
 Name:           libsodium
3 3
 Version:        1.0.18
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 License:        ISC
6
-
7 6
 Group:          Development/Tools
8 7
 URL:            https://github.com/jedisct1/libsodium
9
-Source0:        https://download.libsodium.org/libsodium/releases/%{name}-%{version}-stable.tar.gz
10
-%define sha1 libsodium=e7a8257edc00405c365dcba79f7ac11cbac51266
11 8
 Vendor:         VMware, Inc.
12 9
 Distribution:   Photon
10
+
11
+Source0:        https://download.libsodium.org/libsodium/releases/%{name}-%{version}-stable.tar.gz
12
+%define sha512  %{name}=bc11652786ce62feb898a266f3cbeb0d21d3db05c3c88611cbdfe9f3eddff9520c2ba5560cb9d848224ba5ab265c66a35ed7a452775753dc06e1b9355b4ac3fb
13
+
13 14
 BuildRequires:  gcc
14 15
 
15 16
 %description
... ...
@@ -20,22 +21,23 @@ decryption, signatures, password hashing and more.
20 20
 Summary:    Development files for libsodium
21 21
 Group:      Development/Tools
22 22
 Requires:   %{name} = %{version}-%{release}
23
+
23 24
 %description devel
24
-Summary:    This package contains the header files and libraries
25
-	    needed to develop applications using libsodium.
25
+This package contains the header files and libraries
26
+needed to develop applications using libsodium.
26 27
 
27 28
 %prep
28
-%setup -q -n %{name}-stable
29
+%autosetup -p1 -n %{name}-stable
29 30
 %configure
30 31
 
31 32
 %build
32
-make %{?_smp_mflags} DESTDIR=%{buildroot}
33
-
34
-%check
35
-make check
33
+%make_build
36 34
 
37 35
 %install
38
-make install DESTDIR=%{buildroot}
36
+%make_install
37
+
38
+%check
39
+make check %{?_smp_mflags}
39 40
 
40 41
 %clean
41 42
 rm -rf %{buildroot}
... ...
@@ -51,11 +53,12 @@ rm -rf %{buildroot}
51 51
 %defattr(-,root,root)
52 52
 %{_libdir}/%{name}.so
53 53
 %{_libdir}/%{name}.a
54
-%{_libdir}/%{name}.la
55 54
 %{_libdir}/pkgconfig/%{name}.pc
56 55
 %{_includedir}/sodium/
57 56
 %{_includedir}/sodium.h
58 57
 
59 58
 %changelog
59
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.0.18-2
60
+- Remove .la files
60 61
 * Fri Nov 20 2020 Sharan Turlapati <sturlapati@vmware.com> 1.0.18-1
61 62
 - Initial version of libsodium for Photon
... ...
@@ -1,16 +1,19 @@
1 1
 Summary:        C library for manipulating tar files
2 2
 Name:           libtar
3 3
 Version:        1.2.20
4
-Release:        5%{?dist}
5
-URL:            https://github.com/tklauser/libtar/archive/v1.2.20.tar.gz
4
+Release:        6%{?dist}
5
+URL:            https://github.com/tklauser/libtar
6 6
 License:        MIT
7 7
 Group:          System Environment/Libraries
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10
-Source0:        libtar-%{version}.tar.gz
11
-%define         sha1 libtar=b3ec4058fa83448d6040ce9f9acf85eeec4530b1
10
+
11
+Source0: https://github.com/tklauser/libtar/archive/refs/tags/%{name}-%{version}.tar.gz
12
+%define sha512 %{name}=11a12695abf4f9668801d24b7b552daed1219b2f395c09818d15e16721f7136d63aa0c09e442401e4fedbf7335748f0dc46f8da21b94b36595910b2fe44d4aea
13
+
12 14
 Patch0:         libtar-gen-debuginfo.patch
13
-patch1:         libtar-CVE-2013-4420.patch
15
+Patch1:         libtar-CVE-2013-4420.patch
16
+
14 17
 Provides:       libtar.so.0()(64bit)
15 18
 
16 19
 %description
... ...
@@ -19,7 +22,7 @@ libtar is a library for manipulating tar files from within C programs.
19 19
 %package        devel
20 20
 Summary:        Development files for libtar
21 21
 Group:          Development/Libraries
22
-Requires:       libtar = %{version}-%{release}
22
+Requires:       %{name} = %{version}-%{release}
23 23
 
24 24
 %description    devel
25 25
 The litar-devel package contains libraries and header files for
... ...
@@ -34,14 +37,10 @@ autoreconf -iv
34 34
 
35 35
 %build
36 36
 %configure CFLAGS="%{optflags}" STRIP=/bin/true --disable-static
37
-make %{?_smp_mflags}
37
+%make_build
38 38
 
39 39
 %install
40
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
41
-chmod +x %{buildroot}/%{_libdir}/libtar.so.*
42
-
43
-#%%check
44
-#Commented out %check due to no test existence
40
+%make_install %{?_smp_mflags}
45 41
 
46 42
 %post   -p /sbin/ldconfig
47 43
 %postun -p /sbin/ldconfig
... ...
@@ -56,9 +55,10 @@ chmod +x %{buildroot}/%{_libdir}/libtar.so.*
56 56
 %{_includedir}/*
57 57
 %{_mandir}/man3/*
58 58
 %{_libdir}/libtar.so
59
-%{_libdir}/libtar.la
60 59
 
61 60
 %changelog
61
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.2.20-6
62
+- Remove .la files
62 63
 * Thu Nov 02 2017 Xiaolin Li <xiaolinl@vmware.com> 1.2.20-5
63 64
 - Fix CVE-2013-4420
64 65
 * Thu Jun 29 2017 Chang Lee <changlee@vmware.com> 1.2.20-4
... ...
@@ -1,18 +1,19 @@
1 1
 Summary:       Team driver
2 2
 Name:          libteam
3 3
 Version:       1.31
4
-Release:       2%{?dist}
4
+Release:       3%{?dist}
5 5
 License:       GPLv2+
6 6
 URL:           http://www.libteam.org
7
-Source0:       http://libteam.org/files/%{name}-%{version}.tar.gz
8
-%define sha1 libteam=338f2bae08e143bc3f7a84317ddc3053cff2691d
9 7
 Group:         System Environment/Libraries
10 8
 Vendor:        VMware, Inc.
9
+Distribution:  Photon
10
+
11
+Source0:       http://libteam.org/files/%{name}-%{version}.tar.gz
12
+%define sha512 %{name}=f18cbe7316f6ac8ddf019d2e4b52e19fbdbc75d637f8cacda15b29d679508919230e1af3eb656febe7aafdf8a94c4334f2ae95ecd60bc89ac379622b99d3b615
11 13
 
12 14
 BuildRequires: libnl-devel
13 15
 BuildRequires: libdaemon-devel
14 16
 BuildRequires: jansson-devel
15
-Distribution:  Photon
16 17
 
17 18
 %description
18 19
 The libteam package contains the user-space components of the Team driver.
... ...
@@ -46,10 +47,10 @@ developing applications that use teamd and libteamdctl
46 46
 
47 47
 %build
48 48
 %configure
49
-make %{?_smp_mflags}
49
+%make_build
50 50
 
51 51
 %install
52
-make DESTDIR=%{buildroot} install
52
+%make_install %{?_smp_mflags}
53 53
 install -D -m 0644 teamd/redhat/systemd/teamd@.service  %{buildroot}%{_unitdir}/teamd@.service
54 54
 install -p -m 755 utils/bond2team %{buildroot}%{_bindir}/bond2team
55 55
 mkdir -p %{buildroot}%{_sysconfdir}/sysconfig/network-scripts
... ...
@@ -76,7 +77,6 @@ install -p -m 644 teamd/example_configs/* %{buildroot}%{_datadir}/teamd/example_
76 76
 %defattr(-,root,root)
77 77
 %{_includedir}/team.h
78 78
 %{_libdir}/libteam.a
79
-%{_libdir}/libteam.la
80 79
 %{_libdir}/libteam.so
81 80
 %{_libdir}/pkgconfig/libteam.pc
82 81
 
... ...
@@ -92,12 +92,13 @@ install -p -m 644 teamd/example_configs/* %{buildroot}%{_datadir}/teamd/example_
92 92
 %files -n teamd-devel
93 93
 %{_includedir}/teamdctl.h
94 94
 %{_libdir}/libteamdctl.a
95
-%{_libdir}/libteamdctl.la
96 95
 %{_libdir}/libteamdctl.so
97 96
 %{_libdir}/pkgconfig/libteamdctl.pc
98 97
 %{_datadir}/teamd/*
99 98
 
100 99
 %changelog
100
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.31-3
101
+- Remove .la files
101 102
 * Mon Aug 02 2021 Susant Sahani <ssahani@vmware.com> 1.31-2
102 103
 - Use autosetup and ldconfig scriptlets
103 104
 * Tue Dec 08 2020 Him Kalyan Bordoloi <bordoloih@vmware.com> 1.31-1
... ...
@@ -1,16 +1,19 @@
1 1
 Summary:        Libraries for Transport Independent RPC
2 2
 Name:           libtirpc
3 3
 Version:        1.3.2
4
-Release:        1%{?dist}
5
-Source0:        http://downloads.sourceforge.net/project/libtirpc/libtirpc/0.3.2/%{name}-%{version}.tar.bz2
6
-%define sha512  libtirpc=8664d5c4f842ee5acf83b9c1cadb7871f17b8157a7c4500e2236dcfb3a25768cab39f7c5123758dcd7381e30eb028ddfa26a28f458283f2dcea3426c9878c255
4
+Release:        2%{?dist}
7 5
 License:        BSD
8 6
 Group:          System Environment/Libraries
9 7
 URL:            http://nfsv4.bullopensource.org/
10 8
 Vendor:         VMware, Inc.
11 9
 Distribution:   Photon
10
+
11
+Source0: http://downloads.sourceforge.net/project/libtirpc/libtirpc/0.3.2/%{name}-%{version}.tar.bz2
12
+%define sha512 %{name}=8664d5c4f842ee5acf83b9c1cadb7871f17b8157a7c4500e2236dcfb3a25768cab39f7c5123758dcd7381e30eb028ddfa26a28f458283f2dcea3426c9878c255
13
+
12 14
 BuildRequires:  krb5-devel
13 15
 BuildRequires:  e2fsprogs-devel
16
+
14 17
 Requires:       krb5
15 18
 
16 19
 %description
... ...
@@ -34,16 +37,16 @@ Requires:       krb5-devel
34 34
 This package includes header files and libraries necessary for developing programs which use the tirpc library.
35 35
 
36 36
 %prep
37
-%autosetup
37
+%autosetup -p1
38 38
 
39 39
 %build
40 40
 %configure
41 41
 sed '/stdlib.h/a#include <stdint.h>' -i src/xdr_sizeof.c
42 42
 
43
-make %{?_smp_mflags}
43
+%make_build
44 44
 
45 45
 %install
46
-make install DESTDIR=%{buildroot} %{?_smp_mflags}
46
+%make_install %{?_smp_mflags}
47 47
 
48 48
 %post
49 49
 /sbin/ldconfig
... ...
@@ -52,43 +55,46 @@ make install DESTDIR=%{buildroot} %{?_smp_mflags}
52 52
 /sbin/ldconfig
53 53
 
54 54
 %files
55
+%defattr(-,root,root)
55 56
 %config(noreplace) %{_sysconfdir}/netconfig
56 57
 %config(noreplace) %{_sysconfdir}/bindresvport.blacklist
57 58
 %{_mandir}/man5/*
58 59
 %{_libdir}/*.so.*
59 60
 
60 61
 %files devel
62
+%defattr(-,root,root)
61 63
 %{_libdir}/*.so
62 64
 %{_libdir}/pkgconfig/*.pc
63 65
 %{_includedir}/tirpc/*
64 66
 %{_mandir}/man3/*
65 67
 %{_libdir}/*.a
66
-%{_libdir}/*.la
67 68
 
68 69
 %changelog
69
-*   Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.3.2-1
70
--   Automatic Version Bump
71
-*   Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 1.3.1-1
72
--   Automatic Version Bump
73
-*   Wed Jul 08 2020 Gerrit Photon <photon-checkins@vmware.com> 1.2.6-1
74
--   Automatic Version Bump
75
-*   Thu Nov 15 2018 Alexey Makhalov <amakhalov@vmware.com> 1.1.4-2
76
--   Cross compilation support
77
-*   Wed Sep 12 2018 Keerthana K <keerthanak@vmware.com> 1.1.4-1
78
--   Update to version 1.1.4
79
-*   Thu Aug 24 2017 Alexey Makhalov <amakhalov@vmware.com> 1.0.1-7
80
--   Fix compilation issue for glibc-2.26
81
-*   Thu May 18 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.1-6
82
--   Fix CVE-2017-8779
83
-*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.0.1-5
84
--   Moved man3 to devel subpackage.
85
-*   Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 1.0.1-4
86
--   Required krb5-devel.
87
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.1-3
88
--   GA - Bump release of all rpms
89
-*   Mon Feb 08 2016 Anish Swaminathan <anishs@vmware.com>  1.0.1-2
90
--   Added patch for bindresvport denylist
91
-*   Fri Jan 15 2016 Xiaolin Li <xiaolinl@vmware.com> 1.0.1-1
92
--   Updated to version 1.0.1
93
-*   Thu Jul 23 2015 Divya Thaluru <dthaluru@vmware.com> 0.3.2-1
94
--   Initial version.
70
+* Tue Sep 20 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.3.2-2
71
+- Remove .la files
72
+* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.3.2-1
73
+- Automatic Version Bump
74
+* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 1.3.1-1
75
+- Automatic Version Bump
76
+* Wed Jul 08 2020 Gerrit Photon <photon-checkins@vmware.com> 1.2.6-1
77
+- Automatic Version Bump
78
+* Thu Nov 15 2018 Alexey Makhalov <amakhalov@vmware.com> 1.1.4-2
79
+- Cross compilation support
80
+* Wed Sep 12 2018 Keerthana K <keerthanak@vmware.com> 1.1.4-1
81
+- Update to version 1.1.4
82
+* Thu Aug 24 2017 Alexey Makhalov <amakhalov@vmware.com> 1.0.1-7
83
+- Fix compilation issue for glibc-2.26
84
+* Thu May 18 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.1-6
85
+- Fix CVE-2017-8779
86
+* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.0.1-5
87
+- Moved man3 to devel subpackage.
88
+* Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 1.0.1-4
89
+- Required krb5-devel.
90
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.1-3
91
+- GA - Bump release of all rpms
92
+* Mon Feb 08 2016 Anish Swaminathan <anishs@vmware.com>  1.0.1-2
93
+- Added patch for bindresvport denylist
94
+* Fri Jan 15 2016 Xiaolin Li <xiaolinl@vmware.com> 1.0.1-1
95
+- Updated to version 1.0.1
96
+* Thu Jul 23 2015 Divya Thaluru <dthaluru@vmware.com> 0.3.2-1
97
+- Initial version.
... ...
@@ -1,56 +1,61 @@
1
-Summary:	GNU Unicode string library
2
-Name:		libunistring
3
-Version:	1.0
4
-Release: 	1%{?dist}
5
-License:	LGPLv3+
6
-Url:		http://www.gnu.org/software/libunistring/
7
-Source0:	http://ftp.gnu.org/gnu/libunistring/%{name}-%{version}.tar.xz
8
-%define sha512  libunistring=70d5ad82722844dbeacdfcb4d7593358e4a00a9222a98537add4b7f0bf4a2bb503dfb3cd627e52e2a5ca1d3da9e5daf38a6bd521197f92002e11e715fb1662d1
9
-Group:		System Environment/Libraries
10
-Vendor:		VMware, Inc.
11
-Distribution:	Photon
1
+Summary:    GNU Unicode string library
2
+Name:       libunistring
3
+Version:    1.0
4
+Release:    2%{?dist}
5
+License:    LGPLv3+
6
+URL:        http://www.gnu.org/software/libunistring
7
+Group:      System Environment/Libraries
8
+Vendor:     VMware, Inc.
9
+Distribution:   Photon
10
+
11
+Source0:    http://ftp.gnu.org/gnu/libunistring/%{name}-%{version}.tar.xz
12
+%define sha512 %{name}=70d5ad82722844dbeacdfcb4d7593358e4a00a9222a98537add4b7f0bf4a2bb503dfb3cd627e52e2a5ca1d3da9e5daf38a6bd521197f92002e11e715fb1662d1
13
+
12 14
 %description
13 15
 libunistring is a library that provides functions for manipulating Unicode strings and for manipulating C strings according to the Unicode standard.
14 16
 
15 17
 %package devel
16
-Summary:	Development libraries and header files for libunistring
17
-Requires:	libunistring
18
+Summary:    Development libraries and header files for libunistring
19
+Requires:   libunistring
18 20
 
19 21
 %description devel
20 22
 The package contains libraries and header files for
21 23
 developing applications that use libunistring.
22 24
 
23 25
 %prep
24
-%autosetup
26
+%autosetup -p1
25 27
 
26 28
 %build
27 29
 %configure
28
-make %{?_smp_mflags}
30
+%make_build
29 31
 
30 32
 %install
31
-make DESTDIR=%{buildroot} %{?_smp_mflags} install
32
-rm %{buildroot}%{_infodir}/*
33
+%make_install %{?_smp_mflags}
34
+
35
+rm -f %{buildroot}%{_infodir}/* \
36
+    %{buildroot}%{_libdir}/*.la
33 37
 
34 38
 %check
35 39
 make %{?_smp_mflags} check
36 40
 
37
-%post	-p /sbin/ldconfig
38
-%postun	-p /sbin/ldconfig
41
+%post   -p /sbin/ldconfig
42
+%postun -p /sbin/ldconfig
39 43
 
40 44
 %files
41 45
 %defattr(-,root,root)
42 46
 %{_libdir}/*.so.*
43
-%{_docdir}/%{name}/*
44
-%{_libdir}/*.a
45
-%{_libdir}/*.la
46 47
 
47 48
 %files devel
48 49
 %defattr(-,root,root)
50
+%{_libdir}/*.a
51
+%{_docdir}/%{name}/*
49 52
 %{_includedir}/*.h
50 53
 %{_includedir}/unistring/*.h
51 54
 %{_libdir}/*.so
52 55
 
53 56
 %changelog
57
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.0-2
58
+- Remove .la files
54 59
 * Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.0-1
55 60
 - Automatic Version Bump
56 61
 * Mon Sep 10 2018 Alexey Makhalov <amakhalov@vmware.com> 0.9.10-1
... ...
@@ -1,15 +1,18 @@
1 1
 Summary:        A library which allows userspace access to USB devices
2 2
 Name:           libusb
3 3
 Version:        1.0.26
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 License:        LGPLv2+
6
-URL:            http://sourceforge.net/projects/libusb/
6
+URL:            http://sourceforge.net/projects/libusb
7 7
 Group:          System Environment/Libraries
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10
-Source:         http://downloads.sourceforge.net/libusb/libusb-%{version}.tar.bz2
10
+
11
+Source0:        http://downloads.sourceforge.net/libusb/libusb-%{version}.tar.bz2
11 12
 %define sha512  libusb=fcdb85c98f21639668693c2fd522814d440972d65883984c4ae53d0555bdbdb7e8c7a32199cd4b01113556a1eb5be7841b750cc73c9f6bda79bfe1af80914e71
13
+
12 14
 BuildRequires:  systemd-devel
15
+
13 16
 Requires:       systemd
14 17
 
15 18
 %description
... ...
@@ -25,14 +28,14 @@ This package contains the header files, libraries and documentation needed to
25 25
 develop applications that use libusb.
26 26
 
27 27
 %prep
28
-%autosetup
28
+%autosetup -p1
29 29
 
30 30
 %build
31 31
 %configure --disable-static
32
-make %{?_smp_mflags}
32
+%make_build
33 33
 
34 34
 %install
35
-make DESTDIR=%{buildroot} %{?_smp_mflags} install
35
+%make_install %{?_smp_mflags}
36 36
 
37 37
 %check
38 38
 pushd tests
... ...
@@ -50,25 +53,26 @@ popd
50 50
 %files devel
51 51
 %{_includedir}/*
52 52
 %{_libdir}/libusb*.so
53
-%{_libdir}/libusb*.la
54 53
 %{_libdir}/pkgconfig/*
55 54
 
56 55
 %changelog
57
-*   Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.0.26-1
58
--   Automatic Version Bump
59
-*   Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 1.0.24-1
60
--   Automatic Version Bump
61
-*   Wed Jul 08 2020 Gerrit Photon <photon-checkins@vmware.com> 1.0.23-1
62
--   Automatic Version Bump
63
-*   Wed Sep 12 2018 Keerthana K <keerthanak@vmware.com> 1.0.22-1
64
--   Update to version 1.0.22
65
-*   Thu Apr 06 2017 Kumar Kaushik <kaushikk@vmware.com>  1.0.21-1
66
--   Upgrading version to 1.0.21
67
-*   Fri Nov 18 2016 Anish Swaminathan <anishs@vmware.com>  1.0.20-4
68
--   Change systemd dependency
69
-*   Tue Jul 12 2016 Xiaolin Li <xiaolinl@vmware.com>  1.0.20-3
70
--   Build libusb single threaded.
71
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.20-2
72
--   GA - Bump release of all rpms
73
-*   Thu May 05 2016 Nick Shi <nshi@vmware.com> 1.0.20-1
74
--   Initial version.
56
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.0.26-2
57
+- Remove .la files
58
+* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.0.26-1
59
+- Automatic Version Bump
60
+* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 1.0.24-1
61
+- Automatic Version Bump
62
+* Wed Jul 08 2020 Gerrit Photon <photon-checkins@vmware.com> 1.0.23-1
63
+- Automatic Version Bump
64
+* Wed Sep 12 2018 Keerthana K <keerthanak@vmware.com> 1.0.22-1
65
+- Update to version 1.0.22
66
+* Thu Apr 06 2017 Kumar Kaushik <kaushikk@vmware.com>  1.0.21-1
67
+- Upgrading version to 1.0.21
68
+* Fri Nov 18 2016 Anish Swaminathan <anishs@vmware.com>  1.0.20-4
69
+- Change systemd dependency
70
+* Tue Jul 12 2016 Xiaolin Li <xiaolinl@vmware.com>  1.0.20-3
71
+- Build libusb single threaded.
72
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.20-2
73
+- GA - Bump release of all rpms
74
+* Thu May 05 2016 Nick Shi <nshi@vmware.com> 1.0.20-1
75
+- Initial version.
... ...
@@ -29,7 +29,7 @@ BuildRequires:  libxslt
29 29
 BuildRequires:  lvm2
30 30
 BuildRequires:  meson
31 31
 BuildRequires:  ninja-build
32
-BuildRequires:  parted
32
+BuildRequires:  parted-devel
33 33
 BuildRequires:  python3-devel
34 34
 BuildRequires:  python3-docutils
35 35
 BuildRequires:  readline-devel
... ...
@@ -1,14 +1,14 @@
1 1
 Name:          lightwave
2 2
 Summary:       VMware Lightwave
3 3
 Version:       1.3.1.34
4
-Release:       23%{?dist}
4
+Release:       24%{?dist}
5 5
 License:       Apache 2.0
6 6
 Group:         Applications/System
7 7
 Vendor:        VMware, Inc.
8 8
 URL:           https://github.com/vmware/lightwave
9 9
 Distribution:  Photon
10 10
 
11
-Source0:       https://github.com/vmware/lightwave/archive/refs/tags/%{name}-%{version}.tar.gz
11
+Source0: https://github.com/vmware/lightwave/archive/refs/tags/%{name}-%{version}.tar.gz
12 12
 %define sha512 %{name}=8afe786efea02333d7045779584038cbf627d5a7f3d49aed4f0b850df4ce564e40f3ac27722b84ea835a24ac2b9fbebb071326804b4bca11d3272ea438935b4b
13 13
 
14 14
 Patch0:        lightwave_build_with_python3.patch
... ...
@@ -1110,25 +1110,15 @@ mkdir -p %{buildroot}/opt/vmware/share/config
1110 1110
 %{_includedir}/gssapi_creds_plugin.h
1111 1111
 
1112 1112
 %{_lib64dir}/libcdcjni.a
1113
-%{_lib64dir}/libcdcjni.la
1114 1113
 %{_lib64dir}/libvecsjni.a
1115
-%{_lib64dir}/libvecsjni.la
1116 1114
 %{_lib64dir}/libheartbeatjni.a
1117
-%{_lib64dir}/libheartbeatjni.la
1118 1115
 %{_lib64dir}/libvmafdclient.a
1119
-%{_lib64dir}/libvmafdclient.la
1120 1116
 %{_lib64dir}/libvmafcfgapi.a
1121
-%{_lib64dir}/libvmafcfgapi.la
1122 1117
 %{_lib64dir}/libvmeventclient.a
1123
-%{_lib64dir}/libvmeventclient.la
1124 1118
 %{_lib64dir}/libvmcaclient.a
1125
-%{_lib64dir}/libvmcaclient.la
1126 1119
 %{_lib64dir}/libvmdirclient.a
1127
-%{_lib64dir}/libvmdirclient.la
1128 1120
 %{_lib64dir}/libvmdnsclient.a
1129
-%{_lib64dir}/libvmdnsclient.la
1130 1121
 %{_lib64dir}/libvmcommon.a
1131
-%{_lib64dir}/libvmcommon.la
1132 1122
 
1133 1123
 %{_includedir}/oidc.h
1134 1124
 %{_includedir}/oidc_types.h
... ...
@@ -1149,10 +1139,8 @@ mkdir -p %{buildroot}/opt/vmware/share/config
1149 1149
 %exclude %{_bindir}/vmdirclienttest
1150 1150
 %exclude %{_bindir}/*test
1151 1151
 
1152
-%exclude %{_lib64dir}/*.la
1153 1152
 %exclude %{_lib64dir}/*.a
1154 1153
 %exclude %{_lib64dir}/sasl2/*.a
1155
-%exclude %{_lib64dir}/sasl2/*.la
1156 1154
 %exclude %{_lib64dir}/libcommonunittests.*
1157 1155
 %exclude %{_lib64dir}/libmisctests.*
1158 1156
 %exclude %{_lib64dir}/libmultitenancytests.*
... ...
@@ -1174,6 +1162,8 @@ mkdir -p %{buildroot}/opt/vmware/share/config
1174 1174
 %{_stssamplebindir}/*
1175 1175
 
1176 1176
 %changelog
1177
+* Tue Sep 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.3.1.34-24
1178
+- Remove .la files
1177 1179
 * Mon Aug 08 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.3.1.34-23
1178 1180
 - Bump version as a part of sqlite upgrade
1179 1181
 * Tue Jul 19 2022 Piyush Gupta <gpiyush@vmware.com> 1.3.1.34-22
... ...
@@ -1,14 +1,16 @@
1 1
 Summary:       User-space access to Linux Kernel SCTP
2 2
 Name:          lksctp-tools
3 3
 Version:       1.0.19
4
-Release:       1%{?dist}
4
+Release:       2%{?dist}
5 5
 License:       LGPL
6 6
 Group:         System Environment/Libraries
7 7
 URL:           http://lksctp.sourceforge.net
8
-Source0:       %{name}-%{version}.tar.gz
9 8
 Vendor:        VMware, Inc.
10 9
 Distribution:  Photon
11
-%define sha1   lksctp-tools=d410a596485c38464177a38ae7c7081444e6589e
10
+
11
+Source0: https://github.com/sctp/lksctp-tools/archive/refs/tags/%{name}-%{version}.tar.gz
12
+%define sha512 %{name}=e56a4b00206acfb88cab1b8fc7424a1a4996f67ef925c29a97395c44c57f2cbcb3fc36ec2648f5e5a5ce29d8d61ee1f7a5e7869e6bbd68bff85590b6ec521883
13
+
12 14
 BuildRequires: gcc
13 15
 BuildRequires: libtool
14 16
 BuildRequires: automake
... ...
@@ -37,15 +39,15 @@ Requires:      %{name} = %{version}-%{release}
37 37
 Documents pertaining to LKSCTP & SCTP in general
38 38
 
39 39
 %prep
40
-%setup -q
40
+%autosetup -p1
41 41
 
42 42
 %build
43 43
 autoreconf -i
44 44
 %configure --enable-shared --enable-static
45
-make
45
+%make_build
46 46
 
47 47
 %install
48
-make install DESTDIR=%{buildroot}
48
+%make_install %{?_smp_mflags}
49 49
 
50 50
 %clean
51 51
 rm -rf %{buildroot}
... ...
@@ -69,7 +71,6 @@ rm -rf %{buildroot}
69 69
 %{_libdir}/libsctp.so
70 70
 %{_libdir}/pkgconfig/*.pc
71 71
 %{_libdir}/libsctp.a
72
-%{_libdir}/libsctp.la
73 72
 %{_datadir}/%{name}/*
74 73
 %{_mandir}/*
75 74
 
... ...
@@ -78,6 +79,8 @@ rm -rf %{buildroot}
78 78
 %doc doc/*.txt
79 79
 
80 80
 %changelog
81
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.0.19-2
82
+- Remove .la files
81 83
 * Thu Apr 29 2021 Gerrit Photon <photon-checkins@vmware.com> 1.0.19-1
82 84
 - Automatic Version Bump
83 85
 * Mon Jun 15 2020 Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu> 1.0.18-2
... ...
@@ -3,21 +3,21 @@ Name:           nss
3 3
 Version:        3.78
4 4
 Release:        2%{?dist}
5 5
 License:        MPLv2.0
6
-URL:            http://ftp.mozilla.org/pub/security/nss/releases/NSS_3_78_RTM/src/%{name}-%{version}.tar.gz
6
+URL:            https://firefox-source-docs.mozilla.org/security/nss/index.html
7 7
 Group:          Applications/System
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 
11
-Source0:        %{name}-%{version}.tar.gz
12
-%define sha512  %{name}=ab54d838f41f963fdd4b87477b1e769186ae1f138f7c5d764cd6873be4791146d14dcc85697a2ca92e08f3bfcbeb61d64e26e7b5398095272c18a8196d43ac6c
11
+Source0: http://ftp.mozilla.org/pub/security/nss/releases/NSS_3_78_RTM/src/%{name}-%{version}.tar.gz
12
+%define sha512 %{name}=ab54d838f41f963fdd4b87477b1e769186ae1f138f7c5d764cd6873be4791146d14dcc85697a2ca92e08f3bfcbeb61d64e26e7b5398095272c18a8196d43ac6c
13 13
 
14
-Patch0:         %{name}-%{version}-standalone-1.patch
14
+Patch0: %{name}-%{version}-standalone-1.patch
15 15
 
16 16
 BuildRequires:  nspr-devel
17 17
 BuildRequires:  sqlite-devel
18 18
 
19
-Requires:       nspr
20
-Requires:       %{name}-libs = %{version}-%{release}
19
+Requires: nspr
20
+Requires: %{name}-libs = %{version}-%{release}
21 21
 
22 22
 %description
23 23
 The Network Security Services (NSS) package is a set of libraries
... ...
@@ -56,8 +56,7 @@ export NS_USE_GCC=1
56 56
 %endif
57 57
 
58 58
 cd %{name}
59
-# make doesn't support _smp_mflags
60
-make VERBOSE=1 BUILD_OPT=1 \
59
+make %{?_smp_mflags} VERBOSE=1 BUILD_OPT=1 \
61 60
     NSPR_INCLUDE_DIR=%{_includedir}/nspr \
62 61
     USE_SYSTEM_ZLIB=1 \
63 62
     ZLIB_LIBS=-lz \
... ...
@@ -115,11 +114,13 @@ sudo -u test ./all.sh && userdel test -r -f
115 115
 %exclude %{_libdir}/libsoftokn3.chk
116 116
 
117 117
 %files devel
118
+%defattr(-,root,root)
118 119
 %{_includedir}/*
119 120
 %{_libdir}/*.a
120 121
 %{_libdir}/pkgconfig/*.pc
121 122
 
122 123
 %files libs
124
+%defattr(-,root,root)
123 125
 %{_libdir}/libfreeblpriv3.so
124 126
 %{_libdir}/libfreeblpriv3.chk
125 127
 %{_libdir}/libnss3.so
... ...
@@ -1,17 +1,20 @@
1 1
 Summary:        NUMA support for Linux
2 2
 Name:           numactl
3 3
 Version:        2.0.14
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        GPLv2
6 6
 URL:            https://github.com/numactl/numactl
7
-Source0:        https://github.com/numactl/numactl/releases/download/v%{version}/%{name}-%{version}.tar.gz
8
-%define sha1    %{name}=1325d20027bbfc9ec5b840a599f6773d38b54a00
9
-%if %{with_check}
10
-Patch0:         0001-numactl-fix-physcpubind-for-single-cpu.patch
11
-%endif
12 7
 Group:          System Environment/Base
13 8
 Vendor:         VMware, Inc.
14 9
 Distribution:   Photon
10
+
11
+Source0:        https://github.com/numactl/numactl/releases/download/v%{version}/%{name}-%{version}.tar.gz
12
+%define sha512  %{name}=28b95985d6b2f26c5f6f15fe235224c998c86f534adf5fdaa355a292cf2fd65515c91ba2a76c899d552d439b18ea1209a1712bd6755f8ee3a442f3935993b2e6
13
+
14
+%if 0%{?with_check}
15
+Patch0: 0001-numactl-fix-physcpubind-for-single-cpu.patch
16
+%endif
17
+
15 18
 %description
16 19
 Simple NUMA policy support. It consists of a numactl program to run other programs with a specific NUMA policy.
17 20
 
... ...
@@ -36,10 +39,10 @@ developing applications that use libnuma.
36 36
 %build
37 37
 autoreconf -fiv
38 38
 %configure --disable-static
39
-make %{?_smp_mflags}
39
+%make_build
40 40
 
41 41
 %install
42
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
42
+%make_install %{?_smp_mflags}
43 43
 
44 44
 %check
45 45
 make %{?_smp_mflags} check
... ...
@@ -60,12 +63,13 @@ make %{?_smp_mflags} check
60 60
 %defattr(-,root,root)
61 61
 %{_includedir}/*
62 62
 %{_libdir}/*.so
63
-%{_libdir}/*.la
64 63
 %{_libdir}/pkgconfig/numa.pc
65 64
 %{_mandir}/man2/*
66 65
 %{_mandir}/man3/*
67 66
 
68 67
 %changelog
68
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.0.14-3
69
+- Remove .la files
69 70
 * Thu Oct 29 2020 Him Kalyan Bordoloi <bordoloih@vmware.com> 2.0.14-2
70 71
 - Fix libnuma-devel dependency
71 72
 * Mon Sep 21 2020 Gerrit Photon <photon-checkins@vmware.com> 2.0.14-1
... ...
@@ -1,15 +1,18 @@
1 1
 Summary:        GNU Parted manipulates partition tables
2 2
 Name:           parted
3 3
 Version:        3.5
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 License:        GPLv3+
6
-URL:            http://ftp.gnu.org/gnu/parted/parted-%{version}.tar.xz
6
+URL:            https://www.gnu.org/software/parted
7 7
 Group:          Applications/System
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10
+
10 11
 Source0:        http://ftp.gnu.org/gnu/parted/%{name}-%{version}.tar.xz
11
-%define sha512  parted=87fc69e947de5f0b670ee5373a7cdf86180cd782f6d7280f970f217f73f55ee1b1b018563f48954f3a54fdde5974b33e07eee68c9ccdf08e621d3dc0e3ce126a
12
+%define sha512 %{name}=87fc69e947de5f0b670ee5373a7cdf86180cd782f6d7280f970f217f73f55ee1b1b018563f48954f3a54fdde5974b33e07eee68c9ccdf08e621d3dc0e3ce126a
13
+
12 14
 Patch0:         parted-freelocale.patch
15
+
13 16
 Conflicts:      toybox < 0.8.2-2
14 17
 
15 18
 %description
... ...
@@ -18,6 +21,13 @@ reorganizing disk usage, copying data on hard disks and disk imaging.
18 18
 The package contains a library, libparted, as well as well as a
19 19
 command-line frontend, parted, which can also be used in scripts.
20 20
 
21
+%package devel
22
+Summary:    Development libraries and headers for %{name}
23
+Requires:   %{name} = %{version}-%{release}
24
+
25
+%description devel
26
+Development libraries and headers for %{name}
27
+
21 28
 %prep
22 29
 %autosetup -p1
23 30
 
... ...
@@ -25,51 +35,60 @@ command-line frontend, parted, which can also be used in scripts.
25 25
 #Add a header to allow building with glibc-2.28 or later
26 26
 sed -i '/utsname.h/a#include <sys/sysmacros.h>' libparted/arch/linux.c &&
27 27
 
28
-%configure --without-readline --disable-debug \
29
-	   --disable-nls --disable-device-mapper
30
-make %{?_smp_mflags}
28
+%configure \
29
+        --without-readline \
30
+        --disable-debug \
31
+        --disable-nls \
32
+        --disable-device-mapper
33
+
34
+%make_build
31 35
 
32 36
 %install
33
-make DESTDIR=%{buildroot} %{?_smp_mflags} install
37
+%make_install %{?_smp_mflags}
34 38
 
35
-%post	-p /sbin/ldconfig
36
-%postun	-p /sbin/ldconfig
39
+%post   -p /sbin/ldconfig
40
+%postun -p /sbin/ldconfig
37 41
 
38 42
 %files
39 43
 %defattr(-,root,root)
40 44
 %{_sbindir}/*
45
+%{_libdir}/*.so.*
46
+
47
+%files devel
48
+%defattr(-,root,root)
41 49
 %{_libdir}/*.a
42
-%{_libdir}/*.la
43 50
 %{_libdir}/*.so
44
-%{_libdir}/*.so.*
45
-%{_libdir}/pkgconfig/*.pc
46 51
 %{_includedir}/*
47 52
 %{_infodir}/*
48 53
 %{_datadir}/*
54
+%{_libdir}/pkgconfig/*.pc
49 55
 %exclude %{_infodir}/dir
50 56
 
51 57
 %changelog
52
-*  Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 3.5-1
53
--  Automatic Version Bump
54
-*  Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 3.4-1
55
--  Automatic Version Bump
56
-*  Fri Jan 22 2021 Dweep Advani <dadvani@vmware.com> 3.3-2
57
--  Remove conflict causing /usr/share/info/dir from packaging
58
-*  Thu Jul 09 2020 Gerrit Photon <photon-checkins@vmware.com> 3.3-1
59
--  Automatic Version Bump
60
-*  Thu Apr 16 2020 Alexey Makhalov <amakhalov@vmware.com> 3.2-8
61
--  Do not conflict with toybox >= 0.8.2-2
62
-*  Tue Oct 2 2018 Michelle Wang <michellew@vmware.com> 3.2-7
63
--  Add conflict toybox.
64
-*  Sun Sep 09 2018 Alexey Makhalov <amakhalov@vmware.com> 3.2-6
65
--  Fix compilation issue against glibc-2.28.
66
-*  Wed Aug 16 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.2-5
67
--  Fix summary and description.
68
-*  Tue Jun 06 2017 ChangLee <changlee@vmware.com> 3.2-4
69
--  Remove %check.
70
-*  Fri Oct 07 2016 ChangLee <changlee@vmware.com> 3.2-3
71
--  Modified %check.
72
-*  Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.2-2
73
--  GA Bump release of all rpms.
74
-*  Wed Nov 12 2014 Mahmoud Bassiouny <mbassiouny@vmware.com> 3.2-1
75
--  Initial version.
58
+* Tue Sep 27 2022 Shreenidhi Shedi <sshedi@vmware.com> 3.5-2
59
+- Remove .la files
60
+- Introduce deve subpackage
61
+* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 3.5-1
62
+- Automatic Version Bump
63
+* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 3.4-1
64
+- Automatic Version Bump
65
+* Fri Jan 22 2021 Dweep Advani <dadvani@vmware.com> 3.3-2
66
+- Remove conflict causing /usr/share/info/dir from packaging
67
+* Thu Jul 09 2020 Gerrit Photon <photon-checkins@vmware.com> 3.3-1
68
+- Automatic Version Bump
69
+* Thu Apr 16 2020 Alexey Makhalov <amakhalov@vmware.com> 3.2-8
70
+- Do not conflict with toybox >= 0.8.2-2
71
+* Tue Oct 2 2018 Michelle Wang <michellew@vmware.com> 3.2-7
72
+- Add conflict toybox.
73
+* Sun Sep 09 2018 Alexey Makhalov <amakhalov@vmware.com> 3.2-6
74
+- Fix compilation issue against glibc-2.28.
75
+* Wed Aug 16 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.2-5
76
+- Fix summary and description.
77
+* Tue Jun 06 2017 ChangLee <changlee@vmware.com> 3.2-4
78
+- Remove %check.
79
+* Fri Oct 07 2016 ChangLee <changlee@vmware.com> 3.2-3
80
+- Modified %check.
81
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.2-2
82
+- GA Bump release of all rpms.
83
+* Wed Nov 12 2014 Mahmoud Bassiouny <mbassiouny@vmware.com> 3.2-1
84
+- Initial version.
... ...
@@ -1,22 +1,26 @@
1 1
 Summary:        Grep for perl compatible regular expressions
2 2
 Name:           pcre
3 3
 Version:        8.45
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 License:        BSD
6 6
 URL:            ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-%{version}.tar.bz2
7 7
 Group:          Applications/System
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10
+
10 11
 Source0:        ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2
11
-%define sha512  pcre=91bff52eed4a2dfc3f3bfdc9c672b88e7e2ffcf3c4b121540af8a4ae8c1ce05178430aa6b8000658b9bb7b4252239357250890e20ceb84b79cdfcde05154061a
12
+%define sha512 %{name}=91bff52eed4a2dfc3f3bfdc9c672b88e7e2ffcf3c4b121540af8a4ae8c1ce05178430aa6b8000658b9bb7b4252239357250890e20ceb84b79cdfcde05154061a
13
+
12 14
 BuildRequires:  bzip2-devel
13 15
 BuildRequires:  readline-devel
14 16
 BuildRequires:  glibc
17
+
15 18
 Requires:       libgcc
16 19
 Requires:       readline
17 20
 Requires:       libstdc++
18 21
 Requires:       pcre-libs = %{version}-%{release}
19 22
 Requires:       bzip2-libs
23
+
20 24
 %description
21 25
 The PCRE package contains Perl Compatible Regular Expression libraries.
22 26
 These are useful for implementing regular expression pattern matching using the same syntax and semantics as Perl 5.
... ...
@@ -38,26 +42,28 @@ Group:          System Environment/Libraries
38 38
 This package contains minimal set of shared pcre libraries.
39 39
 
40 40
 %prep
41
-%autosetup
41
+%autosetup -p1
42 42
 
43 43
 %build
44 44
 %configure \
45
-            --docdir=/usr/share/doc/pcre-%{version} \
46
-            --enable-unicode-properties       \
47
-            --enable-pcre16                   \
48
-            --enable-pcre32                   \
49
-            --enable-pcregrep-libz            \
50
-            --enable-pcregrep-libbz2          \
51
-            --enable-pcretest-libreadline     \
45
+            --docdir=%{_docdir}/%{name}-%{version} \
46
+            --enable-unicode-properties \
47
+            --enable-pcre16 \
48
+            --enable-pcre32 \
49
+            --enable-pcregrep-libz \
50
+            --enable-pcregrep-libbz2 \
51
+            --enable-pcretest-libreadline \
52 52
             --with-match-limit-recursion=16000 \
53 53
             --disable-static
54
-make %{?_smp_mflags}
54
+
55
+%make_build
55 56
 
56 57
 %install
57
-make DESTDIR=%{buildroot} %{?_smp_mflags} install
58
-mv -v %{buildroot}/usr/lib/libpcre.so.* %{buildroot}/lib &&
59
-ln -sfv ../../lib/$(readlink %{buildroot}/usr/lib/libpcre.so) %{buildroot}/usr/lib/libpcre.so
60
-ln -sfv $(readlink %{buildroot}/usr/lib/libpcre.so) %{buildroot}/usr/lib/libpcre.so.0
58
+%make_install
59
+ln -sfv ../../lib/$(readlink %{buildroot}%{_libdir}/libpcre.so) %{buildroot}%{_libdir}/libpcre.so
60
+ln -sfv $(readlink %{buildroot}%{_libdir}/libpcre.so) %{buildroot}%{_libdir}/libpcre.so.0
61
+
62
+rm -f %{buildroot}%{_libdir}/*.la
61 63
 
62 64
 %check
63 65
 make %{?_smp_mflags} check
... ...
@@ -82,7 +88,6 @@ make %{?_smp_mflags} check
82 82
 %{_defaultdocdir}/%{name}-%{version}/*
83 83
 %{_mandir}/*/*
84 84
 %{_libdir}/*.so
85
-%{_libdir}/*.la
86 85
 %{_libdir}/pkgconfig/*.pc
87 86
 %{_includedir}/*
88 87
 
... ...
@@ -91,37 +96,39 @@ make %{?_smp_mflags} check
91 91
 %{_libdir}/libpcre.so.*
92 92
 
93 93
 %changelog
94
-*   Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 8.45-1
95
--   Automatic Version Bump
96
-*   Tue Dec 15 2020 Shreenidhi Shedi <sshedi@vmware.com> 8.44-2
97
--   Fix build with new rpm
98
-*   Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 8.44-1
99
--   Automatic Version Bump
100
-*   Fri Nov 09 2018 Alexey Makhalov <amakhalov@vmware.com> 8.42-2
101
--   Cross compilation support
102
-*   Tue Sep 11 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 8.42-1
103
--   Update to version 8.42
104
-*   Wed Dec 20 2017 Xiaolin Li <xiaolinl@vmware.com> 8.41-1
105
--   Update to version 8.41
106
-*   Wed Jul 19 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 8.40-4
107
--   Added fix for CVE-2017-11164 by adding stack recursion limit
108
-*   Wed May 24 2017 Divya Thaluru <dthaluru@vmware.com> 8.40-3
109
--   Added fixes for CVE-2017-7244, CVE-2017-7245, CVE-2017-7246, CVE-2017-7186
110
-*   Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> 8.40-2
111
--   Added -libs subpackage
112
-*   Mon Apr 03 2017 Robert Qi <qij@vmware.com> 8.40-1
113
--   Update to 8.40
114
-*   Wed Oct 05 2016 ChangLee <changlee@vmware.com> 8.39-2
115
--   Modified %check
116
-*   Fri Sep 9 2016 Xiaolin Li <xiaolinl@vmware.com> 8.39-1
117
--   Update to version 8.39
118
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 8.38-3
119
--   GA - Bump release of all rpms
120
-*   Fri Mar 18 2016 Anish Swaminathan <anishs@vmware.com>  8.38-2
121
--   Add upstream fixes patch
122
-*   Thu Jan 21 2016 Xiaolin Li <xiaolinl@vmware.com> 8.38-1
123
--   Updated to version 8.38
124
-*   Mon Nov 30 2015 Sharath George <sharathg@vmware.com> 8.36-2
125
--   Add symlink for libpcre.so.1
126
-*   Thu Nov 06 2014 Sharath George <sharathg@vmware.com> 8.36-1
127
--   Initial version.
94
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 8.45-2
95
+- Remove .la files
96
+* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 8.45-1
97
+- Automatic Version Bump
98
+* Tue Dec 15 2020 Shreenidhi Shedi <sshedi@vmware.com> 8.44-2
99
+- Fix build with new rpm
100
+* Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 8.44-1
101
+- Automatic Version Bump
102
+* Fri Nov 09 2018 Alexey Makhalov <amakhalov@vmware.com> 8.42-2
103
+- Cross compilation support
104
+* Tue Sep 11 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 8.42-1
105
+- Update to version 8.42
106
+* Wed Dec 20 2017 Xiaolin Li <xiaolinl@vmware.com> 8.41-1
107
+- Update to version 8.41
108
+* Wed Jul 19 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 8.40-4
109
+- Added fix for CVE-2017-11164 by adding stack recursion limit
110
+* Wed May 24 2017 Divya Thaluru <dthaluru@vmware.com> 8.40-3
111
+- Added fixes for CVE-2017-7244, CVE-2017-7245, CVE-2017-7246, CVE-2017-7186
112
+* Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> 8.40-2
113
+- Added -libs subpackage
114
+* Mon Apr 03 2017 Robert Qi <qij@vmware.com> 8.40-1
115
+- Update to 8.40
116
+* Wed Oct 05 2016 ChangLee <changlee@vmware.com> 8.39-2
117
+- Modified %check
118
+* Fri Sep 9 2016 Xiaolin Li <xiaolinl@vmware.com> 8.39-1
119
+- Update to version 8.39
120
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 8.38-3
121
+- GA - Bump release of all rpms
122
+* Fri Mar 18 2016 Anish Swaminathan <anishs@vmware.com>  8.38-2
123
+- Add upstream fixes patch
124
+* Thu Jan 21 2016 Xiaolin Li <xiaolinl@vmware.com> 8.38-1
125
+- Updated to version 8.38
126
+* Mon Nov 30 2015 Sharath George <sharathg@vmware.com> 8.36-2
127
+- Add symlink for libpcre.so.1
128
+* Thu Nov 06 2014 Sharath George <sharathg@vmware.com> 8.36-1
129
+- Initial version.
... ...
@@ -1,14 +1,16 @@
1 1
 Summary:        Google's data interchange format - C implementation
2 2
 Name:           protobuf-c
3 3
 Version:        1.3.3
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        BSD-3-Clause
6 6
 Group:          Development/Libraries
7 7
 Vendor:         VMware, Inc.
8 8
 Distribution:   Photon
9
-URL:            https://github.com/google/protobuf-c/
10
-Source0:        %{name}-%{version}.tar.gz
11
-%define         sha1 protobuf-c=f70f592e8db0363013492df1e69e47ee8213e003
9
+URL:            https://github.com/protobuf-c/protobuf-c
10
+
11
+Source0: https://github.com/protobuf-c/protobuf-c/releases/download/v1.3.3/%{name}-%{version}.tar.gz
12
+%define sha512 %{name}=237b6e6df6ebf4e62a1d402053182f1224c0f35656f30d8fb55ac79945d3d1acf264a7da9f100c1836b90c4acfc1fd96e9a5a95cb47a77d0ddf043aacc99f359
13
+
12 14
 BuildRequires:  protobuf >= 2.6.0
13 15
 BuildRequires:  protobuf-devel >= 2.6.0
14 16
 BuildRequires:  autoconf
... ...
@@ -18,6 +20,7 @@ BuildRequires:  libstdc++
18 18
 BuildRequires:  curl
19 19
 BuildRequires:  make
20 20
 BuildRequires:  unzip
21
+
21 22
 Requires:       protobuf
22 23
 
23 24
 %description
... ...
@@ -26,34 +29,37 @@ Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neut
26 26
 %package        devel
27 27
 Summary:        Development files for protobuf
28 28
 Group:          Development/Libraries
29
-Requires:       protobuf-c = %{version}-%{release}
29
+Requires:       %{name} = %{version}-%{release}
30 30
 
31 31
 %description    devel
32
-The protobuf-c-devel package contains libraries and header files for
33
-developing applications that use protobuf-c.
32
+The %{name}-devel package contains libraries and header files for
33
+developing applications that use %{name}.
34 34
 
35 35
 %package        static
36
-Summary:        protobuf-c static lib
36
+Summary:        %{name} static lib
37 37
 Group:          Development/Libraries
38
-Requires:       protobuf-c = %{version}-%{release}
38
+Requires:       %{name} = %{version}-%{release}
39 39
 
40 40
 %description    static
41
-The protobuf-c-static package contains static protobuf-c libraries.
41
+The %{name}-static package contains static %{name} libraries.
42 42
 
43 43
 %prep
44
-%setup
44
+%autosetup -p1
45 45
 autoreconf -iv
46 46
 
47 47
 %build
48 48
 %configure --disable-silent-rules
49
-make %{?_smp_mflags}
49
+%make_build
50 50
 
51 51
 %install
52
-make DESTDIR=%{buildroot} install
52
+%make_install %{?_smp_mflags}
53 53
 
54 54
 %post   -p /sbin/ldconfig
55 55
 %postun -p /sbin/ldconfig
56 56
 
57
+%clean
58
+rm -rf %{buildroot}
59
+
57 60
 %files
58 61
 %defattr(-,root,root)
59 62
 %{_bindir}/protoc-c
... ...
@@ -64,7 +70,6 @@ make DESTDIR=%{buildroot} install
64 64
 %defattr(-,root,root)
65 65
 %{_includedir}/*
66 66
 %{_libdir}/pkgconfig/*
67
-%{_libdir}/libprotobuf-c.la
68 67
 %{_libdir}/libprotobuf-c.so
69 68
 
70 69
 %files static
... ...
@@ -72,13 +77,15 @@ make DESTDIR=%{buildroot} install
72 72
 %{_libdir}/libprotobuf-c.a
73 73
 
74 74
 %changelog
75
-*   Fri Feb 19 2021 Harinadh D <hdommaraju@vmware.com> 1.3.3-2
76
--   Version bump up to build with latest protobuf
77
-*   Tue Jun 30 2020 Gerrit Photon <photon-checkins@vmware.com> 1.3.3-1
78
--   Automatic Version Bump
79
-*   Wed Sep 19 2018 Tapas Kundu <tkundu@vmware.com> 1.3.1-1
80
--   Updated to release 1.3.1
81
-*   Thu Mar 30 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.2.1-2
82
--   Fix protobuf-c-static requires
83
-*   Sat Mar 18 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.2.1-1
84
--   Initial packaging for Photon
75
+* Tue Sep 27 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.3.3-3
76
+- Remove .la files
77
+* Fri Feb 19 2021 Harinadh D <hdommaraju@vmware.com> 1.3.3-2
78
+- Version bump up to build with latest protobuf
79
+* Tue Jun 30 2020 Gerrit Photon <photon-checkins@vmware.com> 1.3.3-1
80
+- Automatic Version Bump
81
+* Wed Sep 19 2018 Tapas Kundu <tkundu@vmware.com> 1.3.1-1
82
+- Updated to release 1.3.1
83
+* Thu Mar 30 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.2.1-2
84
+- Fix protobuf-c-static requires
85
+* Sat Mar 18 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.2.1-1
86
+- Initial packaging for Photon
... ...
@@ -1,16 +1,16 @@
1
-%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
2
-
3 1
 Summary:        Google's data interchange format
4 2
 Name:           protobuf
5 3
 Version:        3.14.0
6
-Release:        1%{?dist}
4
+Release:        2%{?dist}
7 5
 License:        BSD-3-Clause
8 6
 Group:          Development/Libraries
9 7
 Vendor:         VMware, Inc.
10 8
 Distribution:   Photon
11
-URL:            https://github.com/google/protobuf/
12
-Source0:        protobuf-%{version}.tar.gz
13
-%define         sha1 protobuf=b613ab3057c8a7400e7b7d3004824274d964a196
9
+URL:            https://github.com/google/protobuf
10
+
11
+Source0:        https://github.com/protocolbuffers/protobuf/archive/refs/tags/%{name}-%{version}.tar.gz
12
+%define sha512 %{name}=9dabba81119cb6196ef5de382a1032c57f6e69038f4dce0156f8671b98e51bb5095915fb6d05bb5a8ad8b17b559e652e1e9a392dd30c7ed8dcf1d986c137be11
13
+
14 14
 BuildRequires:  autoconf
15 15
 BuildRequires:  automake
16 16
 BuildRequires:  libtool
... ...
@@ -18,8 +18,6 @@ BuildRequires:  libstdc++
18 18
 BuildRequires:  curl
19 19
 BuildRequires:  make
20 20
 BuildRequires:  unzip
21
-BuildRequires:  python3
22
-BuildRequires:  python3-libs
23 21
 BuildRequires:  python3-devel
24 22
 BuildRequires:  python3-setuptools
25 23
 BuildRequires:  python3-xml
... ...
@@ -29,76 +27,76 @@ BuildRequires:  openjdk8 >= 1.8.0.45
29 29
 BuildRequires:  apache-maven >= 3.3.3
30 30
 
31 31
 %description
32
-Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.
33
-You can find protobuf's documentation on the Google Developers site.
32
+Protocol Buffers (a.k.a., %{name}) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.
33
+You can find %{name}'s documentation on the Google Developers site.
34 34
 
35 35
 %package        devel
36
-Summary:        Development files for protobuf
36
+Summary:        Development files for %{name}
37 37
 Group:          Development/Libraries
38
-Requires:       protobuf = %{version}-%{release}
38
+Requires:       %{name} = %{version}-%{release}
39 39
 
40 40
 %description    devel
41
-The protobuf-devel package contains libraries and header files for
42
-developing applications that use protobuf.
41
+The %{name}-devel package contains libraries and header files for
42
+developing applications that use %{name}.
43 43
 
44 44
 %package        static
45
-Summary:        protobuf static lib
45
+Summary:        %{name} static lib
46 46
 Group:          Development/Libraries
47
-Requires:       protobuf = %{version}-%{release}
47
+Requires:       %{name} = %{version}-%{release}
48 48
 
49 49
 %description    static
50
-The protobuf-static package contains static protobuf libraries.
50
+The %{name}-static package contains static %{name} libraries.
51 51
 
52 52
 %package        python3
53
-Summary:        protobuf python3 lib
53
+Summary:        %{name} python3 lib
54 54
 Group:          Development/Libraries
55 55
 Requires:       python3
56 56
 Requires:       python3-libs
57
-Requires:       protobuf = %{version}-%{release}
57
+Requires:       %{name} = %{version}-%{release}
58 58
 
59 59
 %description    python3
60
-This contains protobuf python3 libraries.
60
+This contains %{name} python3 libraries.
61 61
 
62 62
 %package        java
63
-Summary:        protobuf java
63
+Summary:        %{name} java
64 64
 Group:          Development/Libraries
65 65
 Requires:       openjre8 >= 1.8.0.45
66 66
 
67 67
 %description    java
68
-This contains protobuf java package.
68
+This contains %{name} java package.
69 69
 
70 70
 %prep
71
-%setup
71
+%autosetup -p1
72 72
 
73 73
 # This test is incredibly slow on arm
74 74
 # https://github.com/google/protobuf/issues/2389
75 75
 %if "%{_arch}" == "aarch64"
76
-rm -f java/core/src/test/java/com/google/protobuf/IsValidUtf8Test.java
77
-rm -f java/core/src/test/java/com/google/protobuf/DecodeUtf8Test.java
76
+rm -f java/core/src/test/java/com/google/%{name}/IsValidUtf8Test.java \
77
+      java/core/src/test/java/com/google/%{name}/DecodeUtf8Test.java
78 78
 %endif
79 79
 
80 80
 autoreconf -iv
81 81
 
82 82
 %build
83 83
 %configure --disable-silent-rules
84
-make %{?_smp_mflags}
84
+%make_build
85 85
 pushd python
86
-python3 setup.py build
86
+%py3_build
87 87
 popd
88 88
 pushd java
89 89
 mvn package
90 90
 popd
91 91
 
92 92
 %install
93
-make DESTDIR=%{buildroot} install
93
+%make_install
94 94
 pushd python
95
-python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
95
+%py3_install
96 96
 popd
97 97
 pushd java
98 98
 mvn install
99
-install -vdm755 %{buildroot}%{_libdir}/java/protobuf
100
-install -vm644 core/target/protobuf-java-%{version}.jar %{buildroot}%{_libdir}/java/protobuf
101
-install -vm644 util/target/protobuf-java-util-%{version}.jar %{buildroot}%{_libdir}/java/protobuf
99
+install -vdm755 %{buildroot}%{_libdir}/java/%{name}
100
+install -vm644 core/target/%{name}-java-%{version}.jar %{buildroot}%{_libdir}/java/%{name}
101
+install -vm644 util/target/%{name}-java-util-%{version}.jar %{buildroot}%{_libdir}/java/%{name}
102 102
 popd
103 103
 
104 104
 %post   -p /sbin/ldconfig
... ...
@@ -115,11 +113,8 @@ popd
115 115
 %defattr(-,root,root)
116 116
 %{_includedir}/*
117 117
 %{_libdir}/pkgconfig/*
118
-%{_libdir}/libprotobuf-lite.la
119 118
 %{_libdir}/libprotobuf-lite.so
120
-%{_libdir}/libprotobuf.la
121 119
 %{_libdir}/libprotobuf.so
122
-%{_libdir}/libprotoc.la
123 120
 %{_libdir}/libprotoc.so
124 121
 
125 122
 %files static
... ...
@@ -135,33 +130,35 @@ popd
135 135
 %{_libdir}/java/protobuf/*.jar
136 136
 
137 137
 %changelog
138
-*   Wed Feb 10 2021 Harinadh D <hdommaraju@vmware.com> 3.14.0-1
139
--   Update protobuf
140
-*   Fri Oct 16 2020 Shreenidhi Shedi <sshedi@vmware.com> 3.13.0-2
141
--   Disabled few slow tests on aarch64
142
-*   Wed Aug 26 2020 Gerrit Photon <photon-checkins@vmware.com> 3.13.0-1
143
--   Automatic Version Bump
144
-*   Thu Jul 23 2020 Gerrit Photon <photon-checkins@vmware.com> 3.12.3-1
145
--   Automatic Version Bump
146
-*   Sun Jun 21 2020 Tapas Kundu <tkundu@vmware.com> 3.6.1-2
147
--   Mass removal python2
148
-*   Tue Sep 18 2018 Tapas Kundu <tkundu@vmware.com> 3.6.1-1
149
--   Update to version 3.6.1
150
-*   Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 3.2.0-6
151
--   Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
152
-*   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.2.0-5
153
--   Use python2 explicitly while building
154
-*   Thu May 18 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.2.0-4
155
--   Renamed openjdk to openjdk8
156
-*   Fri Apr 28 2017 Siju Maliakkal <smaliakkal@vmware.com> 3.2.0-3
157
--   Update python3 version
158
-*   Thu Apr 13 2017 Vinay Kulkarni <kulkarniv@vmware.com> 3.2.0-2
159
--   Build protobuf-java.
160
-*   Fri Mar 31 2017 Rongrong Qiu <rqiu@vmware.com> 3.2.0-1
161
--   Upgrade to 3.2.0
162
-*   Tue Mar 28 2017 Vinay Kulkarni <kulkarniv@vmware.com> 2.6.1-3
163
--   Build protobuf-python.
164
-*   Mon Mar 20 2017 Vinay Kulkarni <kulkarniv@vmware.com> 2.6.1-2
165
--   Build static lib.
166
-*   Fri Mar 03 2017 Xiaolin Li <xiaolinl@vmware.com> 2.6.1-1
167
--   Initial packaging for Photon
138
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 3.14.0-2
139
+- Remove .la files
140
+* Wed Feb 10 2021 Harinadh D <hdommaraju@vmware.com> 3.14.0-1
141
+- Update protobuf
142
+* Fri Oct 16 2020 Shreenidhi Shedi <sshedi@vmware.com> 3.13.0-2
143
+- Disabled few slow tests on aarch64
144
+* Wed Aug 26 2020 Gerrit Photon <photon-checkins@vmware.com> 3.13.0-1
145
+- Automatic Version Bump
146
+* Thu Jul 23 2020 Gerrit Photon <photon-checkins@vmware.com> 3.12.3-1
147
+- Automatic Version Bump
148
+* Sun Jun 21 2020 Tapas Kundu <tkundu@vmware.com> 3.6.1-2
149
+- Mass removal python2
150
+* Tue Sep 18 2018 Tapas Kundu <tkundu@vmware.com> 3.6.1-1
151
+- Update to version 3.6.1
152
+* Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> 3.2.0-6
153
+- Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
154
+* Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.2.0-5
155
+- Use python2 explicitly while building
156
+* Thu May 18 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.2.0-4
157
+- Renamed openjdk to openjdk8
158
+* Fri Apr 28 2017 Siju Maliakkal <smaliakkal@vmware.com> 3.2.0-3
159
+- Update python3 version
160
+* Thu Apr 13 2017 Vinay Kulkarni <kulkarniv@vmware.com> 3.2.0-2
161
+- Build protobuf-java.
162
+* Fri Mar 31 2017 Rongrong Qiu <rqiu@vmware.com> 3.2.0-1
163
+- Upgrade to 3.2.0
164
+* Tue Mar 28 2017 Vinay Kulkarni <kulkarniv@vmware.com> 2.6.1-3
165
+- Build protobuf-python.
166
+* Mon Mar 20 2017 Vinay Kulkarni <kulkarniv@vmware.com> 2.6.1-2
167
+- Build static lib.
168
+* Fri Mar 03 2017 Xiaolin Li <xiaolinl@vmware.com> 2.6.1-1
169
+- Initial packaging for Photon
168 170
deleted file mode 100644
... ...
@@ -1,19 +0,0 @@
1
-#!/bin/sh
2
-# If using normal root, avoid changing anything.
3
-if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then
4
-	exit 0
5
-fi
6
-
7
-STRIP=${1:-strip}
8
-
9
-case `uname -a` in
10
-Darwin*) exit 0 ;;
11
-*) ;;
12
-esac
13
-
14
-# Strip ELF binaries
15
-for f in `find "$RPM_BUILD_ROOT" -type f -exec file {} \; | \
16
-        grep -v "^${RPM_BUILD_ROOT}/\?usr/lib/debug"  | \
17
-	sed -n -e 's/^\(.*\):[ 	]*ELF.*, not stripped/\1/p'`; do
18
-	$STRIP --strip-debug -g "$f" || :
19
-done
20 1
deleted file mode 100644
... ...
@@ -1,19 +0,0 @@
1
-#!/bin/sh
2
-# If using normal root, avoid changing anything.
3
-if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then
4
-	exit 0
5
-fi
6
-
7
-STRIP=${1:-strip}
8
-
9
-case `uname -a` in
10
-Darwin*) exit 0 ;;
11
-*) ;;
12
-esac
13
-
14
-# Strip ELF binaries
15
-for f in `find "$RPM_BUILD_ROOT" -type f -exec file {} \; | \
16
-        grep -v "^${RPM_BUILD_ROOT}/\?usr/lib/debug"  | \
17
-	sed -n -e 's/^\(.*\):[ 	]*ELF.*, not stripped/\1/p'`; do
18
-	$STRIP --strip-unneeded -g "$f" || :
19
-done
20 1
new file mode 100644
... ...
@@ -0,0 +1,91 @@
0
+From ae2e75a129150b808ff1edf80dc8851e4a63a226 Mon Sep 17 00:00:00 2001
1
+From: Shreenidhi Shedi <sshedi@vmware.com>
2
+Date: Mon, 8 Aug 2022 01:39:02 +0530
3
+Subject: [PATCH] Fix a race condition in brp-strip
4
+
5
+brp-strip script runs strip command on deliverables paralley and if
6
+deliverables are hard linked inside buildroot, it will create
7
+contention.
8
+
9
+One good example for such package is git.
10
+https://github.com/vmware/photon/blob/master/SPECS/git/git.spec
11
+
12
+```
13
+Sample output:
14
+$ rpm -ql git | grep libexec | xargs ls -li
15
+668153 -rwxr-xr-x  137 root root 3401056 Aug  2 08:30 /usr/libexec/git-core/git
16
+668153 -rwxr-xr-x  137 root root 3401056 Aug  2 08:30 /usr/libexec/git-core/git-add
17
+787238 -rwxr-xr-x    1 root root   47770 Aug  2 08:30 /usr/libexec/git-core/git-add--interactive
18
+668153 -rwxr-xr-x  137 root root 3401056 Aug  2 08:30 /usr/libexec/git-core/git-am
19
+```
20
+
21
+To overcome this, we run strip twice once for all files with no
22
+hardlinks, this is a parallel job, meaning multiple binaries will be
23
+stripped in parallel.
24
+
25
+And once for files with hardlinks, in this case we disable parallel
26
+processing and strip binaries in sequential order.
27
+
28
+RH bug link:
29
+https://bugzilla.redhat.com/show_bug.cgi?id=1959049
30
+
31
+Co-authored-by: Dweep Advani <dadvani@vmware.com>
32
+Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
33
+---
34
+ scripts/brp-strip | 36 +++++++++++++++++++++++++++++++++---
35
+ 1 file changed, 33 insertions(+), 3 deletions(-)
36
+
37
+diff --git a/scripts/brp-strip b/scripts/brp-strip
38
+index 6825e41c77..799bf2bc2b 100755
39
+--- a/scripts/brp-strip
40
+@@ -1,4 +1,5 @@
41
+ #!/bin/sh
42
++
43
+ # If using normal root, avoid changing anything.
44
+ if [ -z "$RPM_BUILD_ROOT" ] || [ "$RPM_BUILD_ROOT" = "/" ]; then
45
+ 	exit 0
46
+@@ -7,11 +8,40 @@ fi
47
+ STRIP=${1:-strip}
48
+ NCPUS=${RPM_BUILD_NCPUS:-1}
49
+ 
50
++# 32 was chosen as a compromise between reducing the overhead of starting new
51
++# processes and distributing the work load evenly over as much processors as
52
++# possible
53
++MAX_ARGS=32
54
++
55
+ case `uname -a` in
56
+ Darwin*) exit 0 ;;
57
+ *) ;;
58
+ esac
59
+ 
60
+-# Strip ELF binaries
61
+-find "$RPM_BUILD_ROOT" -type f \! -regex "${RPM_BUILD_ROOT}/*usr/lib/debug.*" \! -name "*.go" -print0 | \
62
+-    xargs -0 -r -P$NCPUS -n32 sh -c "file \"\$@\" | sed -n -e 's/^\(.*\):[ 	]*ELF.*, not stripped.*/\1/p' | grep -v 'no machine' | xargs -I\{\} $STRIP -g \{\}" ARG0
63
++# Below is the explanation of commands in the order of their appearance
64
++# Ignore /usr/lib/debug entries
65
++# Ignore all go(guile objects & golang) files
66
++# Consider files with only single link
67
++# Run the file command to find relevant non-stripped binaries, with bundle size of 32
68
++# Ignore all 'no machine' files
69
++# Only operate on non-stripped binaries
70
++
71
++strip_elf_binaries()
72
++{
73
++  local nlinks="${1}"
74
++  local nprocs="${2}"
75
++
76
++  find "$RPM_BUILD_ROOT" -type f \
77
++    ! -regex "${RPM_BUILD_ROOT}/*usr/lib/debug.*" \
78
++    ! -name "*.go" -links "${nlinks}" -print0 | \
79
++    xargs -0 -r -P${nprocs} -n${MAX_ARGS} sh -c "file \"\$@\" | \
80
++    sed -n -e 's/^\(.*\):[ 	]*ELF.*, not stripped.*/\1/p' | \
81
++    grep -v 'no machine' | \
82
++    xargs -I\{\} $STRIP -g \{\}" ARG0
83
++}
84
++
85
++# strip all binaries with single link
86
++strip_elf_binaries "1" "${NCPUS}"
87
++
88
++# strip all binaries with more than 1 link
89
++strip_elf_binaries "+1" "1"
... ...
@@ -1,15 +1,7 @@
1
-#
2
-#   System settings
3
-#
1
+# System settings
4 2
 %_topdir            /usr/src/photon
5
-#
6
-#   Build flags
7
-#
8
-#%_optflags_i686    -march=i486 -mtune=i686 -O2 -pipe
9
-#%_optflags_x86_64  -march=x86-64 -mtune=generic -O2 -pipe -fno-strict-aliasing
10
-#
11
-#   Some standard locations
12
-#
3
+
4
+# Some standard locations
13 5
 %_sysconfdir        /etc
14 6
 %_lib               /usr/lib
15 7
 %_lib64             /usr/lib64
... ...
@@ -32,29 +24,11 @@
32 32
 
33 33
 %__tar              /bin/tar --no-same-owner
34 34
 
35
-
36
-#############################################################################
37
-# Perl specific macros, no longer part of rpm >= 4.15
38
-%perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
39
-%perl_vendorlib  %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
40
-%perl_archlib    %(eval "`perl -V:installarchlib`"; echo $installarchlib)
41
-%perl_privlib    %(eval "`perl -V:installprivlib`"; echo $installprivlib)
42
-#############################################################################
43
-
44 35
 %_enable_debug_packages 1
45 36
 %_include_minidebuginfo 1
46 37
 %_use_internal_dependency_generator 1
47 38
 %_build_id_links alldebug
48 39
 
49
-%__os_install_post    \
50
-    %{_rpmconfigdir}/brp-compress \
51
-    %{_rpmconfigdir}/brp-strip %{__strip} \
52
-    %{_rpmconfigdir}/brp-strip-debug-symbols %{__strip} \
53
-    %{_rpmconfigdir}/brp-strip-comment-note %{__strip} %{__objdump} \
54
-    %{_rpmconfigdir}/brp-strip-unneeded %{__strip} \
55
-    %{_rpmconfigdir}/brp-strip-static-archive %{__strip} \
56
-%{nil}
57
-
58 40
 %install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
59 41
 %%install\
60 42
 %{nil}
... ...
@@ -1,4 +1,3 @@
1
-#%ldconfig /sbin/ldconfig
2 1
 %ldconfig_post(n:) %{?ldconfig:%post -p %ldconfig %{?*} %{-n:-n %{-n*}}\
3 2
 %end}
4 3
 %ldconfig_postun(n:) %{?ldconfig:%postun -p %ldconfig %{?*} %{-n:-n %{-n*}}\
... ...
@@ -1,7 +1,165 @@
1
-# Perl specific macro definitions.
1
+# Taken from fedora
2
+# https://src.fedoraproject.org/rpms/perl/raw/rawhide/f/macros.perl
3
+#
4
+# Sensible Perl-specific RPM build macros.
5
+#
6
+# Note that these depend on the generic filtering system being in place in
7
+# rpm core; but won't cause a build to fail if they're not present.
8
+#
9
+# Chris Weyl <cweyl@alumni.drew.edu> 2009
10
+# Marcela Mašláňová <mmaslano@redhat.com> 2011
2 11
 
12
+# This macro unsets several common vars used to control how Makefile.PL (et
13
+# al) build and install packages.  We also set a couple to help some of the
14
+# common systems be less interactive.  This was blatantly stolen from
15
+# cpanminus, and helps building rpms locally when one makes extensive use of
16
+# local::lib, etc.
17
+#
18
+# Usage, in %build, before "%{__perl} Makefile.PL ..."
19
+#
20
+#   %{?perl_ext_env_unset}
21
+
22
+%perl_ext_env_unset %{expand:
23
+unset PERL_MM_OPT MODULEBUILDRC PERL5INC
24
+export PERL_AUTOINSTALL="--defaultdeps"
25
+export PERL_MM_USE_DEFAULT=1
26
+}
27
+
28
+# Photon specific macros
3 29
 %__perl         %{_bindir}/perl
4
-%perl_sitelib	%(eval "`perl -V:installsitelib`"; echo $installsitelib)
5
-%perl_sitearch	%(eval "`perl -V:installsitearch`"; echo $installsitearch)
6
-%perl_archlib	%(eval "`perl -V:installarchlib`"; echo $installarchlib)
7
-%perl_privlib	%(eval "`perl -V:installprivlib`"; echo $installprivlib)
30
+%perl_sitelib   %(eval "`perl -V:installsitelib`"; echo $installsitelib)
31
+%perl_sitearch  %(eval "`perl -V:installsitearch`"; echo $installsitearch)
32
+
33
+#############################################################################
34
+# Perl specific macros, no longer part of rpm >= 4.15
35
+%perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
36
+%perl_vendorlib  %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
37
+%perl_archlib    %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib)
38
+%perl_privlib    %(eval "`%{__perl} -V:installprivlib`"; echo $installprivlib)
39
+
40
+#############################################################################
41
+# Filtering macro incantations
42
+
43
+# keep track of what "revision" of the filtering we're at.  Each time we
44
+# change the filter we should increment this.
45
+
46
+%perl_default_filter_revision 3
47
+
48
+# By default, for perl packages we want to filter all files in _docdir from
49
+# req/prov scanning.
50
+# Filtering out any provides caused by private libs in vendorarch/archlib
51
+# (vendor/core) is done by rpmbuild since Fedora 20
52
+# <https://fedorahosted.org/fpc/ticket/353>.
53
+#
54
+# Note that this must be invoked in the spec file, preferably as
55
+# "%{?perl_default_filter}", before any %description block.
56
+
57
+%perl_default_filter %{expand: \
58
+%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_docdir}
59
+%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}^%{_docdir}
60
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\\\(VMS|^perl\\\\(Win32|^perl\\\\(DB\\\\)|^perl\\\\(UNIVERSAL\\\\)
61
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\\\(VMS|^perl\\\\(Win32
62
+}
63
+
64
+#############################################################################
65
+# Macros to assist with generating a "-tests" subpackage in a semi-automatic
66
+# manner.
67
+#
68
+# The following macros are still in a highly experimental stage and users
69
+# should be aware that the interface and behaviour may change.
70
+#
71
+# PLEASE, PLEASE CONDITIONALIZE THESE MACROS IF YOU USE THEM.
72
+#
73
+# See http://gist.github.com/284409
74
+
75
+# These macros should be invoked as above, right before the first %description
76
+# section, and conditionalized.  e.g., for the common case where all our tests
77
+# are located under t/, the correct usage is:
78
+#
79
+#   %{?perl_default_subpackage_tests}
80
+#
81
+# If custom files/directories need to be specified, this can be done as such:
82
+#
83
+#   %{?perl_subpackage_tests:%perl_subpackage_tests t/ one/ three.sql}
84
+#
85
+# etc, etc.
86
+
87
+%perl_version   %(eval "`%{__perl} -V:version`"; echo $version)
88
+%perl_testdir   %{_libexecdir}/perl5-tests
89
+%cpan_dist_name %(eval echo %{name} | %{__sed} -e 's/^perl-//')
90
+
91
+# easily mark something as required by -tests and BR to the main package
92
+%tests_req() %{expand:\
93
+BuildRequires: %*\
94
+%%tests_subpackage_requires %*\
95
+}
96
+
97
+# fixup (and create if needed) the shbang lines in tests, so they work and
98
+# rpmlint doesn't (correctly) have a fit
99
+%fix_shbang_line() \
100
+TMPHEAD=`mktemp`\
101
+TMPBODY=`mktemp`\
102
+for file in %* ; do \
103
+    head -1 $file > $TMPHEAD\
104
+    tail -n +2 $file > $TMPBODY\
105
+    %{__perl} -pi -e '$f = /^#!/ ? "" : "#!%{__perl}$/"; $_="$f$_"' $TMPHEAD\
106
+    cat $TMPHEAD $TMPBODY > $file\
107
+done\
108
+%{__perl} -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(qw{%*})"\
109
+%{__rm} $TMPHEAD $TMPBODY\
110
+%{nil}
111
+
112
+# additional -tests subpackage requires, if any
113
+%tests_subpackage_requires() %{expand: \
114
+%global __tests_spkg_req %{?__tests_spkg_req} %* \
115
+}
116
+
117
+# additional -tests subpackage provides, if any
118
+%tests_subpackage_provides() %{expand: \
119
+%global __tests_spkg_prov %{?__tests_spkg_prov} %* \
120
+}
121
+
122
+#
123
+# Runs after the body of %check completes.
124
+#
125
+
126
+%__perl_check_pre %{expand: \
127
+%{?__spec_check_pre} \
128
+pushd %{buildsubdir} \
129
+%define perl_br_testdir %{buildroot}%{perl_testdir}/%{cpan_dist_name} \
130
+%{__mkdir_p} %{perl_br_testdir} \
131
+%{__tar} -cf - %{__perl_test_dirs} | ( cd %{perl_br_testdir} && %{__tar} -xf - ) \
132
+find . -maxdepth 1 -type f -name '*META*' -exec %{__cp} -vp {} %{perl_br_testdir} ';' \
133
+find %{perl_br_testdir} -type f -exec %{__chmod} -c -x {} ';' \
134
+T_FILES=`find %{perl_br_testdir} -type f -name '*.t'` \
135
+%fix_shbang_line $T_FILES \
136
+%{__chmod} +x $T_FILES \
137
+%{_fixperms} %{perl_br_testdir} \
138
+popd \
139
+}
140
+
141
+#
142
+# The actual invoked macro
143
+#
144
+
145
+%perl_subpackage_tests() %{expand: \
146
+%global __perl_package 1\
147
+%global __perl_test_dirs %* \
148
+%global __spec_check_pre %{expand:%{__perl_check_pre}} \
149
+%package tests\
150
+Summary: Test suite for package %{name}\
151
+Group: Development/Debug\
152
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}\
153
+Requires: /usr/bin/prove \
154
+%{?__tests_spkg_req:Requires: %__tests_spkg_req}\
155
+%{?__tests_spkg_prov:Provides: %__tests_spkg_prov}\
156
+AutoReqProv: 0 \
157
+%description tests\
158
+This package provides the test suite for package %{name}.\
159
+%files tests\
160
+%defattr(-,root,root,-)\
161
+%{perl_testdir}\
162
+}
163
+
164
+# shortcut sugar
165
+%perl_default_subpackage_tests %perl_subpackage_tests t/
... ...
@@ -1,43 +1,42 @@
1 1
 %define rpmhome %{_libdir}/rpm
2 2
 
3
-Summary:        Package manager
4
-Name:           rpm
5
-Version:        4.17.1
6
-Release:        2%{?dist}
7
-License:        GPLv2+
8
-URL:            http://rpm.org
9
-Group:          Applications/System
10
-Vendor:         VMware, Inc.
11
-Distribution:   Photon
12
-
13
-Source0:        https://github.com/rpm-software-management/rpm/archive/%{name}-%{version}.tar.bz2
3
+Summary:    Package manager
4
+Name:       rpm
5
+Version:    4.17.1
6
+Release:    3%{?dist}
7
+License:    GPLv2+
8
+URL:        http://rpm.org
9
+Group:      Applications/System
10
+Vendor:     VMware, Inc.
11
+Distribution: Photon
12
+
13
+Source0:    https://github.com/rpm-software-management/rpm/archive/%{name}-%{version}.tar.bz2
14 14
 %define sha512  %{name}=d0429510140f25a25b6c9441abe2027d27c485bbd4969752f69e1c843435c9508b9f85e5bb68085dd64b7da533801aa5c04d8c9d962e08d2ddd3199d0265cc85
15 15
 
16
-Source1:        brp-strip-debug-symbols
17
-Source2:        brp-strip-unneeded
18
-Source3:        macros
19
-Source4:        macros.php
20
-Source5:        macros.perl
21
-Source6:        macros.vpath
22
-Source7:        macros.ldconfig
23
-Source8:        rpmdb-rebuild.sh
24
-Source9:        rpmdb-migrate.sh
25
-Source10:       rpmdb-rebuild.service
26
-Source11:       rpmdb-migrate.service
27
-Source12:       rpm.conf
28
-Source13:       lock.c
29
-
30
-Patch0:         rpmdb-rename-dir.patch
31
-Patch1:         silence-warning.patch
32
-Patch2:         sync-buf-cache.patch
33
-Patch3:         wait-for-lock.patch
34
-Patch4:         migrate-rpmdb.patch
35
-
36
-Requires:       bash
37
-Requires:       zstd-libs
38
-Requires:       lua
39
-Requires:       openssl >= 1.1.1
40
-Requires:       %{name}-libs = %{version}-%{release}
16
+Source1:    macros
17
+Source2:    macros.php
18
+Source3:    macros.perl
19
+Source4:    macros.vpath
20
+Source5:    macros.ldconfig
21
+Source6:    rpmdb-rebuild.sh
22
+Source7:    rpmdb-migrate.sh
23
+Source8:    rpmdb-rebuild.service
24
+Source9:    rpmdb-migrate.service
25
+Source10:   rpm.conf
26
+Source11:   lock.c
27
+
28
+Patch0:     rpmdb-rename-dir.patch
29
+Patch1:     silence-warning.patch
30
+Patch2:     sync-buf-cache.patch
31
+Patch3:     wait-for-lock.patch
32
+Patch4:     migrate-rpmdb.patch
33
+Patch5:     fix-race-condition-in-brp-strip.patch
34
+
35
+Requires:   bash
36
+Requires:   zstd-libs
37
+Requires:   lua
38
+Requires:   openssl >= 1.1.1
39
+Requires:   %{name}-libs = %{version}-%{release}
41 40
 
42 41
 BuildRequires:  pandoc-bin
43 42
 BuildRequires:  systemd-devel
... ...
@@ -62,70 +61,70 @@ BuildRequires:  python3-setuptools
62 62
 RPM package manager
63 63
 
64 64
 %package devel
65
-Summary:        Libraries and header files for rpm
66
-Provides:       pkgconfig(rpm)
67
-Requires:       %{name} = %{version}-%{release}
68
-Requires:       zstd-devel
65
+Summary:    Libraries and header files for rpm
66
+Provides:   pkgconfig(rpm)
67
+Requires:   %{name} = %{version}-%{release}
68
+Requires:   zstd-devel
69 69
 
70 70
 %description devel
71 71
 Static libraries and header files for the support library for rpm
72 72
 
73 73
 %package libs
74
-Summary:    Libraries for rpm
75
-Requires:   nss-libs
76
-Requires:   popt
77
-Requires:   libgcc
78
-Requires:   libcap
79
-Requires:   zlib
80
-Requires:   bzip2-libs
81
-Requires:   elfutils-libelf
82
-Requires:   xz-libs
83
-Requires:   zstd-libs
84
-Requires:   (toybox or coreutils-selinux)
85
-Requires:   (toybox or findutils)
86
-Requires:   (toybox or sed)
74
+Summary:  Libraries for rpm
75
+Requires: nss-libs
76
+Requires: popt
77
+Requires: libgcc
78
+Requires: libcap
79
+Requires: zlib
80
+Requires: bzip2-libs
81
+Requires: elfutils-libelf
82
+Requires: xz-libs
83
+Requires: zstd-libs
84
+Requires: (toybox or coreutils-selinux)
85
+Requires: (toybox or findutils)
86
+Requires: (toybox or sed)
87 87
 Conflicts:  libsolv < 0.7.19
88 88
 
89
-%description    libs
89
+%description  libs
90 90
 Shared libraries librpm and librpmio
91 91
 
92 92
 %package build
93
-Requires:   perl
94
-Requires:   lua
95
-Requires:   %{name}-devel = %{version}-%{release}
96
-Requires:   elfutils-libelf
97
-Requires:   cpio
98
-Requires:   systemd-rpm-macros
99
-Requires:   python3-macros
100
-Requires:   dwz
101
-Requires:   debugedit
102
-Summary:    Binaries, scripts and libraries needed to build rpms.
93
+Requires: perl
94
+Requires: lua
95
+Requires: %{name}-devel = %{version}-%{release}
96
+Requires: elfutils-libelf
97
+Requires: cpio
98
+Requires: systemd-rpm-macros
99
+Requires: python3-macros
100
+Requires: dwz
101
+Requires: debugedit
102
+Summary:  Binaries, scripts and libraries needed to build rpms.
103 103
 
104 104
 %description build
105 105
 Binaries, libraries and scripts to build rpms.
106 106
 
107 107
 %package lang
108
-Summary:    Additional language files for rpm
109
-Group:      Applications/System
110
-Requires:   %{name} = %{version}-%{release}
108
+Summary:  Additional language files for rpm
109
+Group:    Applications/System
110
+Requires: %{name} = %{version}-%{release}
111 111
 
112 112
 %description lang
113 113
 These are the additional language files of rpm.
114 114
 
115 115
 %package -n python3-rpm
116
-Summary:    Python 3 bindings for rpm.
117
-Group:      Development/Libraries
118
-Requires:   python3
119
-Requires:   python3-setuptools
116
+Summary:  Python 3 bindings for rpm.
117
+Group:    Development/Libraries
118
+Requires: python3
119
+Requires: python3-setuptools
120 120
 
121 121
 %description -n python3-rpm
122 122
 Python3 rpm.
123 123
 
124 124
 %package plugin-systemd-inhibit
125
-Summary:    Rpm plugin for systemd inhibit functionality
126
-Requires:   rpm-libs = %{version}-%{release}
127
-Requires:   dbus
128
-Requires:   systemd
125
+Summary:  Rpm plugin for systemd inhibit functionality
126
+Requires: rpm-libs = %{version}-%{release}
127
+Requires: dbus
128
+Requires: systemd
129 129
 
130 130
 %description plugin-systemd-inhibit
131 131
 This plugin blocks systemd from entering idle, sleep or shutdown while an rpm
... ...
@@ -142,25 +141,25 @@ sed -i 's/extra_link_args/library_dirs/g' python/setup.py.in
142 142
 
143 143
 sh autogen.sh --noconfigure
144 144
 %configure \
145
-    CPPFLAGS='-I/usr/include/nspr -I/usr/include/nss -DLUA_COMPAT_APIINTCASTS' \
146
-        --disable-dependency-tracking \
147
-        --disable-static \
148
-        --enable-python \
149
-        --with-cap \
150
-        --with-vendor=vmware \
151
-        --disable-silent-rules \
152
-        --enable-zstd \
153
-        --without-archive \
154
-        --enable-sqlite \
155
-        --enable-bdb-ro \
156
-        --enable-plugins \
157
-        --with-crypto=openssl \
158
-        --with-lua \
159
-        --enable-nls
145
+  CPPFLAGS='-I/usr/include/nspr -I/usr/include/nss -DLUA_COMPAT_APIINTCASTS' \
146
+    --disable-dependency-tracking \
147
+    --disable-static \
148
+    --enable-python \
149
+    --with-cap \
150
+    --with-vendor=vmware \
151
+    --disable-silent-rules \
152
+    --enable-zstd \
153
+    --without-archive \
154
+    --enable-sqlite \
155
+    --enable-bdb-ro \
156
+    --enable-plugins \
157
+    --with-crypto=openssl \
158
+    --with-lua \
159
+    --enable-nls
160 160
 
161 161
 %make_build %{?_smp_mflags}
162 162
 
163
-gcc -Wall -o lock %{SOURCE13}
163
+gcc -Wall -o lock %{SOURCE11}
164 164
 chmod 700 lock
165 165
 
166 166
 pushd python
... ...
@@ -183,22 +182,20 @@ ln -sfv %{_bindir}/find-debuginfo %{buildroot}%{rpmhome}/find-debuginfo.sh
183 183
 
184 184
 # System macros and prefix
185 185
 install -dm644 %{buildroot}%{_sysconfdir}/rpm
186
-install -vm755 %{SOURCE1} %{buildroot}%{_libdir}/rpm
187
-install -vm755 %{SOURCE2} %{buildroot}%{_libdir}/rpm
188
-install -vm644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm
186
+install -vm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm
187
+install -vm644 %{SOURCE2} %{buildroot}%{rpmhome}/macros.d
188
+install -vm644 %{SOURCE3} %{buildroot}%{rpmhome}/macros.d
189 189
 install -vm644 %{SOURCE4} %{buildroot}%{rpmhome}/macros.d
190 190
 install -vm644 %{SOURCE5} %{buildroot}%{rpmhome}/macros.d
191
-install -vm644 %{SOURCE6} %{buildroot}%{rpmhome}/macros.d
192
-install -vm644 %{SOURCE7} %{buildroot}%{rpmhome}/macros.d
193
-install -vm755 %{SOURCE8} %{buildroot}%{_libdir}/rpm
194
-install -vm755 %{SOURCE9} %{buildroot}%{_libdir}/rpm
191
+install -vm755 %{SOURCE6} %{buildroot}%{_libdir}/rpm
192
+install -vm755 %{SOURCE7} %{buildroot}%{_libdir}/rpm
195 193
 
196 194
 mkdir -p %{buildroot}%{_unitdir}
197
-install -vm644 %{SOURCE10} %{buildroot}/%{_unitdir}
198
-install -vm644 %{SOURCE11} %{buildroot}/%{_unitdir}
195
+install -vm644 %{SOURCE8} %{buildroot}/%{_unitdir}
196
+install -vm644 %{SOURCE9} %{buildroot}/%{_unitdir}
199 197
 
200 198
 mkdir -p %{buildroot}%{_sysconfdir}/tdnf/minversions.d
201
-install -vm644 %{SOURCE12} %{buildroot}%{_sysconfdir}/tdnf/minversions.d
199
+install -vm644 %{SOURCE10} %{buildroot}%{_sysconfdir}/tdnf/minversions.d
202 200
 mv lock %{buildroot}%{_libdir}/rpm
203 201
 
204 202
 pushd python
... ...
@@ -214,14 +211,14 @@ if [ -d %{_sharedstatedir}/rpm ]; then
214 214
   mkdir -p %{_libdir}/sysimage/rpm
215 215
   rpmdb_files=$(find %{_sharedstatedir}/rpm -maxdepth 1 -type f | sed 's|^/var/lib/rpm/||g' | sort)
216 216
   for fn in ${rpmdb_files[@]}; do
217
-    ln -sfr %{_sharedstatedir}/rpm/${fn} %{_libdir}/sysimage/rpm/${fn}
217
+  ln -sfr %{_sharedstatedir}/rpm/${fn} %{_libdir}/sysimage/rpm/${fn}
218 218
   done
219 219
 fi
220 220
 
221 221
 %posttrans libs
222 222
 if [ -f %{_sharedstatedir}/rpm/Packages ]; then
223 223
   if [ -x %{_bindir}/systemctl ]; then
224
-    systemctl --no-reload preset rpmdb-rebuild || :
224
+  systemctl --no-reload preset rpmdb-rebuild || :
225 225
   fi
226 226
   nohup bash %{rpmhome}/rpmdb-rebuild.sh &>/dev/null &
227 227
 fi
... ...
@@ -347,6 +344,9 @@ rm -rf %{buildroot}
347 347
 %{_mandir}/man8/rpm-plugin-systemd-inhibit.8*
348 348
 
349 349
 %changelog
350
+* Tue Sep 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 4.17.1-3
351
+- Cleanup macros file
352
+- Remove redundant brp-strip-debug-symbols script
350 353
 * Sat Jul 30 2022 Shreenidhi Shedi <sshedi@vmware.com> 4.17.1-2
351 354
 - Bump version as a part of sqlite upgrade
352 355
 * Tue Feb 08 2022 Shreenidhi Shedi <sshedi@vmware.com> 4.17.1-1
... ...
@@ -419,7 +419,7 @@ rm -rf %{buildroot}
419 419
 - Update to 4.13.0
420 420
 * Wed Apr 19 2017 Alexey Makhalov <amakhalov@vmware.com> 4.11.2-22
421 421
 - Do not allow -debuginfo to own directories to avoid conflicts with
422
-    filesystem package and between each other. Patch applied
422
+  filesystem package and between each other. Patch applied
423 423
 * Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> 4.11.2-21
424 424
 - rpm-libs requires nss-libs, xz-libs and bzip2-libs.
425 425
 * Tue Mar 21 2017 Xiaolin Li <xiaolinl@vmware.com> 4.11.2-20
... ...
@@ -4,12 +4,15 @@ Version:        1.46
4 4
 Release:        1%{?dist}
5 5
 License:        BSD
6 6
 URL:            https://github.com/hreinecke/sg3_utils
7
-Source0:        %{name}-%{version}.tar.gz
8
-%define sha1    sg3_utils=0ba89a0b9140b469fde568a76361cfbc02e64338
9 7
 Group:          System/Tools.
10 8
 Vendor:         VMware, Inc.
11 9
 Distribution:   Photon
12
-Provides:       sg_utils.
10
+
11
+Source0:        https://github.com/hreinecke/sg3_utils/archive/refs/tags/%{name}-%{version}.tar.gz
12
+%define sha512 %{name}=ba447b5392b1a3fd6750649dc1a93e788780b80adff475efa350ca2787cc36ad27758772fc8bca33658b5e5e70bea8979a7d51686663ca6dd6a5c0a7d3f2e8c9
13
+
14
+Provides:       sg_utils
15
+
13 16
 BuildRequires:  lua-devel
14 17
 
15 18
 %description
... ...
@@ -18,12 +21,13 @@ Linux tools and utilities to send commands to SCSI devices.
18 18
 %package -n     libsg3_utils-devel
19 19
 Summary:        Devel pacjage for sg3_utils.
20 20
 Group:          Development/Library.
21
+Requires:       %{name} = %{version}-%{release}
21 22
 
22 23
 %description -n libsg3_utils-devel
23 24
 Package containing static library object for development.
24 25
 
25 26
 %prep
26
-%setup -q
27
+%autosetup -p1
27 28
 
28 29
 %build
29 30
 #make some fixes required by glibc-2.28:
... ...
@@ -32,12 +36,11 @@ sed -i '/unistd/a #include <sys/sysmacros.h>' src/sg_dd.c src/sg_map26.c src/sg_
32 32
 %configure
33 33
 
34 34
 %install
35
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
35
+%make_install %{?_smp_mflags}
36 36
 install -m 755 scripts/scsi_logging_level %{buildroot}/%{_bindir}
37 37
 install -m 755 scripts/rescan-scsi-bus.sh %{buildroot}/%{_bindir}
38 38
 
39 39
 %post -p /sbin/ldconfig
40
-
41 40
 %postun -p /sbin/ldconfig
42 41
 
43 42
 %files
... ...
@@ -49,20 +52,19 @@ install -m 755 scripts/rescan-scsi-bus.sh %{buildroot}/%{_bindir}
49 49
 %files -n libsg3_utils-devel
50 50
 %defattr(-,root,root)
51 51
 %{_libdir}/libsgutils2.a
52
-%{_libdir}/libsgutils2.la
53 52
 %{_libdir}/libsgutils2.so
54 53
 %{_includedir}/scsi/*
55 54
 
56 55
 %changelog
57
-*   Mon May 03 2021 Gerrit Photon <photon-checkins@vmware.com> 1.46-1
58
--   Automatic Version Bump
59
-*   Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 1.44-1
60
--   Automatic Version Bump
61
-*   Mon Sep 10 2018 Alexey Makhalov <amakhalov@vmware.com> 1.43-2
62
--   Fix compilation issue against glibc-2.28
63
-*   Tue Oct 03 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.43-1
64
--   Update to v1.43
65
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.42-2
66
--   GA - Bump release of all rpms
67
-*   Thu Apr 14 2016 Kumar Kaushik <kaushikk@vmware.com> 1.42-1
68
--   Initial build. First version
56
+* Mon May 03 2021 Gerrit Photon <photon-checkins@vmware.com> 1.46-1
57
+- Automatic Version Bump
58
+* Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 1.44-1
59
+- Automatic Version Bump
60
+* Mon Sep 10 2018 Alexey Makhalov <amakhalov@vmware.com> 1.43-2
61
+- Fix compilation issue against glibc-2.28
62
+* Tue Oct 03 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.43-1
63
+- Update to v1.43
64
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.42-2
65
+- GA - Bump release of all rpms
66
+* Thu Apr 14 2016 Kumar Kaushik <kaushikk@vmware.com> 1.42-1
67
+- Initial build. First version
... ...
@@ -1,17 +1,17 @@
1 1
 Summary:        SQLite: An Embeddable SQL Database Engine
2 2
 Name:           sqlite2
3 3
 Version:        2.8.17
4
-Release:        3%{?dist}
4
+Release:        4%{?dist}
5 5
 URL:            http://www.sqlite.org
6 6
 License:        Public Domain
7 7
 Group:          System Environment/GeneralLibraries
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 
11
-Source0:        ftp://ftp.za.freebsd.org/openbsd/distfiles/sqlite-%{version}.tar.gz
12
-%define sha1    sqlite=75db1cf3b00ea18ae8528e676fc9fdf698e2fe58
11
+Source0:        https://www.sqlite.org/sqlite-%{version}.tar.gz
12
+%define sha512 sqlite=966e0b7f7ebbaaa9e1899864475040946fd7b66363be778d29fadd5184623b1e62644f3c8d4c4ecd001b88044befa7c34d9de9f68590329a1a8301d854b73e3f
13 13
 
14
-Patch0:         0001-lemon-fix.patch
14
+Patch0: 0001-lemon-fix.patch
15 15
 
16 16
 %description
17 17
 SQLite is a self-contained, high-reliability, embedded, full-featured, public-domain, SQL database engine. SQLite is the most used database engine in the world.
... ...
@@ -19,7 +19,7 @@ SQLite is a self-contained, high-reliability, embedded, full-featured, public-do
19 19
 %package devel
20 20
 Summary: Headers and development libraries for sqlite2
21 21
 Group: Development/Libraries
22
-Requires: %{name} = %{version}
22
+Requires: %{name} = %{version}-%{release}
23 23
 
24 24
 %description devel
25 25
 Headers and development libraries for sqlite2
... ...
@@ -29,14 +29,14 @@ Headers and development libraries for sqlite2
29 29
 
30 30
 %build
31 31
 %configure \
32
-       --enable-threads     \
33
-       --enable-shared      \
32
+       --enable-threads \
33
+       --enable-shared \
34 34
        --enable-symbols
35
-make %{?_smp_mflags}
35
+
36
+%make_build
36 37
 
37 38
 %install
38
-[ %{buildroot} != "/" ] && rm -rf %{buildroot}/*
39
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
39
+%make_install %{?_smp_mflags}
40 40
 
41 41
 %ldconfig_scriptlets
42 42
 
... ...
@@ -50,10 +50,11 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
50 50
 %{_includedir}/*
51 51
 %{_libdir}/pkgconfig/*
52 52
 %{_libdir}/libsqlite.a
53
-%{_libdir}/libsqlite.la
54 53
 %{_libdir}/libsqlite.so
55 54
 
56 55
 %changelog
56
+* Mon Aug 08 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.8.17-4
57
+- Remove .la files
57 58
 * Tue Sep 25 2018 Ajay Kaher <akaher@vmware.com> 2.8.17-3
58 59
 - adding patch to fix lemon segmentation fault
59 60
 * Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 2.8.17-2
... ...
@@ -1,15 +1,15 @@
1 1
 Summary:        The Apache Subversion control system
2 2
 Name:           subversion
3 3
 Version:        1.14.2
4
-Release:        3%{?dist}
4
+Release:        4%{?dist}
5 5
 License:        Apache License 2.0
6 6
 URL:            http://subversion.apache.org
7 7
 Group:          Utilities/System
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 
11
-Source0:        http://archive.apache.org/dist/%{name}/%{name}-%{version}.tar.bz2
12
-%define sha512  %{name}=20ada4688ca07d9fb8da4b7d53b5084568652a3b9418c65e688886bae950a16a3ff37710fcfc9c29ef14a89e75b2ceec4e9cf35d5876a7896ebc2b512cfb9ecc
11
+Source0: http://archive.apache.org/dist/%{name}/%{name}-%{version}.tar.bz2
12
+%define sha512 %{name}=20ada4688ca07d9fb8da4b7d53b5084568652a3b9418c65e688886bae950a16a3ff37710fcfc9c29ef14a89e75b2ceec4e9cf35d5876a7896ebc2b512cfb9ecc
13 13
 
14 14
 Requires:       apr
15 15
 Requires:       apr-util
... ...
@@ -18,7 +18,6 @@ Requires:       cyrus-sasl
18 18
 Requires:       utf8proc
19 19
 
20 20
 BuildRequires:  apr-devel
21
-BuildRequires:  apr-util
22 21
 BuildRequires:  apr-util-devel
23 22
 BuildRequires:  sqlite-devel
24 23
 BuildRequires:  libtool
... ...
@@ -33,14 +32,16 @@ The Apache version control system.
33 33
 
34 34
 %package        devel
35 35
 Summary:        Header and development files for mesos
36
-Requires:       %{name} = %{version}
36
+Requires:       %{name} = %{version}-%{release}
37
+
37 38
 %description    devel
38 39
 subversion-devel package contains header files, libraries.
39 40
 
40 41
 %package        perl
41 42
 Summary:        Allows Perl scripts to directly use Subversion repositories.
42 43
 Requires:       perl
43
-Requires:       %{name} = %{version}
44
+Requires:       %{name} = %{version}-%{release}
45
+
44 46
 %description    perl
45 47
 Provides Perl (SWIG) support for Subversion version control system.
46 48
 
... ...
@@ -48,10 +49,11 @@ Provides Perl (SWIG) support for Subversion version control system.
48 48
 %autosetup -p1
49 49
 
50 50
 %build
51
-%configure --disable-static \
52
-           --with-apache-libexecdir \
53
-           --with-serf=%{_prefix} \
54
-           --with-lz4=internal
51
+%configure \
52
+   --disable-static \
53
+   --with-apache-libexecdir \
54
+   --with-serf=%{_prefix} \
55
+   --with-lz4=internal
55 56
 
56 57
 %make_build
57 58
 
... ...
@@ -81,25 +83,24 @@ userdel test -r -f
81 81
 %{_bindir}/svn*
82 82
 %{_libdir}/libsvn_*.so.*
83 83
 %{_mandir}/man[158]/*
84
-%{_datadir}/locale/*
85 84
 
86 85
 %files devel
86
+%defattr(-,root,root)
87 87
 %{_includedir}/*
88
-%{_libdir}/libsvn_*.*a
89 88
 %{_libdir}/libsvn_*.so
90 89
 %{_datadir}/pkgconfig/*.pc
91 90
 %exclude %dir %{_libdir}/debug
92 91
 
93 92
 %files perl
94 93
 %defattr(-,root,root)
95
-%{perl_sitearch}/SVN
96
-%{perl_sitearch}/auto/SVN
97 94
 %{_libdir}/libsvn_swig_perl*so*
98 95
 %{_libdir}/perl5/*
99 96
 %{_mandir}/man3/SVN*
100 97
 %exclude %{_libdir}/perl5/*/*/perllocal.pod
101 98
 
102 99
 %changelog
100
+* Tue Sep 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.14.2-4
101
+- Remove .la files
103 102
 * Sat Jul 30 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.14.2-3
104 103
 - Bump version as a part of sqlite upgrade
105 104
 * Sun May 29 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.14.2-2
... ...
@@ -1,16 +1,26 @@
1 1
 Summary:        TPM2 Access Broker & Resource Management Daemon implementing the TCG spec
2 2
 Name:           tpm2-abrmd
3 3
 Version:        2.4.1
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 License:        BSD 2-Clause
6 6
 URL:            https://github.com/tpm2-software/tpm2-abrmd
7 7
 Group:          System Environment/Security
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10
-Source0:        %{name}-%{version}.tar.gz
10
+
11
+Source0:        https://github.com/tpm2-software/tpm2-abrmd/releases/download/2.4.1/%{name}-%{version}.tar.gz
11 12
 %define sha512  tpm2=0335285678cfceca4f185981ded90d213ff796cadddc9b5d6dbf2db533f81023a0f1089bbd8a8017bccb95190889be23b24d38a176d3368d221479aff4ff7d6c
12
-BuildRequires:	which dbus-devel glib-devel tpm2-tss-devel
13
-Requires:       dbus glib tpm2-tss
13
+
14
+BuildRequires:  which
15
+BuildRequires:  dbus-devel
16
+BuildRequires:  glib-devel
17
+BuildRequires:  tpm2-tss-devel
18
+BuildRequires:  systemd-devel
19
+
20
+Requires: systemd
21
+Requires: dbus
22
+Requires: glib
23
+Requires: tpm2-tss
14 24
 
15 25
 %description
16 26
 TPM2 Access Broker & Resource Management Daemon implementing the TCG spec
... ...
@@ -23,28 +33,30 @@ Requires:       %{name} = %{version}-%{release}
23 23
 The libraries and header files needed for TSS2 ABRMD development.
24 24
 
25 25
 %prep
26
-%autosetup
26
+%autosetup -p1
27 27
 
28 28
 %build
29 29
 %configure \
30 30
     --disable-static \
31
-    --with-systemdsystemunitdir=/usr/lib/systemd/system \
32
-    --with-dbuspolicydir=/etc/dbus-1/system.d
33
-make %{?_smp_mflags}
31
+    --with-systemdsystemunitdir=%{_unitdir} \
32
+    --with-dbuspolicydir=%{_sysconfdir}/dbus-1/system.d
33
+
34
+%make_build
34 35
 
35 36
 %install
36
-make DESTDIR=%{buildroot} %{?_smp_mflags} install
37
+%make_install %{?_smp_mflags}
37 38
 
38 39
 %post -p /sbin/ldconfig
39 40
 %postun -p /sbin/ldconfig
40 41
 
41 42
 %files
42 43
 %defattr(-,root,root)
43
-%{_sysconfdir}/dbus-1/system.d/tpm2-abrmd.conf
44
-%{_sbindir}/tpm2-abrmd
44
+%{_sysconfdir}/dbus-1/system.d/%{name}.conf
45
+%{_sbindir}/%{name}
46
+%{_libdir}/libtss2-tcti-tabrmd.so.0
45 47
 %{_libdir}/libtss2-tcti-tabrmd.so.0.0.0
46
-%{_libdir}/systemd/system/tpm2-abrmd.service
47
-%{_libdir}/systemd/system-preset/tpm2-abrmd.preset
48
+%{_unitdir}/%{name}.service
49
+%{_presetdir}/%{name}.preset
48 50
 %{_datadir}/dbus-1/*
49 51
 %{_mandir}/man8
50 52
 
... ...
@@ -52,20 +64,20 @@ make DESTDIR=%{buildroot} %{?_smp_mflags} install
52 52
 %defattr(-,root,root)
53 53
 %{_includedir}/tss2/*
54 54
 %{_libdir}/pkgconfig/*
55
-%{_libdir}/libtss2-tcti-tabrmd.la
56 55
 %{_libdir}/libtss2-tcti-tabrmd.so
57
-%{_libdir}/libtss2-tcti-tabrmd.so.0
58 56
 %{_mandir}/man3
59 57
 %{_mandir}/man7
60 58
 
61 59
 %changelog
62
-*   Tue Apr 19 2022 Gerrit Photon <photon-checkins@vmware.com> 2.4.1-1
63
--   Automatic Version Bump
64
-*   Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 2.4.0-1
65
--   Automatic Version Bump
66
-*   Tue Aug 18 2020 Gerrit Photon <photon-checkins@vmware.com> 2.3.3-1
67
--   Automatic Version Bump
68
-*   Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 2.3.2-1
69
--   Automatic Version Bump
70
-*   Thu Feb 21 2019 Alexey Makhalov <amakhalov@vmware.com> 2.1.0-1
71
--   Initial build. First version.
60
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.4.1-2
61
+- Remove .la files
62
+* Tue Apr 19 2022 Gerrit Photon <photon-checkins@vmware.com> 2.4.1-1
63
+- Automatic Version Bump
64
+* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 2.4.0-1
65
+- Automatic Version Bump
66
+* Tue Aug 18 2020 Gerrit Photon <photon-checkins@vmware.com> 2.3.3-1
67
+- Automatic Version Bump
68
+* Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 2.3.2-1
69
+- Automatic Version Bump
70
+* Thu Feb 21 2019 Alexey Makhalov <amakhalov@vmware.com> 2.1.0-1
71
+- Initial build. First version.
... ...
@@ -1,66 +1,62 @@
1
-Summary:          OSS implementation of the TCG TPM2 Software Stack (TSS2)
2
-Name:             tpm2-tss
3
-Version:          3.2.0
4
-Release:          1%{?dist}
5
-License:          BSD 2-Clause
6
-URL:              https://github.com/tpm2-software/tpm2-tss
7
-Group:            System Environment/Security
8
-Vendor:           VMware, Inc.
9
-Distribution:     Photon
10
-Source0:          %{name}-%{version}.tar.gz
11
-%define sha512    tpm2-tss=cabb411f074dfa94919ba914849aac77a0ac2f50622e28a1406cf575369148774748e0e2b7a7c566ec83561a96d4b883bac5a3b1763f4cf48668a0c5d68c0a23
12
-BuildRequires:    openssl-devel shadow
13
-Requires:         openssl
1
+Summary:    OSS implementation of the TCG TPM2 Software Stack (TSS2)
2
+Name:       tpm2-tss
3
+Version:    3.2.0
4
+Release:    2%{?dist}
5
+License:    BSD 2-Clause
6
+URL:        https://github.com/tpm2-software/tpm2-tss
7
+Group:      System Environment/Security
8
+Vendor:     VMware, Inc.
9
+Distribution:   Photon
10
+
11
+Source0:      https://github.com/tpm2-software/tpm2-tss/releases/download/3.2.0/%{name}-%{version}.tar.gz
12
+%define sha512    %{name}=cabb411f074dfa94919ba914849aac77a0ac2f50622e28a1406cf575369148774748e0e2b7a7c566ec83561a96d4b883bac5a3b1763f4cf48668a0c5d68c0a23
13
+
14
+BuildRequires:  openssl-devel
15
+BuildRequires:  shadow
16
+
17
+Requires: openssl
14 18
 
15 19
 %description
16 20
 OSS implementation of the TCG TPM2 Software Stack (TSS2)
17 21
 
18
-%package          devel
19
-Summary:          The libraries and header files needed for TSS2 development.
20
-Requires:         %{name} = %{version}-%{release}
22
+%package      devel
23
+Summary:      The libraries and header files needed for TSS2 development.
24
+Requires:     %{name} = %{version}-%{release}
21 25
 
22
-%description      devel
26
+%description    devel
23 27
 The libraries and header files needed for TSS2 development.
24 28
 
25 29
 %prep
26
-%autosetup
30
+%autosetup -p1
27 31
 
28 32
 %build
29 33
 %configure \
30
-    --disable-static \
31
-    --disable-doxygen-doc \
32
-    --enable-fapi=no \
33
-    --with-udevrulesdir=/etc/udev/rules.d
34
-make %{?_smp_mflags}
34
+  --disable-static \
35
+  --disable-doxygen-doc \
36
+  --enable-fapi=no \
37
+  --with-udevrulesdir=%{_sysconfdir}/udev/rules.d
38
+
39
+%make_build
35 40
 
36 41
 %install
37
-make DESTDIR=%{buildroot} %{?_smp_mflags} install
42
+%make_install %{?_smp_mflags}
38 43
 
39 44
 %post
40 45
 /sbin/ldconfig
41 46
 mkdir -p /var/lib/tpm
42 47
 if [ $1 -eq 1 ]; then
43
-    # this is initial installation
44
-    if ! getent group tss >/dev/null; then
45
-        groupadd tss
46
-    fi
47
-    if ! getent passwd tss >/dev/null; then
48
-        useradd -c "TCG Software Stack" -d /var/lib/tpm -g tss \
49
-            -s /bin/false tss
50
-    fi
48
+  # this is initial installation
49
+  if ! getent group tss >/dev/null; then
50
+    groupadd tss
51
+  fi
52
+  if ! getent passwd tss >/dev/null; then
53
+    useradd -c "TCG Software Stack" -d /var/lib/tpm -g tss \
54
+      -s /bin/false tss
55
+  fi
51 56
 fi
52 57
 
53 58
 %postun
54 59
 /sbin/ldconfig
55
-if [ $1 -eq 0 ]; then
56
-    # this is delete operation
57
-    if getent passwd tss >/dev/null; then
58
-        userdel tss
59
-    fi
60
-    if getent group tss >/dev/null; then
61
-        groupdel tss
62
-    fi
63
-fi
64 60
 
65 61
 %files
66 62
 %defattr(-,root,root)
... ...
@@ -72,7 +68,6 @@ fi
72 72
 %defattr(-,root,root)
73 73
 %{_includedir}/tss2/*
74 74
 %{_libdir}/pkgconfig/*
75
-%{_libdir}/*.la
76 75
 %{_libdir}/*.so
77 76
 %{_libdir}/*.so.0
78 77
 %{_libdir}/*.so.1
... ...
@@ -80,19 +75,21 @@ fi
80 80
 %{_mandir}/man7
81 81
 
82 82
 %changelog
83
-*   Tue Apr 19 2022 Gerrit Photon <photon-checkins@vmware.com> 3.2.0-1
84
--   Automatic Version Bump
85
-*   Wed Aug 04 2021 Satya Naga Vasamsetty <svasamsetty@vmware.com> 3.0.3-2
86
--   Bump up release for openssl
87
-*   Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 3.0.3-1
88
--   Automatic Version Bump
89
-*   Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 3.0.1-2
90
--   openssl 1.1.1
91
-*   Wed Sep 23 2020 Gerrit Photon <photon-checkins@vmware.com> 3.0.1-1
92
--   Automatic Version Bump
93
-*   Wed Aug 12 2020 Gerrit Photon <photon-checkins@vmware.com> 3.0.0-1
94
--   Automatic Version Bump
95
-*   Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 2.4.1-1
96
--   Automatic Version Bump
97
-*   Thu Feb 21 2019 Alexey Makhalov <amakhalov@vmware.com> 2.2.0-1
98
--   Initial build. First version.
83
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 3.2.0-2
84
+- Remove .la files
85
+* Tue Apr 19 2022 Gerrit Photon <photon-checkins@vmware.com> 3.2.0-1
86
+- Automatic Version Bump
87
+* Wed Aug 04 2021 Satya Naga Vasamsetty <svasamsetty@vmware.com> 3.0.3-2
88
+- Bump up release for openssl
89
+* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 3.0.3-1
90
+- Automatic Version Bump
91
+* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 3.0.1-2
92
+- openssl 1.1.1
93
+* Wed Sep 23 2020 Gerrit Photon <photon-checkins@vmware.com> 3.0.1-1
94
+- Automatic Version Bump
95
+* Wed Aug 12 2020 Gerrit Photon <photon-checkins@vmware.com> 3.0.0-1
96
+- Automatic Version Bump
97
+* Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 2.4.1-1
98
+- Automatic Version Bump
99
+* Thu Feb 21 2019 Alexey Makhalov <amakhalov@vmware.com> 2.2.0-1
100
+- Initial build. First version.
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:        TCG Software Stack (TSS)
2 2
 Name:           trousers
3 3
 Version:        0.3.15
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        BSD
6
-URL:            https://sourceforge.net/projects/trousers/
6
+URL:            https://sourceforge.net/projects/trousers
7 7
 Group:          System Environment/Security
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 
11
-Source0:        %{name}-%{version}.tar.gz
11
+Source0:        https://sourceforge.net/projects/trousers/files/trousers/0.3.15/%{name}-%{version}.tar.gz
12 12
 %define sha512  %{name}=769c7d891c6306c1b3252448f86e3043ee837e566c9431f5b4353512113e2907f6ce29c91e8044c420025b79c5f3ff2396ddce93f73b1eb2a15ea1de89ac0fdb
13 13
 
14 14
 Requires:       libtspi = %{version}-%{release}
... ...
@@ -54,17 +54,6 @@ if [ $1 -eq 1 ]; then
54 54
   fi
55 55
 fi
56 56
 
57
-%postun
58
-if [ $1 -eq 0 ]; then
59
-  # this is delete operation
60
-  if getent passwd tss >/dev/null; then
61
-    userdel tss
62
-  fi
63
-  if getent group tss >/dev/null; then
64
-    groupdel tss
65
-  fi
66
-fi
67
-
68 57
 %post -n libtspi -p /sbin/ldconfig
69 58
 %postun -n libtspi -p /sbin/ldconfig
70 59
 
... ...
@@ -79,7 +68,6 @@ fi
79 79
 %files devel
80 80
 %defattr(-,root,root)
81 81
 %{_includedir}/*
82
-%{_libdir}/libtspi.la
83 82
 %{_libdir}/libtspi.so
84 83
 %{_libdir}/libtspi.so.1
85 84
 %{_mandir}/man3
... ...
@@ -91,6 +79,8 @@ fi
91 91
 %exclude %{_libdir}/libtddl.a
92 92
 
93 93
 %changelog
94
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.3.15-3
95
+- Remove .la files
94 96
 * Sun May 29 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.3.15-2
95 97
 - Fix binary path
96 98
 * Tue Apr 19 2022 Gerrit Photon <photon-checkins@vmware.com> 0.3.15-1
... ...
@@ -1,15 +1,20 @@
1
+%define xerces_c_maj_ver 3.2
2
+
1 3
 Summary:        C++ xml parser.
2 4
 Name:           xerces-c
3 5
 Version:        3.2.3
4
-Release:        1%{?dist}
6
+Release:        2%{?dist}
5 7
 License:        Apache License
6 8
 URL:            http://xerces.apache.org
7 9
 Group:          Applications/System
8 10
 Vendor:         VMware, Inc.
9 11
 Distribution:   Photon
12
+
10 13
 Source0:        http://mirror.jax.hugeserver.com/apache//xerces/c/3/sources/%{name}-%{version}.tar.xz
11
-%define sha1 xerces-c=2ddbf9eb62fdfa2f5785128b4525f84484b36d56
14
+%define sha512 %{name}=8b8ac9a8377788753a918af2bd4437af5bb94b275e50fe1ab7cc6af88a8531248518705bc794da702a3e06a82a064cbd25e4149c2526aff7f61cf49ded4fdfab
15
+
12 16
 Requires:       libstdc++
17
+
13 18
 %description
14 19
 Xerces-C++ is a validating XML parser written in a portable subset of C++
15 20
 
... ...
@@ -22,46 +27,53 @@ Requires:       %{name} = %{version}-%{release}
22 22
 This package contains development headers and static library for xml parser.
23 23
 
24 24
 %prep
25
-%setup -q
25
+%autosetup -p1
26
+
26 27
 %build
27
-%configure --prefix=/usr
28
-make %{?_smp_mflags}
28
+%configure
29
+%make_build
30
+
29 31
 %install
30
-make DESTDIR=%{buildroot} install
32
+%make_install %{?_smp_mflags}
31 33
 
34
+%if 0%{?with_check}
32 35
 %check
33 36
 make %{?_smp_mflags} check
37
+%endif
34 38
 
35 39
 %post   -p /sbin/ldconfig
36 40
 %postun -p /sbin/ldconfig
41
+
37 42
 %files
38 43
 %defattr(-,root,root)
39 44
 %{_bindir}/*
40
-%{_libdir}/*.so
45
+%{_libdir}/lib%{name}-%{xerces_c_maj_ver}.so
41 46
 
42 47
 %files devel
43 48
 %defattr(-,root,root)
44 49
 %{_includedir}/*
45 50
 %{_libdir}/pkgconfig/*.pc
46 51
 %{_libdir}/*.a
47
-%{_libdir}/*.la
52
+%{_libdir}/lib%{name}.so
48 53
 
49 54
 %changelog
50
-*   Thu Jun 25 2020 Gerrit Photon <photon-checkins@vmware.com> 3.2.3-1
51
--   Automatic Version Bump
52
-*   Mon Apr 16 2018 Xiaolin Li <xiaolinl@vmware.cm> 3.2.1-1
53
--   Update to version to handle CVE-2017-12627
54
-*   Mon Jun 05 2017 Bo Gan <ganb@vmware.com> 3.1.4-2
55
--   Fix dependency
56
-*   Wed Mar 15 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.1.4-1
57
--   Upgrade to latest version to handle CVE-2016-2099
58
-*   Wed Oct 05 2016 ChangLee <changlee@vmware.com> 3.1.3-3
59
--   Modified %check
60
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.1.3-2
61
--   GA - Bump release of all rpms
62
-*   Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 3.1.3-1
63
--   Updated to version 3.1.3
64
-*   Thu Aug 13 2015 Divya Thaluru <dthaluru@vmware.com> 3.1.2-1
65
--   Updating Package to 3.1.2
66
-*   Thu Nov 06 2014 Sharath George <sharathg@vmware.com> 3.1.1
67
--   Initial version
55
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 3.2.3-2
56
+- Remove .la files
57
+* Thu Jun 25 2020 Gerrit Photon <photon-checkins@vmware.com> 3.2.3-1
58
+- Automatic Version Bump
59
+* Mon Apr 16 2018 Xiaolin Li <xiaolinl@vmware.cm> 3.2.1-1
60
+- Update to version to handle CVE-2017-12627
61
+* Mon Jun 05 2017 Bo Gan <ganb@vmware.com> 3.1.4-2
62
+- Fix dependency
63
+* Wed Mar 15 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.1.4-1
64
+- Upgrade to latest version to handle CVE-2016-2099
65
+* Wed Oct 05 2016 ChangLee <changlee@vmware.com> 3.1.3-3
66
+- Modified %check
67
+* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.1.3-2
68
+- GA - Bump release of all rpms
69
+* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 3.1.3-1
70
+- Updated to version 3.1.3
71
+* Thu Aug 13 2015 Divya Thaluru <dthaluru@vmware.com> 3.1.2-1
72
+- Updating Package to 3.1.2
73
+* Thu Nov 06 2014 Sharath George <sharathg@vmware.com> 3.1.1
74
+- Initial version
... ...
@@ -1,17 +1,21 @@
1 1
 Summary:        Library providing support for "XML Signature" and "XML Encryption" standards
2 2
 Name:           xmlsec1
3 3
 Version:        1.2.33
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        MIT
6 6
 Group:          Applications/System
7 7
 Vendor:         VMware, Inc.
8 8
 Distribution:   Photon
9 9
 Url:            http://www.aleksey.com/xmlsec/
10
+
10 11
 Source0:        http://www.aleksey.com/xmlsec/download/%{name}-%{version}.tar.gz
11
-%define sha512 xmlsec1=6354554b5cdc0a1389f6991efeac919bea912330b36d3be3d3496d61331e9edd2771786d50d2571a439f62ccfc3bd32be0a50bb5a037c4993aac076ad94b46e8
12
+%define sha512 %{name}=6354554b5cdc0a1389f6991efeac919bea912330b36d3be3d3496d61331e9edd2771786d50d2571a439f62ccfc3bd32be0a50bb5a037c4993aac076ad94b46e8
13
+
12 14
 BuildRequires: libxml2-devel
13 15
 BuildRequires: libltdl-devel
14 16
 BuildRequires: libxslt-devel
17
+BuildRequires: sed
18
+
15 19
 Requires:      libxml2
16 20
 Requires:      libltdl
17 21
 Requires:      libxslt
... ...
@@ -39,69 +43,70 @@ Signatures and XML Encryption support.
39 39
 
40 40
 %build
41 41
 %configure --disable-static
42
-make %{?_smp_mflags}
42
+%make_build
43 43
 
44 44
 %install
45
-rm -rf %{buildroot}
46
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
45
+%make_install %{?_smp_mflags}
47 46
 
48 47
 %check
49 48
 make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck} %{?_smp_mflags}
50 49
 
50
+%clean
51
+rm -rf %{buildroot}
52
+
51 53
 %post -p /sbin/ldconfig
52 54
 %postun -p /sbin/ldconfig
53 55
 
54 56
 %files
55 57
 %defattr(-, root, root)
56
-%{_prefix}/lib/libxmlsec1.so.1
57
-%{_prefix}/lib/libxmlsec1.so.%{version}
58
-%{_prefix}/lib/libxmlsec1.so
59
-%{_prefix}/lib/libxmlsec1-nss.so.1
60
-%{_prefix}/lib/libxmlsec1-nss.so.%{version}
61
-%{_prefix}/lib/libxmlsec1-nss.so
62
-%{_prefix}/lib/libxmlsec1-openssl.so.1
63
-%{_prefix}/lib/libxmlsec1-openssl.so.%{version}
64
-%{_prefix}/lib/libxmlsec1-openssl.so
65
-%{_prefix}/bin/xmlsec1
58
+%{_libdir}/lib%{name}.so.1
59
+%{_libdir}/lib%{name}.so.%{version}
60
+%{_libdir}/lib%{name}-nss.so.1
61
+%{_libdir}/lib%{name}-nss.so.%{version}
62
+%{_libdir}/lib%{name}-openssl.so.1
63
+%{_libdir}/lib%{name}-openssl.so.%{version}
64
+%{_bindir}/%{name}
66 65
 
67 66
 %files devel
68 67
 %defattr(-, root, root)
69
-%{_prefix}/bin/xmlsec1-config
70
-%{_prefix}/include/xmlsec1/xmlsec/*.h
71
-%{_prefix}/include/xmlsec1/xmlsec/nss/*.h
72
-%{_prefix}/include/xmlsec1/xmlsec/openssl/*.h
73
-%{_prefix}/lib/libxmlsec1.*a
74
-%{_prefix}/lib/libxmlsec1-nss.*a
75
-%{_prefix}/lib/libxmlsec1-openssl.*a
76
-%{_prefix}/lib/pkgconfig/xmlsec1.pc
77
-%{_prefix}/lib/pkgconfig/xmlsec1-nss.pc
78
-%{_prefix}/lib/pkgconfig/xmlsec1-openssl.pc
79
-%{_prefix}/lib/xmlsec1Conf.sh
80
-%{_prefix}/share/doc/xmlsec1/*
81
-%{_prefix}/share/aclocal/xmlsec1.m4
82
-%{_prefix}/share/man/man1/xmlsec1.1.gz
83
-%{_prefix}/share/man/man1/xmlsec1-config.1.gz
68
+%{_libdir}/lib%{name}.so
69
+%{_libdir}/lib%{name}-nss.so
70
+%{_libdir}/lib%{name}-openssl.so
71
+%{_bindir}/%{name}-config
72
+%{_includedir}/%{name}/xmlsec/*.h
73
+%{_includedir}/%{name}/xmlsec/nss/*.h
74
+%{_includedir}/%{name}/xmlsec/openssl/*.h
75
+%{_libdir}/pkgconfig/%{name}.pc
76
+%{_libdir}/pkgconfig/%{name}-nss.pc
77
+%{_libdir}/pkgconfig/%{name}-openssl.pc
78
+%{_libdir}/%{name}Conf.sh
79
+%{_docdir}/%{name}/*
80
+%{_datadir}/aclocal/%{name}.m4
81
+%{_mandir}/man1/%{name}.1.gz
82
+%{_mandir}/man1/%{name}-config.1.gz
84 83
 
85 84
 %changelog
86
-*   Thu Jun 16 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 1.2.33-2
87
--   Bump version as a part of libxslt upgrade
88
-*   Tue Apr 19 2022 Gerrit Photon <photon-checkins@vmware.com> 1.2.33-1
89
--   Automatic Version Bump
90
-*   Wed Nov 17 2021 Nitesh Kumar <kunitesh@vmware.com> 1.2.32-3
91
--   Release bump up to use libxml2 2.9.12-1.
92
-*   Wed Aug 04 2021 Satya Naga Vasamsetty <svasamsetty@vmware.com> 1.2.32-2
93
--   Bump up release for openssl
94
-*   Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 1.2.32-1
95
--   Automatic Version Bump
96
-*   Wed Oct 28 2020 Siju Maliakkal <smaliakkal@vmware.com> 1.2.30-3
97
--   Added xslt support
98
-*   Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 1.2.30-2
99
--   openssl 1.1.1
100
-*   Fri Aug 28 2020 Gerrit Photon <photon-checkins@vmware.com> 1.2.30-1
101
--   Automatic Version Bump
102
-*   Tue Oct 22 2019 Piyush Gupta <guptapi@vmware.com> 1.2.26-3
103
--   Added nss as requires
104
-*   Tue Sep 25 2018 Alexey Makhalov <amakhalov@vmware.com> 1.2.26-2
105
--   Fix requires.
106
-*   Mon Jul 02 2018 Ankit Jain <ankitja@vmware.com> 1.2.26-1
107
--   Initial version
85
+* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.2.33-3
86
+- Remove .la files
87
+* Thu Jun 16 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 1.2.33-2
88
+- Bump version as a part of libxslt upgrade
89
+* Tue Apr 19 2022 Gerrit Photon <photon-checkins@vmware.com> 1.2.33-1
90
+- Automatic Version Bump
91
+* Wed Nov 17 2021 Nitesh Kumar <kunitesh@vmware.com> 1.2.32-3
92
+- Release bump up to use libxml2 2.9.12-1.
93
+* Wed Aug 04 2021 Satya Naga Vasamsetty <svasamsetty@vmware.com> 1.2.32-2
94
+- Bump up release for openssl
95
+* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 1.2.32-1
96
+- Automatic Version Bump
97
+* Wed Oct 28 2020 Siju Maliakkal <smaliakkal@vmware.com> 1.2.30-3
98
+- Added xslt support
99
+* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 1.2.30-2
100
+- openssl 1.1.1
101
+* Fri Aug 28 2020 Gerrit Photon <photon-checkins@vmware.com> 1.2.30-1
102
+- Automatic Version Bump
103
+* Tue Oct 22 2019 Piyush Gupta <guptapi@vmware.com> 1.2.26-3
104
+- Added nss as requires
105
+* Tue Sep 25 2018 Alexey Makhalov <amakhalov@vmware.com> 1.2.26-2
106
+- Fix requires.
107
+* Mon Jul 02 2018 Ankit Jain <ankitja@vmware.com> 1.2.26-1
108
+- Initial version