Thanks, guys.

I added the following to spec in order to stop stripping the haproxy binary and 
it worked fine:

%define __os_install_post   %{nil}


From: Yuan Long [mailto:[email protected]]
Sent: Monday, January 19, 2015 6:19 PM
To: Tait Clarridge
Cc: [email protected]; Cohen Galit
Subject: Re: haproxy rpm

THis was enough for me 
http://pkgs.org/search/haproxy<http://cp.mcafee.com/d/k-Kr40UqdEI9EKfccIzztPqqbdQSkkkTzqqbdQSknQTzqqbdSknxPP9J6ZPhOy-Nt5UShQ-k-JkDY0kKp-dfVsSKp-dfVsSyeZd0wM_R-juKCYYeWZOWqbMXC66jhOY-DORQX8EGTd7avaxVZicHs3jq9JwTvASmbI9LLIFCXCM0qNkzjw0ek_oS9UjRqdgYIrbdX3zWM8wGNekd1JzWJEsKr78CzBYS2_id41flER3ONEwyIGrhvdF3dqrHx0yZEt>

Regards,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Long Wu Yuan 龙 武 缘
Sr. Linux Engineer 高级工程师
ChinaNetCloud 云络网络科技(上海)有限公司 | 
www.ChinaNetCloud.com1238<http://www.ChinaNetCloud.com1238> Xietu Lu, X2 Space 
1-601, Shanghai, China | 中国上海市徐汇区斜土路1238号X2空 间1-601室

24x7 Support Hotline: +86-400-618-0024 | Office Tel: +86-(21)-6422-1946
We are hiring! 
http://careers.chinanetcloud.com<http://cp.mcafee.com/d/5fHCNEe4x0edEI9EKfccIzztPqqbdQSkkkTzqqbdQSknQTzqqbdSknxPP9J6ZPhOy-Nt5UShQ-k-JkDY0kKp-dfVsSKp-dfVsSyeZd0wM_R-juKCYYeWZOWqbMXC66jhOY-DORQX8EGTd7avaxVZicHs3jqpJwTvASmbI9LLIFCXCM0tJz_NFRysEq3r7RrgVsSmrS77Rwh1lysEq3r7RrgVsSehd7bVI5-Aq82uHhG7Bzh15pkSy-ruamS>
  | Customer Portal - 
https://customer-portal.service.chinanetcloud.com/<http://cp.mcafee.com/d/1jWVIe6hASyMCyUYMOOedTdFEITjphhjudFEITjphvjudFEITphu7fcCQrTd7abX5Qnzp7jVjWRivM1iVDUQ_BPqVDUQ_BPq8XQQ233_nVdWWrPMXHTbFEL3Koopd7bPWvbnjIyyHsQsFYG7DR8OJMddICS3t-jpoKMC--OCrKr9PCJhbcITitlvynmH6uDZjUCpm_H4VgQ6SfGSxO-6OPuMU-I28aIjB3gro-Hq7bCNO9EVvdwLQzh0jRqdgYIq88HaCQnPq-xZ>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

On Mon, Jan 19, 2015 at 10:07 PM, Tait Clarridge 
<[email protected]<mailto:[email protected]>> wrote:
On Mon, Jan 19, 2015 at 8:59 AM, Cohen Galit 
<[email protected]<mailto:[email protected]>> wrote:
> Hi,
>
>
>
> I have a problem in packaging the haproxy binary into an rpm.
>
>
>
> I am using a regular cp command in %install section of spec, but I see that
> after the copying, the file size is changed and I suspect it is corrupted.
>
>
>
> Can you advice what am I'm doing wrong?

Hi Cohen,

Have you taken a look at the spec file from a source RPM for Haproxy?
Here are some builds from fedora/epel:
http://koji.fedoraproject.org/koji/packageinfo?packageID=5025<http://cp.mcafee.com/d/FZsSd21J5xd5NVxBAsrKrjhpKCOyyCYrjhpKCOy-CYrjhpKOyYeupdETKqeknSbEL6OeDODRGA_w2BPfNF_bCRPfNF_bCQhTFE467-LOrRQTDxTnKnjhu7sMMOqenDQ-mKDp55mVEVjVkffGhBrwqrodI6XYCONtxdZZBcTsS03aR4psXW5oWJ6EzZFY01MHkhBySSaWh-k7qABJIlQzUq77fTjvdBCZxNZo4gloDa6wSNZmQendzAjhO-r1vF6y0DGQqxVoQghmldELCQo3EEr7a>

You can click on one of the builds, grab the source RPM and rebuild
locally (and tweak if necessary).

In my opinion, this is not really a question for the HAProxy mailing
list. RPM packaging issues are better suited for your distro
development mailing list.

Tait

________________________________
“This e-mail message may contain confidential, commercial or privileged 
information that constitutes proprietary information of Comverse Inc. or its 
subsidiaries. If you are not the intended recipient of this message, you are 
hereby notified that any review, use or distribution of this information is 
absolutely prohibited and we request that you delete all copies and contact us 
by e-mailing to: [email protected]. Thank You.”

Reply via email to