1 |
# $Id: smeserver-mock.spec,v 1.13 2020/08/18 18:22:51 michel Exp $ |
# $Id: smeserver-mock.spec,v 1.17 2021/12/27 20:01:26 michel Exp $ |
2 |
|
|
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 11 |
%define release 14 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
18 |
Patch5: smeserver-mock-1.0-sme10924-bins.patch |
Patch5: smeserver-mock-1.0-sme10924-bins.patch |
19 |
Patch6: smeserver-mock-1.0-sme10993-kmodtool.patch |
Patch6: smeserver-mock-1.0-sme10993-kmodtool.patch |
20 |
Patch7: smeserver-mock-1.0-sme11005-mojo-jwt.patch |
Patch7: smeserver-mock-1.0-sme11005-mojo-jwt.patch |
21 |
|
Patch8: smeserver-mock-1.0-sme11203-spamassassin.patch |
22 |
|
Patch9: smeserver-mock-1.0-sme11005-mojo-jwt-2.patch |
23 |
|
Patch10: smeserver-mock-1.0-20220630.patch |
24 |
|
|
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
31 |
Requires: cmake automake libtool |
Requires: cmake automake libtool |
32 |
Buildrequires: e-smith-devtools |
Buildrequires: e-smith-devtools |
33 |
# needed for scl |
# needed for scl |
34 |
Requires: scl-utils scl-utils-build centos-release-scl centos-release-scl-rh |
#Requires: scl-utils scl-utils-build centos-release-scl centos-release-scl-rh |
35 |
Requires: python27-build |
#Requires: python27-build |
36 |
AutoReqProv: no |
AutoReqProv: no |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
* Tue Sep 04 2020 Michel Begue <mab974@gmail.com> 1.0-11.sme |
* Thu Jun 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-14.sme |
40 |
|
- update sme10 mock files [SME: ] |
41 |
|
- remove python scl dependencies blocks a lot from using the rpm |
42 |
|
almost never needed |
43 |
|
- cleaning remove sme8 and sme9 mock files |
44 |
|
- added workaround to perl.prov not working [SME: 11958] |
45 |
|
added mock plugin copy.py and an updated perl.prov |
46 |
|
- update embded bins |
47 |
|
|
48 |
|
* Mon Dec 27 2021 Michel Begue <mab974@misouk.com> 1.0-13.sme |
49 |
|
- fix build deps for Mojo::JWT [SME: 11005] |
50 |
|
|
51 |
|
* Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-12.sme |
52 |
|
- fix build deps for spamassassin [SME: 11203] |
53 |
|
|
54 |
|
* Fri Sep 04 2020 Michel Begue <mab974@gmail.com> 1.0-11.sme |
55 |
- update dependencies to build Mojo::JWT package [SME: 11005] |
- update dependencies to build Mojo::JWT package [SME: 11005] |
56 |
|
|
57 |
* Tue Aug 18 2020 Michel Begue <mab974@gmail.com> 1.0-10.sme |
* Tue Aug 18 2020 Michel Begue <mab974@gmail.com> 1.0-10.sme |
107 |
%patch5 -p1 |
%patch5 -p1 |
108 |
%patch6 -p1 |
%patch6 -p1 |
109 |
%patch7 -p1 |
%patch7 -p1 |
110 |
|
%patch8 -p1 |
111 |
|
%patch9 -p1 |
112 |
|
%patch10 -p1 |
113 |
|
|
114 |
%build |
%build |
115 |
|
|
124 |
--file /usr/bin/createBuildDir '%attr(0755,root,root)' \ |
--file /usr/bin/createBuildDir '%attr(0755,root,root)' \ |
125 |
--file /usr/bin/prepa '%attr(0755,root,root)' \ |
--file /usr/bin/prepa '%attr(0755,root,root)' \ |
126 |
--file /usr/bin/tagbuild '%attr(0755,root,root)' \ |
--file /usr/bin/tagbuild '%attr(0755,root,root)' \ |
127 |
|
--ignoredir /usr/lib/python3.6/site-packages/mockbuild/plugins \ |
128 |
|
--ignoredir /usr/lib/python3.6/site-packages/mockbuild \ |
129 |
|
--ignoredir /usr/lib/python3.6/site-packages \ |
130 |
|
--ignoredir /usr/lib/python3.6 \ |
131 |
| grep -v /etc/mock/ \ |
| grep -v /etc/mock/ \ |
132 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
133 |
|
|