Browse code

mm-common: add ca-certs to BuildRequires to fix build regression

Change-Id: I932a5abdf3f0c04e7ce155491b7efdd98970eedf
Signed-off-by: Shreenidhi Shedi <shreenidhi.shedi@broadcom.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/c/photon/+/23655
Reviewed-by: Srinidhi Rao <srinidhi.rao@broadcom.com>

Shreenidhi Shedi authored on 2024/04/02 19:06:25
Showing 1 changed files
... ...
@@ -1,4 +1,5 @@
1 1
 %global debug_package %{nil}
2
+
2 3
 Summary:        Build Tools
3 4
 Name:           mm-common
4 5
 Version:        1.0.5
... ...
@@ -6,11 +7,14 @@ Release:        1%{?dist}
6 6
 License:        GPLv2+
7 7
 URL:            https://gitlab.gnome.org/GNOME/mm-common
8 8
 Group:          Applications/System
9
-Source0:        https://gitlab.gnome.org/GNOME/mm-common/-/archive/%{version}/mm-common-%{version}.tar.gz
10
-%define sha512    mm-common=dc538fb134c5f385a7508bbe702c562a796f0fafd3e25b46c5eb652bf3df36c6a309d36e8b6c074234c4ad4be3a75dd68c47d9d2a807e9a87bd10a10d1a0743b
11 9
 Vendor:         VMware, Inc.
12 10
 Distribution:   Photon
11
+
12
+Source0: https://gitlab.gnome.org/GNOME/mm-common/-/archive/%{version}/%{name}-%{version}.tar.gz
13
+%define sha512 %{name}=dc538fb134c5f385a7508bbe702c562a796f0fafd3e25b46c5eb652bf3df36c6a309d36e8b6c074234c4ad4be3a75dd68c47d9d2a807e9a87bd10a10d1a0743b
14
+
13 15
 BuildRequires:  wget
16
+BuildRequires:  ca-certificates
14 17
 
15 18
 %description
16 19
 This module is part of the GNOME C++ bindings effort <http://www.gtkmm.org/>.
... ...
@@ -19,35 +23,37 @@ It is only a required dependency for building the C++ bindings from the gnome.or
19 19
 An installation of mm-common is not required for building tarball releases, unless configured to use maintainer-mode.
20 20
 
21 21
 %prep
22
-%autosetup
22
+%autosetup -p1
23 23
 
24 24
 %build
25
-./autogen.sh
25
+sh ./autogen.sh
26
+
26 27
 %configure --enable-network
27
-make %{?_smp_mflags}
28
+
29
+%make_build
28 30
 
29 31
 %install
30
-make DESTDIR=%{buildroot} %{?_smp_mflags} install
32
+%make_install %{?_smp_mflags}
31 33
 
32 34
 %check
33
-make %{?_smp_mflags} check
35
+%make_build check
34 36
 
35 37
 %files
36 38
 %defattr(-,root,root)
37
-%{_bindir}/mm-common-get
38
-%{_bindir}/mm-common-prepare
39
+%{_bindir}/%{name}-get
40
+%{_bindir}/%{name}-prepare
39 41
 %{_datadir}/aclocal/*.m4
40 42
 %{_mandir}/man1/*.gz
41
-%{_datadir}/doc/mm-common/*
43
+%{_datadir}/doc/%{name}/*
42 44
 %{_datadir}/pkgconfig/*.pc
43
-%{_datadir}/mm-common/build/*.*
44
-%{_datadir}/mm-common/doctags/*.tag
45
-%{_datadir}/mm-common/doctool/*.*
45
+%{_datadir}/%{name}/build/*.*
46
+%{_datadir}/%{name}/doctags/*.tag
47
+%{_datadir}/%{name}/doctool/*.*
46 48
 
47 49
 %changelog
48
-*   Tue Dec 13 2022 Gerrit Photon <photon-checkins@vmware.com> 1.0.5-1
49
--   Automatic Version Bump
50
-*   Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.0.4-1
51
--   Automatic Version Bump
52
-*   Mon Oct 5 2020 Michelle Wang <michellew@vmware.com> 1.0.2-1
53
--   Initial build and add this for libsigc++ build requires
50
+* Tue Dec 13 2022 Gerrit Photon <photon-checkins@vmware.com> 1.0.5-1
51
+- Automatic Version Bump
52
+* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 1.0.4-1
53
+- Automatic Version Bump
54
+* Mon Oct 5 2020 Michelle Wang <michellew@vmware.com> 1.0.2-1
55
+- Initial build and add this for libsigc++ build requires