From c4809421bd02c8ac0b07845b7cfe8fda92842da6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Tue, 26 Mar 2024 00:17:46 -0400 Subject: [PATCH] * Tue Mar 26 2024 Jean-Philippe Pialasse 2.1.2-4.sme - tidy spec for el8/SME11 --- timeobjects.spec | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/timeobjects.spec b/timeobjects.spec index e183350..2ddc2af 100644 --- a/timeobjects.spec +++ b/timeobjects.spec @@ -5,8 +5,8 @@ %global pear_name timeobjects %global pear_channel pear.horde.org %define name timeobjects -%define version 3.0.0alpha4 -%define release 1 +%define version 2.1.2 +%define release 4 Name: %{name} Version: %{version} @@ -20,16 +20,16 @@ URL: http://pear.horde.org/package/timeobjects BuildRequires: php-pear(PEAR) >= 1.4.7 BuildRequires: php-channel(pear.horde.org) Requires: php-horde-Horde-Role >= 1.0.0 -Requires: php-horde-Horde-Core >= 3.0.0 -Requires: php-horde-Horde-Core < 4.0.0alpha1 -Requires: php-horde-Horde-Date >= 3.0.0 -Requires: php-horde-Horde-Date < 4.0.0alpha1 -Requires: php-horde-Horde-Exception >= 3.0.0 -Requires: php-horde-Horde-Exception < 4.0.0alpha1 -Requires: php-horde-Horde-Url >= 3.0.0 -Requires: php-horde-Horde-Url < 4.0.0alpha1 -Requires: php-horde-Horde-Util >= 3.0.0 -Requires: php-horde-Horde-Util < 4.0.0alpha1 +Requires: php-horde-Horde-Core >= 2.0.0 +Requires: php-horde-Horde-Core < 3.0.0alpha1 +Requires: php-horde-Horde-Date >= 2.0.0 +Requires: php-horde-Horde-Date < 3.0.0alpha1 +Requires: php-horde-Horde-Exception >= 2.0.0 +Requires: php-horde-Horde-Exception < 3.0.0alpha1 +Requires: php-horde-Horde-Url >= 2.0.0 +Requires: php-horde-Horde-Url < 3.0.0alpha1 +Requires: php-horde-Horde-Util >= 2.0.0 +Requires: php-horde-Horde-Util < 3.0.0alpha1 Requires: php-pear(PEAR) >= 1.7.0 Requires: php-channel(pear.horde.org) BuildArch: noarch @@ -49,8 +49,6 @@ forecasts and can easily be extended by custom drivers. %setup -q -c cd %{pear_name}-%{version} -# v3.0.0 package.xml has moved -mv package.xml ../ # Don't install .po and .pot files # Remove checksum for .mo, as we regenerate them sed -e '/%{pear_name}.po/d' \ @@ -90,6 +88,7 @@ do done | tee ../%{pear_name}.lang + %post %{__pear} install --nodeps --soft --force --register-only \ %{pear_xmldir}/%{name}.xml >/dev/null || : @@ -102,15 +101,14 @@ fi %files -#-f %{pear_name}.lang %defattr(-,root,root) %doc %{pear_hordedir} %{pear_xmldir}/timeobjects.xml %doc %{pear_docdir}/%{pear_name} %changelog -* Sat Mar 16 2024 Jean-Philippe Pialasse 3.0.0alpha4-1.sme -- first release for SME11 and Horde Framework 6 +* Tue Mar 26 2024 Jean-Philippe Pialasse 2.1.2-4.sme +- tidy spec for el8/SME11 * Fri Jul 14 2023 BogusDateBot - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,