[Fedora-packaging] RPM Packaging Help

Praveen Kumar kumarpraveen.nitdgp at gmail.com
Tue Apr 17 13:34:19 UTC 2012


>  Hello,
>> I'm new to fedora rpm packaging. I have followed this link
>> http://fedoraproject.org/wiki/How_to_create_a_GNU_Hello_RPM_package.
>> I have already setup rpm development environment. Then I could give
>> following command,
>> # usermod -a -G mock <your username>
>> $ rpmdev-setuptree
>> $ cd ~/rpmbuild/SOURCES
>> $ wget http://ftp.gnu.org/gnu/hello/hello-2.7.tar.xz
>> $ cd ~/rpmbuild/SPECS
>> $ rpmdev-newspec hello
>>
>> But when giving vi hello.spec command I can appear blank vim page. I
>> can't see
>> normaly .spec file. How can I normal spec file
>>
>> Thanks
>>
>> --
>> packaging mailing list
>> packaging at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/packaging
>>
>
You can use "rpmdev-newspec <specfile name>" for getting spec file template.


-- 
Praveen Kumar
http://fedoraproject.org/
http://kumar-pravin.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20120417/25715b21/attachment.html>


More information about the packaging mailing list