/[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.3 by jpp, Mon Mar 12 02:05:04 2018 UTC Revision 1.22 by jpp, Thu Apr 13 03:38:38 2023 UTC
# Line 1  Line 1 
1  # $Id: smeserver-mock.spec,v 1.2 2018/03/11 05:08:17 jpp Exp $  # $Id: smeserver-mock.spec,v 1.21 2022/11/18 18:18:24 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 2  %define release 17
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tgz  Source: %{name}-%{version}.tgz
13    Patch0: smeserver-mock-1.0-updates_values.patch
14    Patch1: smeserver-mock-1.0-sme10599-spamassassin.patch
15    Patch2: smeserver-mock-1.0-sme10600-video.patch
16    Patch3: smeserver-mock-1.0-ocaml.patch
17    Patch4: smeserver-mock-1.0-sme10946-mock.patch
18    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    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
29  Requires: e-smith-devtools  Requires: e-smith-devtools
30  Requires: mock  Requires: mock
 Requires: python-ctypes  
31  Requires: glances  Requires: glances
32  Requires: make rpm-build rpm-sign wget  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    * Wed Apr 12 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-17.sme
42    - fix change-log [SME: 12340]
43    - update smeserver 10 base mockfile
44    - perl.prov workaround in mock file
45    
46    * Fri Nov 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-16.sme
47    - fix change-log not handling tab for version or release
48    
49    * Thu Jun 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-15.sme
50    - update sme10 mock files [SME: 12089]
51    - remove python scl dependencies blocks a lot from using the rpm
52      almost never needed [SME: 12090]
53    - cleaning remove sme8 and sme9 mock files
54    - added workaround to perl.prov not working [SME: 11958]
55      added mock plugin copy.py and an updated perl.prov
56    - update embded bins
57    
58    * Mon Dec 27 2021 Michel Begue <mab974@misouk.com> 1.0-13.sme
59    - fix build deps for Mojo::JWT [SME: 11005]
60    
61    * Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-12.sme
62    - fix build deps for spamassassin [SME: 11203]
63    
64    * Fri Sep 04 2020 Michel Begue <mab974@gmail.com> 1.0-11.sme
65    - update dependencies to build Mojo::JWT package [SME: 11005]
66    
67    * Tue Aug 18 2020 Michel Begue <mab974@gmail.com> 1.0-10.sme
68    - update dependencies to build kmod packages [SME: 10993]
69    
70    * Thu May 14 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-9.sme
71    - fix nspawn and package_manager set to yum [SME: 10946]
72    - updating list of included packages for SME10 and SME9 repo
73    - updating the attached bins to help building [SME: 10924]
74    
75    * Mon Sep 30 2019 Michel Begue <mab974@gmail.com> 1.0-8.sme
76    - added include pkg ocaml, camlp5 [SME: 10809]
77    
78    * Tue Nov 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-7.sme
79    - fix non needed Requires python-ctypes [SME: 10647]
80    
81    * Wed Jun 20 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-6.sme
82    - added include pkg for video tools [SME: 1600]
83    - applied patch for previous bug fix [SME: 10599]
84    
85    * Tue Jun 19 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-5.sme
86    - update dependencies to build spamassassin [SME: 10599]
87    
88    * Sun Mar 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-4.sme
89    - update include package values according to buildsys
90    
91    * Sat Mar 17 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-3.sme
92    - set %config on mock config files
93    - a rpmsave of the previous version will be created if modified.
94    - fix typo in filename
95    
96  * Sun Mar 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-2.sme  * Sun Mar 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-2.sme
97  - update of site-default.cfg  via post script [SME: 10537]  - update of site-default.cfg  via post script [SME: 10537]
98  - removed e-smith-devtools of requirements  - removed e-smith-devtools of requirements
# Line 41  Few tools are also provided to help you Line 109  Few tools are also provided to help you
109    
110  %prep  %prep
111  %setup  %setup
112    %patch0 -p1
113    %patch1 -p1
114    %patch2 -p1
115    %patch3 -p1
116    %patch4 -p1
117    %patch5 -p1
118    %patch6 -p1
119    %patch7 -p1
120    %patch8 -p1
121    %patch9 -p1
122    %patch10 -p1
123    %patch11 -p1
124    %patch12 -p1
125    
126  %build  %build
127    
# Line 55  rm -rf $RPM_BUILD_ROOT Line 136  rm -rf $RPM_BUILD_ROOT
136          --file /usr/bin/createBuildDir '%attr(0755,root,root)' \          --file /usr/bin/createBuildDir '%attr(0755,root,root)' \
137          --file /usr/bin/prepa '%attr(0755,root,root)' \          --file /usr/bin/prepa '%attr(0755,root,root)' \
138          --file /usr/bin/tagbuild '%attr(0755,root,root)' \          --file /usr/bin/tagbuild '%attr(0755,root,root)' \
139        | grep -v /etc/mock/  \          --file /etc/mock/perl.prov '%attr(0755,root,root)' \
140            --ignoredir /usr/lib/python3.6/site-packages/mockbuild/plugins \
141            --ignoredir /usr/lib/python3.6/site-packages/mockbuild \
142            --ignoredir /usr/lib/python3.6/site-packages \
143            --ignoredir /usr/lib/python3.6 \
144            --ignoredir /etc/mock \
145          | grep -v copy.pyc  \
146          | grep -v copy.pyo  \
147          > %{name}-%{version}-filelist          > %{name}-%{version}-filelist
148    
149  %clean  %clean
# Line 92  mv $tmp $main Line 180  mv $tmp $main
180    
181  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
182  %defattr(-,root,root,-)  %defattr(-,root,root,-)
183  /etc/mock/* %attr(0755,root,mock)    /etc/mock/* %config %attr(0755,root,mock)  


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