# [PATCH] makerpm

- Thread: https://externals.io/message/13981
- Original archive: https://news-web.php.net/php.internals/13981
- Started by Gyepi SAM on 2004-12-02T03:11:09+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #13981 — Gyepi SAM — 2004-12-02T03:11:09+00:00

URL: https://externals.io/message/13981#13981

Hi --

The attached patch contains modifications to the makerpm script for php-4.3.9 
for portability, security, and bug fixes. Without the patches, the generated spec file
would not build on a Fedora Core 2 system. 

Here's a summary of the changes:

  - Invoke rpmbuild instead of rpm for building package.
  - Replace hard-coded rpm directories with rpm macros.
  - Drop buildconf invocation.
  - Replace hard-coded /usr with %{_prefix}.
  - Add README* to %docs, remove missing Changelog entry

-Gyepi
