2 Commits

Author SHA1 Message Date
ef98edfe00 Update 2024-03-23 12:11:54 +00:00
44546704ee brp python 2024-03-15 12:03:43 -04:00
2 changed files with 17 additions and 13 deletions

0
root/etc/yum.smerepos.d/.gitignore vendored Normal file
View File

View File

@@ -3,8 +3,8 @@
%define name smeserver-yum
Summary: YUM, an rpm updater
Name: %{name}
%define version 2.6.2
%define release 7
%define version 11.0.0
%define release 1
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@@ -30,17 +30,21 @@ Requires: yum-plugin-post-transaction-actions
Requires: mailx
Requires: deltarpm
Requires: yum-cron
BuildRequires: e-smith-devtools >= 1.13.1-03
BuildRequires: python27 python3
BuildRequires: smeserver-devtools >= 2.6.0-20
BuildRequires: python3
Conflicts: centos-yumconf
AutoReqProv: no
# Disable automatic bytecompilation. The python3 binary is not yet be
# available in /usr/bin when Python is built. Also, the bytecompilation fails
# on files that test invalid syntax.
%undefine py_auto_byte_compile
%description
%name is an implementation of http://linux.duke.edu/projects/yum on SME Server
%prep
%setup
rm -rf root/var/service/ root/service/
rm -rf root/etc/e-smith/db/configuration/force
%build
perl createlinks
@@ -68,16 +72,16 @@ mkdir -p root/etc/yum.smerepos.d
%defattr(-,root,root)
%pre
if [ $1 -gt 1 ] ; then
if [ -e /var/service/yum/run ] ; then
/usr/bin/sv d yum
/usr/bin/sv d yum/log
fi
fi
%changelog
* Thu Mar 14 2024 Jean-Philippe Pialasse <jpp@koozali.org> 2.6.2-6.sme
* Sat Mar 23 2024 Brian Read <brianr@koozali.org>11.0.0-1.sme
- Update Release and Version to base version and 1st release for SME11 [SME: 12518]
* Fri Mar 15 2024 Jean-Philippe Pialasse <jpp@koozali.org> 2.6.2-8.sme
- disable brp-python-bytecompile [SME: 12511]
* Thu Mar 14 2024 Jean-Philippe Pialasse <jpp@koozali.org> 2.6.2-7.sme
- use python 3 to build and python 2, as needed for brp-python-bytecompile
https://bugzilla.redhat.com/show_bug.cgi?id=1411588