https://bugzilla.redhat.com/show_bug.cgi?id=977208
--- Comment #5 from Renich Bon Ciric <renich(a)woralelandia.com> ---
(In reply to Roman Mohr from comment #4)
It is better to name the tar.gz like %{name}-%{version}.tar.gz as in
the
patch ( see point "Source0" in
http://fedoraproject.org/wiki/
How_to_create_an_RPM_package#SPEC_file_overview). Otherwise your tar.gz
might override other tar.gz's in your SOURCES directory which are also not
properly named.
The patch works for me. Did you place the source tar.gz in your
~/rpmbuild/SOURCES directory?
Yes; I did. The thing is that the package should be named php-phalcon for 2
reasons:
- Fedora frameworks and pecl libs are named php-<name>
- The package is named cphalcon; but the project is called Phalcon. Believe me;
I asked the author about it.
So, your script works fine with cphalcon as a name. Not with php-phalcon as a
name.
After patching the spec file I tested it with something like this:
spectool -g php-phalcon.spec
mock -r fedora-rawhide-x86_64 --buildsrpm --spec=php-phalcon.spec
--sources=. --resultdir=.
mock -r fedora-rawhide-x86_64 --no-clean --no-cleanup-after --resultdir=.
php-phalcon-1.2.0-1.fc20.src.rpm
I could've patched it wrongly. I did patch orig file.patch
Thank you for your interest! ;)
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=asoa1HwMgM&a=cc_unsubscribe