Compare commits
8 Commits
11_0_0-3_e
...
11_0_0-6_e
Author | SHA1 | Date | |
---|---|---|---|
cbe7d301ce | |||
![]() |
592c77d79d | ||
![]() |
1709aafded | ||
4962a3ac16 | |||
553be6d208 | |||
e29834a128 | |||
2bd2960a8a | |||
27e9a502d4 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@
|
||||
*.log
|
||||
*spec-20*
|
||||
*.tgz
|
||||
*.bak
|
||||
|
@@ -6,7 +6,14 @@ SMEServer Koozali developed git repo for smeserver-mock smeserver
|
||||
<br />https://wiki.koozali.org/Rpm_build_example_using_cvs/mock
|
||||
|
||||
## Bugzilla
|
||||
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-mock&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
||||
Show list of outstanding bugs:
|
||||
[All](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=NEEDINFO&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&cf_package=smeserver-mock&classification=SME+Server&list_id=105756&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Confirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=CONFIRMED&cf_package=smeserver-mock&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Unconfirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&cf_package=smeserver-mock&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Need info](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=NEEDINFO&cf_package=smeserver-mock&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[In progress](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=IN_PROGRESS&cf_package=smeserver-mock&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Resolved](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=RESOLVED&cf_package=smeserver-mock&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
[Verified](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=VERIFIED&cf_package=smeserver-mock&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||
|
||||
## Description
|
||||
|
||||
|
@@ -79,11 +79,6 @@ baseurl=http://download.fedoraproject.org/pub/epel/7/x86_64
|
||||
#baseurl=http://buildsys.koozali.org/build/7/epel/x86_64
|
||||
includepkgs=ccache mhash* perl-Taint-Util libdb4 libdb4-devel php-channel-horde php-horde-* perl-Class-Method-Modifiers perl-Class-XSAccessor perl-Devel-GlobalDestruction perl-Sub-Name perl-indirect perl-B-Hooks-OP-Check perl-ExtUtils-Depends perl-Lexical-SealRequireHints perl-Params-Classify perl-Dist-CheckConflicts perl-Math-Int64 perl-Sort-Naturally perl-Sub-Exporter* perl-Bytes-Random-Secure perl-Crypt-Random-TESHA2 perl-Crypt-Random-Seed perl-Math-Random-ISAAC kmodtool libmaxminddb-devel libmaxminddb perl-Module-Build-Tiny perl-Mojolicious perl-Net-CIDR-Lite mod_perl mod_perl-devel perl-Apache-Test pyzor perl-Linux-Pid perl-BSD-Resource perl-dev perl-Data-Dumper perl-Razor-Agent perl-generators* perl-Net-Patricia meson libidn2* ninja-build python36-Cython epel-rpm-macros lua-srpm-macros libnetfilter_log* courier-unicode* perl-Path-Class perl-String-Random perl-Test-Class perl-Test-Mojo perl-MRO-Compat perl-Class-Accessor libebml* libmatroska* pugixml* spdlog* multilib-rpm-config cmake3* libuv libzstd rhash google-benchmark* libnet10-* perl-Crypt-GPG gnupg1 perl-Lingua-Stem-Snowball* perl-Lingua-StopWords perl-rpm-build-perl* fmt* perl-Class-Virtual perl-Carp-Assert pyPdf python2-apipkg python2-bottle python2-dateutil python2-docutils python-gevent python2-simplejson python-sqlite3dbm python2-future python2-attrs python2-packaging python2-certifi perl-Email-MIME perl-Email-Simple perl-Net-IP perl-Net-SMTPS perl-Throwable perl-Sub-Override perl-Moose perl-Email-Abstract perl-Eval-Closure perl-Email-Date-Format perl-Devel-PartialDump perl-namespace-clean perl-B-Hooks-EndOfScope perl-Variable-Magic latexmk python3-sphinx* python36-sphinx* python36-pygments python36-jinja2 python36-docutils python36-markupsafe clamav* perl-TAP-Harness-Env rust ghc-* rust-* llvm13-libs pandoc golang* perl-Net-LibIDN* perl-Net-Patricia re2c perl-Data-Validate-IP perl-Clone-PP perl-ExtUtils-Manifest* perl-ExtUtils-InstallPaths* perl-ExtUtils-Helpers* perl-ExtUtils-Config*
|
||||
|
||||
[openfusion]
|
||||
name=openfusion
|
||||
baseurl=http://repo.openfusion.net/centos7-x86_64
|
||||
includepkgs=perl-Lingua* perl-Snowball* perl-Text-German perl-MooX* perl-Scalar-List-Utils perl-Throwable perl-Moose perl-Try-Tiny perl-Devel-StackTrace perl-Devel-OverloadInfo perl-Sub-Name perl-Module-Runtime-Conflicts perl-Test-File-ShareDir perl-Test-Exception perl-Test-Output perl-Net-IDN-Encode perl-Path-Tiny perl-Class-Tiny perl-Unicode-UTF8 perl-Net-Server perl-Email-Address-XS perl-MaxMind-* perl-Geo-IP perl-IP-Country-DB_File perl-IP-Country perl-Math-Int128 perl-Data-IEEE754 perl-namespace-autoclean perl-Net-Works perl-List-AllUtils perl-Data-Printer perl-IP-Country perl-Sub-Identify perl-Test-Warnings perl-Hash-FieldHash perl-Data-Dumper-Concise perl-Encode-Detect
|
||||
|
||||
[rpmfusion]
|
||||
name=rpmfusion
|
||||
baseurl=http://download1.rpmfusion.org/free/el/updates/7/x86_64
|
||||
|
112
root/etc/mock/smeserver-11-x86_64-base.cfg
Normal file
112
root/etc/mock/smeserver-11-x86_64-base.cfg
Normal file
@@ -0,0 +1,112 @@
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['use_nspawn'] = False
|
||||
#config_opts['nspawn_args] =
|
||||
config_opts['use_bootstrap_image'] = False
|
||||
config_opts['bootstrap_image_ready'] = False
|
||||
config_opts['bootstrap_image'] = 'quay.io/rockylinux/rockylinux:8'
|
||||
|
||||
# see bugs https://bugzilla.redhat.com/show_bug.cgi?id=2076847 and https://bugzilla.redhat.com/show_bug.cgi?id=2076847
|
||||
#config_opts['plugin_conf']["copy_enable"] = True
|
||||
#config_opts['plugin_conf']['copy_opts']= {
|
||||
# 'files': [ ("/etc/mock/perl.prov", "/usr/lib/rpm/redhat/perl.prov"),
|
||||
# ("/etc/mock/perl.prov", "/usr/lib/rpm/perl.prov"),
|
||||
# ],
|
||||
#}
|
||||
|
||||
config_opts['root'] = 'smeserver-11-x86_64'
|
||||
config_opts['target_arch'] = 'x86_64'
|
||||
config_opts['dist'] = '.el8.sme'
|
||||
config_opts['chroot_setup_cmd'] = 'install glibc epel-rpm-macros bash bzip2 coreutils cpio diffutils findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz perl-interpreter perl-devel perl-generators'
|
||||
#' install @buildsys-build @buildsys scl-utils-build python27-build epel-rpm-macros '
|
||||
# @buildsys-build @buildsys
|
||||
|
||||
#so perl will not complain
|
||||
config_opts['environment']['LANG'] = os.environ.setdefault('LANG', 'en_US.UTF-8')
|
||||
|
||||
#disable name resolution https://fedoraproject.org/wiki/Using_Mock_to_test_package_builds#Disable_domain_name_resolution
|
||||
#config_opts['use_host_resolv'] = False
|
||||
|
||||
config_opts['plugin_conf']['ccache_opts']['dir'] = "%(cache_topdir)s/ccache/x86_64/"
|
||||
|
||||
config_opts['macros']['%distribution'] = "SME Server v11"
|
||||
config_opts['macros']['%packager'] = "Koozali.org <http://www.koozali.org>"
|
||||
config_opts['macros']['%vendor'] = "Koozali.org <http://www.koozali.org>"
|
||||
config_opts['macros']['%dist'] = ".el8.sme"
|
||||
|
||||
config_opts['module_setup_commands'] = [
|
||||
('enable', 'php:remi-8.3,mariadb:10.5,python36:3.6'),
|
||||
('install', 'php:remi-8.3'),
|
||||
]
|
||||
|
||||
config_opts['dnf.conf'] = """
|
||||
[main]
|
||||
keepcache=1
|
||||
cachedir=/var/cache/yum
|
||||
debuglevel=4
|
||||
reposdir=/dev/null
|
||||
logfile=/var/log/yum.log
|
||||
retries=20
|
||||
obsoletes=1
|
||||
gpgcheck=0
|
||||
assumeyes=1
|
||||
syslog_ident=mock
|
||||
syslog_device=
|
||||
metadata_expire=0
|
||||
mdpolicy=group:primary
|
||||
best=1
|
||||
install_weak_deps=0
|
||||
protected_packages=
|
||||
module_platform_id=platform:el8
|
||||
user_agent={{ user_agent }}
|
||||
|
||||
|
||||
[BaseOs]
|
||||
name=BaseOs
|
||||
baseurl = https://dl.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/
|
||||
#baseurl=http://buildsys.koozali.org/build/7/os/x86_64
|
||||
#exclude=buildsys-macros
|
||||
|
||||
[koji-dist-sme11-os-build]
|
||||
name=dist-sme11-os-build
|
||||
baseurl=http://koji.koozali.org/kojifiles/repos-dist/dist-sme11-os/latest/x86_64
|
||||
|
||||
|
||||
[appstream]
|
||||
baseurl = https://dl.rockylinux.org/pub/rocky/8/AppStream/x86_64/os/
|
||||
#mirrorlist = https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=AppStream-8
|
||||
name = Rocky appstream
|
||||
|
||||
[powertools]
|
||||
baseurl = https://dl.rockylinux.org/pub/rocky/8/PowerTools/x86_64/os/
|
||||
mirrorlist = https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=PowerTools-8
|
||||
name = Rocky powertools
|
||||
|
||||
[smeos]
|
||||
name=smeos
|
||||
baseurl=http://buildsys.koozali.org/build/11/smeos/x86_64
|
||||
exclude=buildsys-macros
|
||||
|
||||
[epel]
|
||||
name=epel
|
||||
baseurl = https://muug.ca/mirror/fedora-epel/8/Everything/x86_64/
|
||||
|
||||
[rpmfusion]
|
||||
name=rpmfusion
|
||||
baseurl=http://download1.rpmfusion.org/free/el/updates/8/x86_64
|
||||
#includepkgs=ffmpeg* libva* x264-libs xvidcore librtmp buildsys-build-rpmfusion-* libmpeg2* mpeg2dec
|
||||
|
||||
[remi-safe]
|
||||
name=remi-safe
|
||||
baseurl=http://rpms.remirepo.net/enterprise/8/safe/x86_64/
|
||||
|
||||
[remi]
|
||||
name=remi
|
||||
baseurl=http://rpms.remirepo.net/enterprise/8/remi/x86_64/
|
||||
|
||||
[remi-modular]
|
||||
name=remi-modular
|
||||
baseurl=http://rpms.remirepo.net/enterprise/8/modular/x86_64/
|
||||
|
||||
|
||||
"""
|
||||
|
@@ -1,41 +1,8 @@
|
||||
[smeserver-mock]
|
||||
enabled=1
|
||||
mirrorlist=http://mirrorlist.contribs.org/mirrorlist/smeos-10
|
||||
mirrorlist=http://mirrorlist.contribs.org/mirrorlist/smeos-11
|
||||
name=SME Server - os smeserver-mock
|
||||
gpgcheck=0
|
||||
enablegroups=1
|
||||
includepkgs=smeserver-mock
|
||||
|
||||
[smeserver-mock-updates]
|
||||
enabled=1
|
||||
mirrorlist=http://mirrorlist.contribs.org/mirrorlist/smeupdates-10
|
||||
name=SME Server - updates smeserver-mock
|
||||
gpgcheck=1
|
||||
enablegroups=1
|
||||
includepkgs=smeserver-mock
|
||||
|
||||
[smeserver-mock-test]
|
||||
enabled=0
|
||||
mirrorlist=http://mirrorlist.contribs.org/mirrorlist/smetest-10
|
||||
name=SME Server - test smeserver-mock
|
||||
gpgcheck=0
|
||||
enablegroups=1
|
||||
includepkgs=smeserver-mock
|
||||
|
||||
[smeserver-mock-dev]
|
||||
enabled=0
|
||||
mirrorlist=http://mirrorlist.contribs.org/mirrorlist/smedev-10
|
||||
name=SME Server - dev smeserver-mock
|
||||
gpgcheck=0
|
||||
enablegroups=1
|
||||
includepkgs=smeserver-mock
|
||||
|
||||
[smeserver-mock-updates-testing]
|
||||
enabled=0
|
||||
mirrorlist=http://mirrorlist.contribs.org/mirrorlist/smeupdates-testing-10
|
||||
name=SME Server - updates-testing smeserver-mock
|
||||
gpgcheck=0
|
||||
enablegroups=1
|
||||
includepkgs=smeserver-mock
|
||||
|
||||
includepkgs=smeserver-mock,smeserver-devtools,perl-Algorithm-Dependency,perl-File-Flat,perl-File-chmod,perl-JSON-PP,perl-Test-Inline
|
||||
|
||||
|
@@ -9,8 +9,11 @@ dateH=`date "+%a %b %d %Y"`;
|
||||
if [[ $1 ]] && [ ${1##*.} == "spec" ]
|
||||
then
|
||||
specfile=$1
|
||||
else
|
||||
elif [ -d ./CVS ]
|
||||
then
|
||||
specfile=`grep '\.spec' ./CVS/Entries|cut -d'/' -f2`
|
||||
else
|
||||
specfile=`ls *.spec|head -n1`
|
||||
fi
|
||||
|
||||
echo "search for release in $specfile";
|
||||
@@ -57,7 +60,7 @@ fi
|
||||
cat $specfile.tmp > $specfile;
|
||||
|
||||
echo "updating changelog $specfile";
|
||||
entete="* $dateH ME MYSELF <myemail@koozali.org> $version-$release.sme"
|
||||
entete="* $dateH $USER <$USER@koozali.org> $version-$release.sme"
|
||||
changelog="- fix [SME: ]"
|
||||
cat $specfile |sed "/^%changelog/a $entete\n$changelog\n" >$specfile.tmp;
|
||||
cat $specfile.tmp>$specfile;
|
||||
|
@@ -4,7 +4,7 @@ Summary: smeserver-mock tools for building RPMs
|
||||
%define name smeserver-mock
|
||||
Name: %{name}
|
||||
%define version 11.0.0
|
||||
%define release 3
|
||||
%define release 6
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
License: GPL
|
||||
@@ -15,7 +15,10 @@ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
||||
BuildArchitectures: noarch
|
||||
Requires: smeserver-devtools
|
||||
Requires: mock
|
||||
Requires: glances
|
||||
Requires: glances
|
||||
Requires: koji
|
||||
Requires: git git-lfs
|
||||
Requires: lua
|
||||
Requires: make rpm-build rpm-sign wget
|
||||
Requires: cmake automake libtool
|
||||
BuildRequires: smeserver-devtools
|
||||
@@ -25,6 +28,17 @@ BuildRequires: smeserver-devtools
|
||||
AutoReqProv: no
|
||||
|
||||
%changelog
|
||||
* Mon Jan 20 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme
|
||||
- remove copy or perl.prov for sme11 [SME: 12880]
|
||||
- remove openfusion [SME: 12881]
|
||||
|
||||
* Sat Jan 11 2025 Trevor Batley <trevorb@koozali.org> 11.0.0-5.sme
|
||||
- fix typo of perl-File-Flat in includepkgs of smeserver-mock.config
|
||||
|
||||
* Wed Dec 18 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-4.sme
|
||||
- update dnf repo [SME: 12829]
|
||||
- add sme11 mock file
|
||||
|
||||
* Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-3.sme
|
||||
- Set license file to GPL2.0 [SME: 12577]
|
||||
|
||||
|
Reference in New Issue
Block a user