1 |
# $Id: smeserver-mock.spec,v 1.20 2022/07/01 01:42:20 jpp Exp $ |
# $Id: smeserver-mock.spec,v 1.25 2023/05/04 05:54:26 terryfage Exp $ |
2 |
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') |
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') |
3 |
Summary: smeserver-mock tools for building RPMs |
Summary: smeserver-mock tools for building RPMs |
4 |
%define name smeserver-mock |
%define name smeserver-mock |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 1.0 |
%define version 1.0 |
7 |
%define release 16 |
%define release 21 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
22 |
Patch9: smeserver-mock-1.0-sme11005-mojo-jwt-2.patch |
Patch9: smeserver-mock-1.0-sme11005-mojo-jwt-2.patch |
23 |
Patch10: smeserver-mock-1.0-20220630.patch |
Patch10: smeserver-mock-1.0-20220630.patch |
24 |
Patch11: smeserver-mock-1.0-change-log.patch |
Patch11: smeserver-mock-1.0-change-log.patch |
25 |
|
Patch12: smeserver-mock-1.0-20230412.patch |
26 |
|
Patch13: smeserver-mock-1.0-bg12350-cvm.patch |
27 |
|
Patch14: smeserver-mock-1.0-add-pkgs-bz12350.patch |
28 |
|
Patch15: smeserver-mock-1.0-extra-pkgs-bz12350.patch |
29 |
|
|
30 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
31 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
41 |
AutoReqProv: no |
AutoReqProv: no |
42 |
|
|
43 |
%changelog |
%changelog |
44 |
|
* Mon Jun 05 2023 TerryFage <terry.fage@gmail.com> 1.0-21.sme |
45 |
|
- add to mock*.cfg facilitate build with external packages [SME: 12350] |
46 |
|
- attribute solutions Trevor Batley, Terry Fage |
47 |
|
|
48 |
|
* Thu May 04 2023 TerryFage <terry.fage@gmail.com> 1.0-20.sme |
49 |
|
- add to mock*.cfg facilitate build with external packages [SME: 12350] |
50 |
|
- attribute solutions Trevor Batley, Terry Fage |
51 |
|
|
52 |
|
* Sun Apr 30 2023 TerryFage <terry.fage@gmail.com> 1.0-19.sme |
53 |
|
- add package to mock*.cfg facilitate cvm build [SME: 12350] |
54 |
|
- attribute solution to Trevor batley |
55 |
|
|
56 |
|
* Thu Apr 13 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-18.sme |
57 |
|
- fixpost scriptled not working [SME: 12349] |
58 |
|
- add smeos and smeupdates in mock file |
59 |
|
|
60 |
|
* Wed Apr 12 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-17.sme |
61 |
|
- fix change-log [SME: 12340] |
62 |
|
- update smeserver 10 base mockfile |
63 |
|
- perl.prov workaround in mock file |
64 |
|
|
65 |
* Fri Nov 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-16.sme |
* Fri Nov 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-16.sme |
66 |
- fix change-log not handling tab for version or release |
- fix change-log not handling tab for version or release |
67 |
|
|
140 |
%patch9 -p1 |
%patch9 -p1 |
141 |
%patch10 -p1 |
%patch10 -p1 |
142 |
%patch11 -p1 |
%patch11 -p1 |
143 |
|
%patch12 -p1 |
144 |
|
%patch13 -p1 |
145 |
|
%patch14 -p1 |
146 |
|
%patch15 -p1 |
147 |
|
|
148 |
%build |
%build |
149 |
|
|
158 |
--file /usr/bin/createBuildDir '%attr(0755,root,root)' \ |
--file /usr/bin/createBuildDir '%attr(0755,root,root)' \ |
159 |
--file /usr/bin/prepa '%attr(0755,root,root)' \ |
--file /usr/bin/prepa '%attr(0755,root,root)' \ |
160 |
--file /usr/bin/tagbuild '%attr(0755,root,root)' \ |
--file /usr/bin/tagbuild '%attr(0755,root,root)' \ |
161 |
|
--file /etc/mock/perl.prov '%attr(0755,root,root)' \ |
162 |
--ignoredir /usr/lib/python3.6/site-packages/mockbuild/plugins \ |
--ignoredir /usr/lib/python3.6/site-packages/mockbuild/plugins \ |
163 |
--ignoredir /usr/lib/python3.6/site-packages/mockbuild \ |
--ignoredir /usr/lib/python3.6/site-packages/mockbuild \ |
164 |
--ignoredir /usr/lib/python3.6/site-packages \ |
--ignoredir /usr/lib/python3.6/site-packages \ |
173 |
|
|
174 |
%pre |
%pre |
175 |
%preun |
%preun |
176 |
%post |
%post -p /bin/bash |
177 |
|
|
178 |
# updates sme site defaults |
# updates sme site defaults |
179 |
main=/etc/mock/site-defaults.cfg |
main=/etc/mock/site-defaults.cfg |