1 |
# $Id: smeserver-mock.spec,v 1.11 2020/05/19 04:06:24 jpp Exp $ |
# $Id: smeserver-mock.spec,v 1.20 2022/07/01 01:42:20 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 9 |
%define release 16 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
16 |
Patch3: smeserver-mock-1.0-ocaml.patch |
Patch3: smeserver-mock-1.0-ocaml.patch |
17 |
Patch4: smeserver-mock-1.0-sme10946-mock.patch |
Patch4: smeserver-mock-1.0-sme10946-mock.patch |
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 |
20 |
|
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 |
|
Patch11: smeserver-mock-1.0-change-log.patch |
25 |
|
|
26 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
27 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
32 |
Requires: cmake automake libtool |
Requires: cmake automake libtool |
33 |
Buildrequires: e-smith-devtools |
Buildrequires: e-smith-devtools |
34 |
# needed for scl |
# needed for scl |
35 |
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 |
36 |
Requires: python27-build |
#Requires: python27-build |
37 |
AutoReqProv: no |
AutoReqProv: no |
38 |
|
|
39 |
%changelog |
%changelog |
40 |
|
* Fri Nov 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-16.sme |
41 |
|
- fix change-log not handling tab for version or release |
42 |
|
|
43 |
|
* Thu Jun 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-15.sme |
44 |
|
- update sme10 mock files [SME: 12089] |
45 |
|
- remove python scl dependencies blocks a lot from using the rpm |
46 |
|
almost never needed [SME: 12090] |
47 |
|
- cleaning remove sme8 and sme9 mock files |
48 |
|
- added workaround to perl.prov not working [SME: 11958] |
49 |
|
added mock plugin copy.py and an updated perl.prov |
50 |
|
- update embded bins |
51 |
|
|
52 |
|
* Mon Dec 27 2021 Michel Begue <mab974@misouk.com> 1.0-13.sme |
53 |
|
- fix build deps for Mojo::JWT [SME: 11005] |
54 |
|
|
55 |
|
* Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-12.sme |
56 |
|
- fix build deps for spamassassin [SME: 11203] |
57 |
|
|
58 |
|
* Fri Sep 04 2020 Michel Begue <mab974@gmail.com> 1.0-11.sme |
59 |
|
- update dependencies to build Mojo::JWT package [SME: 11005] |
60 |
|
|
61 |
|
* Tue Aug 18 2020 Michel Begue <mab974@gmail.com> 1.0-10.sme |
62 |
|
- update dependencies to build kmod packages [SME: 10993] |
63 |
|
|
64 |
* Thu May 14 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-9.sme |
* Thu May 14 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-9.sme |
65 |
- fix nspawn and package_manager set to yum [SME: 10946] |
- fix nspawn and package_manager set to yum [SME: 10946] |
66 |
- updating list of included packages for SME10 and SME9 repo |
- updating list of included packages for SME10 and SME9 repo |
109 |
%patch3 -p1 |
%patch3 -p1 |
110 |
%patch4 -p1 |
%patch4 -p1 |
111 |
%patch5 -p1 |
%patch5 -p1 |
112 |
|
%patch6 -p1 |
113 |
|
%patch7 -p1 |
114 |
|
%patch8 -p1 |
115 |
|
%patch9 -p1 |
116 |
|
%patch10 -p1 |
117 |
|
%patch11 -p1 |
118 |
|
|
119 |
%build |
%build |
120 |
|
|
129 |
--file /usr/bin/createBuildDir '%attr(0755,root,root)' \ |
--file /usr/bin/createBuildDir '%attr(0755,root,root)' \ |
130 |
--file /usr/bin/prepa '%attr(0755,root,root)' \ |
--file /usr/bin/prepa '%attr(0755,root,root)' \ |
131 |
--file /usr/bin/tagbuild '%attr(0755,root,root)' \ |
--file /usr/bin/tagbuild '%attr(0755,root,root)' \ |
132 |
| grep -v /etc/mock/ \ |
--ignoredir /usr/lib/python3.6/site-packages/mockbuild/plugins \ |
133 |
|
--ignoredir /usr/lib/python3.6/site-packages/mockbuild \ |
134 |
|
--ignoredir /usr/lib/python3.6/site-packages \ |
135 |
|
--ignoredir /usr/lib/python3.6 \ |
136 |
|
--ignoredir /etc/mock \ |
137 |
|
| grep -v copy.pyc \ |
138 |
|
| grep -v copy.pyo \ |
139 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
140 |
|
|
141 |
%clean |
%clean |