/[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.24 by terryfage, Sun Apr 30 06:19:47 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.23 2023/04/14 02:57:42 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 19
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    Patch13: smeserver-mock-1.0-bg12350-cvm.patch
27    
28  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
29  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 30  Requires: make rpm-build rpm-sign wget Line 34  Requires: make rpm-build rpm-sign wget
34  Requires: cmake automake libtool  Requires: cmake automake libtool
35  Buildrequires: e-smith-devtools  Buildrequires: e-smith-devtools
36  # needed for scl  # needed for scl
37  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
38  Requires: python27-build  #Requires: python27-build
39  AutoReqProv: no  AutoReqProv: no
40    
41  %changelog  %changelog
42    * Sun Apr 30 2023 TerryFage <terry.fage@gmail.com> 1.0-19.sme
43    - add package to mock*.cfg facilitate cvm build [SME: 12350]
44    - attribute solution to Trevor batley
45    
46    * Thu Apr 13 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-18.sme
47    - fixpost scriptled not working [SME: 12349]
48    - add smeos and smeupdates in mock file
49    
50    * Wed Apr 12 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-17.sme
51    - fix change-log [SME: 12340]
52    - update smeserver 10 base mockfile
53    - perl.prov workaround in mock file
54    
55    * Fri Nov 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-16.sme
56    - fix change-log not handling tab for version or release
57    
58    * Thu Jun 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-15.sme
59    - update sme10 mock files [SME: 12089]
60    - remove python scl dependencies blocks a lot from using the rpm
61      almost never needed [SME: 12090]
62    - cleaning remove sme8 and sme9 mock files
63    - added workaround to perl.prov not working [SME: 11958]
64      added mock plugin copy.py and an updated perl.prov
65    - update embded bins
66    
67  * 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
68  - fix build deps for Mojo::JWT [SME: 11005]  - fix build deps for Mojo::JWT [SME: 11005]
69    
# Line 99  Few tools are also provided to help you Line 128  Few tools are also provided to help you
128  %patch7 -p1  %patch7 -p1
129  %patch8 -p1  %patch8 -p1
130  %patch9 -p1  %patch9 -p1
131    %patch10 -p1
132    %patch11 -p1
133    %patch12 -p1
134    %patch13 -p1
135    
136  %build  %build
137    
# Line 113  rm -rf $RPM_BUILD_ROOT Line 146  rm -rf $RPM_BUILD_ROOT
146          --file /usr/bin/createBuildDir '%attr(0755,root,root)' \          --file /usr/bin/createBuildDir '%attr(0755,root,root)' \
147          --file /usr/bin/prepa '%attr(0755,root,root)' \          --file /usr/bin/prepa '%attr(0755,root,root)' \
148          --file /usr/bin/tagbuild '%attr(0755,root,root)' \          --file /usr/bin/tagbuild '%attr(0755,root,root)' \
149        | grep -v /etc/mock/  \          --file /etc/mock/perl.prov '%attr(0755,root,root)' \
150            --ignoredir /usr/lib/python3.6/site-packages/mockbuild/plugins \
151            --ignoredir /usr/lib/python3.6/site-packages/mockbuild \
152            --ignoredir /usr/lib/python3.6/site-packages \
153            --ignoredir /usr/lib/python3.6 \
154            --ignoredir /etc/mock \
155          | grep -v copy.pyc  \
156          | grep -v copy.pyo  \
157          > %{name}-%{version}-filelist          > %{name}-%{version}-filelist
158    
159  %clean  %clean
# Line 121  rm -rf $RPM_BUILD_ROOT Line 161  rm -rf $RPM_BUILD_ROOT
161    
162  %pre  %pre
163  %preun  %preun
164  %post  %post -p /bin/bash
165    
166  # updates sme site defaults  # updates sme site defaults
167  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