1 |
# $Id: smeserver-mock.spec,v 1.19 2022/06/30 20:27:39 jpp Exp $ |
# $Id: smeserver-mock.spec,v 1.24 2023/04/30 06:19:47 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 15 |
%define release 20 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
21 |
Patch8: smeserver-mock-1.0-sme11203-spamassassin.patch |
Patch8: smeserver-mock-1.0-sme11203-spamassassin.patch |
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 |
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 |
|
|
29 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
30 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
40 |
AutoReqProv: no |
AutoReqProv: no |
41 |
|
|
42 |
%changelog |
%changelog |
43 |
|
* Thu May 04 2023 TerryFage <terry.fage@gmail.com> 1.0-20.sme |
44 |
|
- add to mock*.cfg facilitate build with external packages [SME: 12350] |
45 |
|
- attribute solutions Trevor Batley, Terry Fage |
46 |
|
|
47 |
|
* Sun Apr 30 2023 TerryFage <terry.fage@gmail.com> 1.0-19.sme |
48 |
|
- add package to mock*.cfg facilitate cvm build [SME: 12350] |
49 |
|
- attribute solution to Trevor batley |
50 |
|
|
51 |
|
* Thu Apr 13 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-18.sme |
52 |
|
- fixpost scriptled not working [SME: 12349] |
53 |
|
- add smeos and smeupdates in mock file |
54 |
|
|
55 |
|
* Wed Apr 12 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-17.sme |
56 |
|
- fix change-log [SME: 12340] |
57 |
|
- update smeserver 10 base mockfile |
58 |
|
- perl.prov workaround in mock file |
59 |
|
|
60 |
|
* Fri Nov 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-16.sme |
61 |
|
- fix change-log not handling tab for version or release |
62 |
|
|
63 |
* Thu Jun 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-15.sme |
* Thu Jun 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-15.sme |
64 |
- update sme10 mock files [SME: 12089] |
- update sme10 mock files [SME: 12089] |
65 |
- remove python scl dependencies blocks a lot from using the rpm |
- remove python scl dependencies blocks a lot from using the rpm |
134 |
%patch8 -p1 |
%patch8 -p1 |
135 |
%patch9 -p1 |
%patch9 -p1 |
136 |
%patch10 -p1 |
%patch10 -p1 |
137 |
|
%patch11 -p1 |
138 |
|
%patch12 -p1 |
139 |
|
%patch13 -p1 |
140 |
|
%patch14 -p1 |
141 |
|
|
142 |
%build |
%build |
143 |
|
|
152 |
--file /usr/bin/createBuildDir '%attr(0755,root,root)' \ |
--file /usr/bin/createBuildDir '%attr(0755,root,root)' \ |
153 |
--file /usr/bin/prepa '%attr(0755,root,root)' \ |
--file /usr/bin/prepa '%attr(0755,root,root)' \ |
154 |
--file /usr/bin/tagbuild '%attr(0755,root,root)' \ |
--file /usr/bin/tagbuild '%attr(0755,root,root)' \ |
155 |
|
--file /etc/mock/perl.prov '%attr(0755,root,root)' \ |
156 |
--ignoredir /usr/lib/python3.6/site-packages/mockbuild/plugins \ |
--ignoredir /usr/lib/python3.6/site-packages/mockbuild/plugins \ |
157 |
--ignoredir /usr/lib/python3.6/site-packages/mockbuild \ |
--ignoredir /usr/lib/python3.6/site-packages/mockbuild \ |
158 |
--ignoredir /usr/lib/python3.6/site-packages \ |
--ignoredir /usr/lib/python3.6/site-packages \ |
167 |
|
|
168 |
%pre |
%pre |
169 |
%preun |
%preun |
170 |
%post |
%post -p /bin/bash |
171 |
|
|
172 |
# updates sme site defaults |
# updates sme site defaults |
173 |
main=/etc/mock/site-defaults.cfg |
main=/etc/mock/site-defaults.cfg |