Bug 2306513 - Review Request: php-smarty4 - Smarty - the compiling PHP template engine
Summary: Review Request: php-smarty4 - Smarty - the compiling PHP template engine
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL: http://www.smarty.net
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-21 13:19 UTC by Xavier Bachelot
Modified: 2025-09-15 14:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-09-15 14:08:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
The .spec file difference from Copr build 7932266 to 9494728 (897 bytes, patch)
2025-08-27 08:03 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 9494728 to 9551268 (2.29 KB, patch)
2025-09-12 13:32 UTC, Fedora Review Service
no flags Details | Diff

Description Xavier Bachelot 2024-08-21 13:19:12 UTC
Spec URL: https://www.bachelot.org/fedora/SPECS/php-smarty4.spec
SRPM URL: https://www.bachelot.org/fedora/SRPMS/php-smarty4-4.5.4-1.fc42.src.rpm
Description:
Smarty is a template engine for PHP, facilitating the separation of
presentation (HTML/CSS) from application logic. This implies that PHP
code is application logic, and is separated from the presentation.

Autoloader: %{phpdir}/smarty4/autoload.php
Fedora Account System Username: xavierb

Comment 1 Fedora Review Service 2024-08-21 19:28:09 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7932218
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2306513-php-smarty4/srpm-builds/07932218/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Xavier Bachelot 2024-08-21 19:31:53 UTC
Bad perms on the srpm, fixed now
[fedora-review-service-build]

Comment 3 Fedora Review Service 2024-08-21 20:06:50 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7932266
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2306513-php-smarty4/fedora-rawhide-x86_64/07932266-php-smarty4/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 4 Package Review 2025-08-22 00:45:25 UTC
This is an automatic check from review-stats script.

This review request ticket hasn't been updated for some time. We're sorry
it is taking so long. If you're still interested in packaging this software
into Fedora repositories, please respond to this comment clearing the
NEEDINFO flag.

You may want to update the specfile and the src.rpm to the latest version
available and to propose a review swap on Fedora devel mailing list to increase
chances to have your package reviewed. If this is your first package and you
need a sponsor, you may want to post some informal reviews. Read more at
https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group.

Without any reply, this request will shortly be considered abandoned
and will be closed.
Thank you for your patience.

Comment 6 Fedora Review Service 2025-08-27 08:03:42 UTC
Created attachment 2104986 [details]
The .spec file difference from Copr build 7932266 to 9494728

Comment 7 Fedora Review Service 2025-08-27 08:03:45 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9494728
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2306513-php-smarty4/fedora-rawhide-x86_64/09494728-php-smarty4/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 8 Remi Collet 2025-08-30 06:05:54 UTC
As php-Smarty exists (v3), a review is not mandatory; you can open a SCM request with the exception flag

See: https://docs.fedoraproject.org/en-US/packaging-guidelines/ReviewGuidelines/#_package_review_process

    > The package is being created so that multiple versions of the same package can coexist in the distribution...


I'm used to do this, ex https://pagure.io/releng/fedora-scm-requests/issue/72031

From a quick look:

Notice from recently updated PHP Guidelines:  https://docs.fedoraproject.org/en-US/packaging-guidelines/PHP/

     > Can be ignored as always present: core, date, filter, hash, pcre, random, reflection, session, spl, standard.

Perhaps apcu, memcache and Memcached could be weak dependencies (Recommends)

Comment 9 Xavier Bachelot 2025-09-12 13:26:28 UTC
Spec URL: https://www.bachelot.org/fedora/SPECS/php-smarty4.spec
SRPM URL: https://www.bachelot.org/fedora/SRPMS/php-smarty4-4.5.6-2.fc44.src.rpm

Thanks for the comment Remi !
I've removed the needless Requires and turned the apcu, memcache and memcached to Recommends.
Also, I've synch'ed the version test from php-Smarty, as at least this one can run even on EL.

I'm not perfectly happy with not using the tarball from github and would like to look at providing a tarball that just adds the missing phpunit.xml and tests subdir.
What do you think ?

Comment 10 Fedora Review Service 2025-09-12 13:32:41 UTC
Created attachment 2106437 [details]
The .spec file difference from Copr build 9494728 to 9551268

Comment 11 Fedora Review Service 2025-09-12 13:32:43 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9551268
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2306513-php-smarty4/fedora-rawhide-x86_64/09551268-php-smarty4/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 12 Remi Collet 2025-09-12 13:44:18 UTC
> I'm not perfectly happy with not using the tarball from github ...


I have fought a lot against this .gitattributes file
which is a workaround to the missing installer for PHP library
(composer is NOT an installer, only a dependency resolver)

Now, I gave up.
Using a git snapshot is OK.

Nearly all PHP libraries have this .gitattributes

Comment 13 Xavier Bachelot 2025-09-12 13:58:16 UTC
Ok, I've filed https://pagure.io/releng/fedora-scm-requests/issue/78319

Comment 14 Xavier Bachelot 2025-09-15 14:08:29 UTC
Imported and built, thank you Remi !


Note You need to log in before you can comment on or make changes to this bug.