* Tue Mar 26 2024 Jean-Philippe Pialasse <jpp@koozali.org> 2.1.2-4.sme

- tidy spec for el8/SME11
This commit is contained in:
Jean-Philippe Pialasse 2024-03-26 00:17:46 -04:00
parent 73c3e82e1f
commit c4809421bd

View File

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