1 |
# $Id: smeserver-mock.spec,v 1.17 2021/12/27 20:01:26 michel Exp $ |
# $Id: smeserver-mock.spec,v 1.21 2022/11/18 18:18:24 jpp Exp $ |
2 |
|
%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 14 |
%define release 17 |
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 |
|
|
27 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
38 |
AutoReqProv: no |
AutoReqProv: no |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
* Thu Jun 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-14.sme |
* Wed Apr 12 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-17.sme |
42 |
- update sme10 mock files [SME: ] |
- fix change-log [SME: 12340] |
43 |
|
- update smeserver 10 base mockfile |
44 |
|
- perl.prov workaround in mock file |
45 |
|
|
46 |
|
* Fri Nov 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-16.sme |
47 |
|
- fix change-log not handling tab for version or release |
48 |
|
|
49 |
|
* Thu Jun 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-15.sme |
50 |
|
- update sme10 mock files [SME: 12089] |
51 |
- remove python scl dependencies blocks a lot from using the rpm |
- remove python scl dependencies blocks a lot from using the rpm |
52 |
almost never needed |
almost never needed [SME: 12090] |
53 |
- cleaning remove sme8 and sme9 mock files |
- cleaning remove sme8 and sme9 mock files |
54 |
- added workaround to perl.prov not working [SME: 11958] |
- added workaround to perl.prov not working [SME: 11958] |
55 |
added mock plugin copy.py and an updated perl.prov |
added mock plugin copy.py and an updated perl.prov |
120 |
%patch8 -p1 |
%patch8 -p1 |
121 |
%patch9 -p1 |
%patch9 -p1 |
122 |
%patch10 -p1 |
%patch10 -p1 |
123 |
|
%patch11 -p1 |
124 |
|
%patch12 -p1 |
125 |
|
|
126 |
%build |
%build |
127 |
|
|
136 |
--file /usr/bin/createBuildDir '%attr(0755,root,root)' \ |
--file /usr/bin/createBuildDir '%attr(0755,root,root)' \ |
137 |
--file /usr/bin/prepa '%attr(0755,root,root)' \ |
--file /usr/bin/prepa '%attr(0755,root,root)' \ |
138 |
--file /usr/bin/tagbuild '%attr(0755,root,root)' \ |
--file /usr/bin/tagbuild '%attr(0755,root,root)' \ |
139 |
|
--file /etc/mock/perl.prov '%attr(0755,root,root)' \ |
140 |
--ignoredir /usr/lib/python3.6/site-packages/mockbuild/plugins \ |
--ignoredir /usr/lib/python3.6/site-packages/mockbuild/plugins \ |
141 |
--ignoredir /usr/lib/python3.6/site-packages/mockbuild \ |
--ignoredir /usr/lib/python3.6/site-packages/mockbuild \ |
142 |
--ignoredir /usr/lib/python3.6/site-packages \ |
--ignoredir /usr/lib/python3.6/site-packages \ |
143 |
--ignoredir /usr/lib/python3.6 \ |
--ignoredir /usr/lib/python3.6 \ |
144 |
| grep -v /etc/mock/ \ |
--ignoredir /etc/mock \ |
145 |
|
| grep -v copy.pyc \ |
146 |
|
| grep -v copy.pyo \ |
147 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
148 |
|
|
149 |
%clean |
%clean |