/[smeserver]/rpms/smeserver-mock/sme10/smeserver-mock.spec
ViewVC logotype

Diff of /rpms/smeserver-mock/sme10/smeserver-mock.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.17 by michel, Mon Dec 27 20:01:26 2021 UTC Revision 1.23 by jpp, Fri Apr 14 02:57:42 2023 UTC
# Line 1  Line 1 
1  # $Id: smeserver-mock.spec,v 1.16 2020/11/26 18:41:46 jpp Exp $  # $Id: smeserver-mock.spec,v 1.22 2023/04/13 03:38:38 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 13  %define release 18
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 20  Patch6: smeserver-mock-1.0-sme10993-kmod Line 20  Patch6: smeserver-mock-1.0-sme10993-kmod
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  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
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
# Line 30  Requires: make rpm-build rpm-sign wget Line 33  Requires: make rpm-build rpm-sign wget
33  Requires: cmake automake libtool  Requires: cmake automake libtool
34  Buildrequires: e-smith-devtools  Buildrequires: e-smith-devtools
35  # needed for scl  # needed for scl
36  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
37  Requires: python27-build  #Requires: python27-build
38  AutoReqProv: no  AutoReqProv: no
39    
40  %changelog  %changelog
41    * Thu Apr 13 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-18.sme
42    - fixpost scriptled not working [SME: 12349]
43    - add smeos and smeupdates in mock file
44    
45    * Wed Apr 12 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-17.sme
46    - fix change-log [SME: 12340]
47    - update smeserver 10 base mockfile
48    - perl.prov workaround in mock file
49    
50    * Fri Nov 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-16.sme
51    - fix change-log not handling tab for version or release
52    
53    * Thu Jun 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-15.sme
54    - update sme10 mock files [SME: 12089]
55    - remove python scl dependencies blocks a lot from using the rpm
56      almost never needed [SME: 12090]
57    - cleaning remove sme8 and sme9 mock files
58    - added workaround to perl.prov not working [SME: 11958]
59      added mock plugin copy.py and an updated perl.prov
60    - update embded bins
61    
62  * Mon Dec 27 2021 Michel Begue <mab974@misouk.com> 1.0-13.sme  * Mon Dec 27 2021 Michel Begue <mab974@misouk.com> 1.0-13.sme
63  - fix build deps for Mojo::JWT [SME: 11005]  - fix build deps for Mojo::JWT [SME: 11005]
64    
# Line 99  Few tools are also provided to help you Line 123  Few tools are also provided to help you
123  %patch7 -p1  %patch7 -p1
124  %patch8 -p1  %patch8 -p1
125  %patch9 -p1  %patch9 -p1
126    %patch10 -p1
127    %patch11 -p1
128    %patch12 -p1
129    
130  %build  %build
131    
# Line 113  rm -rf $RPM_BUILD_ROOT Line 140  rm -rf $RPM_BUILD_ROOT
140          --file /usr/bin/createBuildDir '%attr(0755,root,root)' \          --file /usr/bin/createBuildDir '%attr(0755,root,root)' \
141          --file /usr/bin/prepa '%attr(0755,root,root)' \          --file /usr/bin/prepa '%attr(0755,root,root)' \
142          --file /usr/bin/tagbuild '%attr(0755,root,root)' \          --file /usr/bin/tagbuild '%attr(0755,root,root)' \
143        | grep -v /etc/mock/  \          --file /etc/mock/perl.prov '%attr(0755,root,root)' \
144            --ignoredir /usr/lib/python3.6/site-packages/mockbuild/plugins \
145            --ignoredir /usr/lib/python3.6/site-packages/mockbuild \
146            --ignoredir /usr/lib/python3.6/site-packages \
147            --ignoredir /usr/lib/python3.6 \
148            --ignoredir /etc/mock \
149          | grep -v copy.pyc  \
150          | grep -v copy.pyo  \
151          > %{name}-%{version}-filelist          > %{name}-%{version}-filelist
152    
153  %clean  %clean
# Line 121  rm -rf $RPM_BUILD_ROOT Line 155  rm -rf $RPM_BUILD_ROOT
155    
156  %pre  %pre
157  %preun  %preun
158  %post  %post -p /bin/bash
159    
160  # updates sme site defaults  # updates sme site defaults
161  main=/etc/mock/site-defaults.cfg  main=/etc/mock/site-defaults.cfg


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed