What in the *devil* ????

Taking it apart with "rpm2cpio", dumping the SOURCE files in
~/rpmbuild/SOURCES and the SPEC file in ~/rpmbuild/SPEC leads me to a
broken "%files" setting looking for a "debugfiles.list" To compile it
successfully, either disable building debugs in our local environmentt
or add this line in the beginning:

        rpm2cpio [file].src.rpm
        mv flash-plugin.spec ~/rpmbuild/SRPMS
        mv * ~/rpmbuild ~/SOURCES
        vi ~/rpmbuild/SPECS/flash-plugin.spec
           # Add this line in the beginning
           %define debug_package %{nil}

           # Replace the Requires: libcurl with this
           %if %{?el5}0
           Requires: curl
           %else
           Requires: libcurl
           %endif

        rpmbuild -ba ~/rpmbuild/SPEC/flash-plugin.spec

And that looks like it could work for a buildable package.



On Tue, Dec 24, 2013 at 6:08 AM, John Doe <[email protected]> wrote:
> From: Nico Kadel-Garcia <[email protected]>
>
>> John, do you have the time to rebuild the SRPM with the dependency
>> changed, and test the new RPM?
>
> I tried but I have almost no experience with rpm dev and it fails at the 
> beginning:
>
> $ wget 
> http://pkgs.repoforge.org/flash-plugin/flash-plugin-11.2.202.327-0.1.rf.src.rpm
> ...
> 2013-12-24 11:54:26 (368 KB/s) - `flash-plugin-11.2.202.327-0.1.rf.src.rpm' 
> saved [13953323/13953323]
>
> $ sha256sum flash-plugin-11.2.202.327-0.1.rf.src.rpm
> c123fd0ec273b7302b670d12db538647ec2722ed6a0124385666df1df854a726  
> flash-plugin-11.2.202.327-0.1.rf.src.rpm
>
> $ rpmbuild --rebuild flash-plugin-11.2.202.327-0.1.rf.src.rpm
> Installing flash-plugin-11.2.202.327-0.1.rf.src.rpm
> warning: user dag does not exist - using root
> warning: group dag does not exist - using root
> error: unpacking of archive failed on file 
> /home/test/rpmbuild/SOURCES/LICENSE;52b9682b: cpio: MD5 sum mismatch
> error: flash-plugin-11.2.202.327-0.1.rf.src.rpm cannot be installed
>
> JD
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.repoforge.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.repoforge.org/mailman/listinfo/users

Reply via email to