ansh0014 commented on PR #13975:
URL: https://github.com/apache/trafficserver/pull/13975#issuecomment-6863471021

   > Thanks for picking this up. The `%configure` path has been dead since 
10.0, and the CMake options and pcre2 switch all match what master defines. A 
few things before it can go in:
   > 
   > 1. `CMakeLists.txt` installs `ts.pc` and `Findtsapi.cmake` to 
`${CMAKE_INSTALL_LIBDIR}/pkgconfig` and `/cmake`, so 
`%{_libdir}/trafficserver/...` here, but neither is in `%files`. With the 
default `%_unpackaged_files_terminate_build` that should fail rpmbuild. They 
probably belong in `-devel`.
   > 2. `*.config` and `*.yaml` are claimed by both `%config(noreplace) 
%{_sysconfdir}/trafficserver/*` and the `%attr` lines, so rpmbuild warns "File 
listed twice". Dropping them from the glob line, or the glob itself, avoids 
that.
   > 3. `%{_vpath_builddir}` is always defined by the `%cmake` macros, so the 
service-file install can be a single `install -D -m 0644 
"%{_vpath_builddir}/rc/trafficserver.service" 
%{buildroot}%{_unitdir}/trafficserver.service`. The fallbacks hide a missing 
file until `%files`.
   > 4. The header fields lost their tab alignment and now use mixed runs of 
spaces.
   > 5. Please drop the new `%changelog` stanza. `Version` is still 10.0.0 on 
master (11.0.0), and release management owns that.
   > 6. Fedora and Rocky failed on the last run. Can you check whether that's 
related, or re-run?
   
   Thanks @cmcfarlen! I've done all the points you mentioned — turned off 
`BUILD_TESTING`, added the `pkgconfig` and `cmake` files to `-devel`, cleaned 
up the duplicate `%files` entries, simplified the systemd service install, 
restored the tab alignment in the header, and dropped the `%changelog` entry. I 
also force-pushed the updated commit so the Fedora and Rocky checks will re-run.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to