--- rpms/smeserver-mock/sme10/smeserver-mock.spec 2019/09/30 19:34:51 1.10 +++ rpms/smeserver-mock/sme10/smeserver-mock.spec 2022/07/01 01:42:20 1.20 @@ -1,10 +1,10 @@ -# $Id: smeserver-mock.spec,v 1.9 2018/11/13 06:30:16 jpp Exp $ - +# $Id: smeserver-mock.spec,v 1.19 2022/06/30 20:27:39 jpp Exp $ +%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') Summary: smeserver-mock tools for building RPMs %define name smeserver-mock Name: %{name} %define version 1.0 -%define release 8 +%define release 15 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -14,6 +14,14 @@ Patch0: smeserver-mock-1.0-updates_value Patch1: smeserver-mock-1.0-sme10599-spamassassin.patch Patch2: smeserver-mock-1.0-sme10600-video.patch Patch3: smeserver-mock-1.0-ocaml.patch +Patch4: smeserver-mock-1.0-sme10946-mock.patch +Patch5: smeserver-mock-1.0-sme10924-bins.patch +Patch6: smeserver-mock-1.0-sme10993-kmodtool.patch +Patch7: smeserver-mock-1.0-sme11005-mojo-jwt.patch +Patch8: smeserver-mock-1.0-sme11203-spamassassin.patch +Patch9: smeserver-mock-1.0-sme11005-mojo-jwt-2.patch +Patch10: smeserver-mock-1.0-20220630.patch + BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-devtools @@ -23,11 +31,37 @@ Requires: make rpm-build rpm-sign wget Requires: cmake automake libtool Buildrequires: e-smith-devtools # needed for scl -Requires: scl-utils scl-utils-build centos-release-scl centos-release-scl-rh -Requires: python27-build +#Requires: scl-utils scl-utils-build centos-release-scl centos-release-scl-rh +#Requires: python27-build AutoReqProv: no %changelog +* Thu Jun 30 2022 Jean-Philippe Pialasse 1.0-15.sme +- update sme10 mock files [SME: 12089] +- remove python scl dependencies blocks a lot from using the rpm + almost never needed [SME: 12090] +- cleaning remove sme8 and sme9 mock files +- added workaround to perl.prov not working [SME: 11958] + added mock plugin copy.py and an updated perl.prov +- update embded bins + +* Mon Dec 27 2021 Michel Begue 1.0-13.sme +- fix build deps for Mojo::JWT [SME: 11005] + +* Thu Nov 26 2020 Jean-Philipe Pialasse 1.0-12.sme +- fix build deps for spamassassin [SME: 11203] + +* Fri Sep 04 2020 Michel Begue 1.0-11.sme +- update dependencies to build Mojo::JWT package [SME: 11005] + +* Tue Aug 18 2020 Michel Begue 1.0-10.sme +- update dependencies to build kmod packages [SME: 10993] + +* Thu May 14 2020 Jean-Philipe Pialasse 1.0-9.sme +- fix nspawn and package_manager set to yum [SME: 10946] +- updating list of included packages for SME10 and SME9 repo +- updating the attached bins to help building [SME: 10924] + * Mon Sep 30 2019 Michel Begue 1.0-8.sme - added include pkg ocaml, camlp5 [SME: 10809] @@ -69,6 +103,13 @@ Few tools are also provided to help you %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 %build @@ -83,7 +124,13 @@ rm -rf $RPM_BUILD_ROOT --file /usr/bin/createBuildDir '%attr(0755,root,root)' \ --file /usr/bin/prepa '%attr(0755,root,root)' \ --file /usr/bin/tagbuild '%attr(0755,root,root)' \ - | grep -v /etc/mock/ \ + --ignoredir /usr/lib/python3.6/site-packages/mockbuild/plugins \ + --ignoredir /usr/lib/python3.6/site-packages/mockbuild \ + --ignoredir /usr/lib/python3.6/site-packages \ + --ignoredir /usr/lib/python3.6 \ + --ignoredir /etc/mock \ + | grep -v copy.pyc \ + | grep -v copy.pyo \ > %{name}-%{version}-filelist %clean