9 Commits

Author SHA1 Message Date
91c209b6ea * Fri Feb 07 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-7.sme
- add python packages for repoview and zsync
2025-02-07 15:10:27 -05:00
cbe7d301ce * 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]
2025-01-20 23:57:07 -05:00
trevorb
592c77d79d add changelog item and bump version for perl-File-Flat typo fix 2025-01-11 12:13:41 +11:00
trevorb
1709aafded perl-File-Flat typo in mock.repo 2025-01-06 21:15:57 +11:00
4962a3ac16 * Wed Dec 18 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-4.sme
- update dnf repo  [SME: 12829]
- add sme11 mock file
2024-12-18 18:22:02 -05:00
553be6d208 Add *.bak to .gitignore 2024-11-12 19:20:33 +00:00
e29834a128 Deleting spurious *.spec.bak files 2024-11-12 19:20:30 +00:00
2bd2960a8a Update README with specific Bugzilla links with status options 2024-10-27 14:28:59 +00:00
27e9a502d4 Update readme bugzilla link to show all outstanding bugs 2024-10-27 12:12:32 +00:00
7 changed files with 147 additions and 46 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@
*.log
*spec-20*
*.tgz
*.bak

View File

@@ -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

View File

@@ -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

View 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/
"""

View File

@@ -1,41 +1,7 @@
[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,repoview,python2-kid,python2-rpmUtils,python2-yum,yum-metadata-parser,python2-urlgrabber,python2-pycurl,python2-backports-lzma,zsync

View File

@@ -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;

View File

@@ -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 7
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,20 @@ BuildRequires: smeserver-devtools
AutoReqProv: no
%changelog
* Fri Feb 07 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-7.sme
- add python packages for repoview and zsync
* 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]