Indunil Jayasooriya
2007-Jun-25 04:37 UTC
[CentOS] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5
Hi All, I am trying to build SRPM and RPM out of cureent clamav tarball. I just download it to /ur/src/redhat/SOURCES as follows. [root at mail SOURCES]# wget http://freshmeat.net/redir/clamav/29355/url_tgz/clamav-0.90.3.tar.gz When I issue rpmbuild -ta, it gave below error. [root at mail SOURCES]# rpmbuild -ta clamav-0.90.3.tar.gz error: Name field must be present in package: (main package) error: Version field must be present in package: (main package) error: Release field must be present in package: (main package) error: Summary field must be present in package: (main package) error: Group field must be present in package: (main package) error: License field must be present in package: (main package) I think , may be it does not have a SPEC file. Then, What I did was I got clamav Version 0.90.2 Spec file from below URL. http://crash.fce.vutbr.cz/crash-hat/5/clamav/clamav.spec and copied it to /usr/src/redhat/SPECS/ and changed it's Version: 0.90.2to Version: 0.90.3 and ran it again as folows. then, again, it gave below error. [root at mail SPECS]# rpmbuild -ta clamav.spec error: Name field must be present in package: (main package) error: Version field must be present in package: (main package) error: Release field must be present in package: (main package) error: Summary field must be present in package: (main package) error: Group field must be present in package: (main package) error: License field must be present in package: (main package) then, I tried as follows. [root at mail SPECS]# rpmbuild -ba clamav.spec then , It gave below error. error: File /usr/src/redhat/SOURCES/clamav-milter-dontsux.patch: No such file or directory What's wrong with it? Where have I gone worng? How to build both clamav SRPM AND RPM for CentOS 5 -- Thank you Indunil Jayasooriya -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070625/938fbf76/attachment-0001.html>
Akemi Yagi
2007-Jun-25 04:54 UTC
[CentOS] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5
On 6/24/07, Indunil Jayasooriya <indunil75 at gmail.com> wrote:> How to build both clamav SRPM AND RPM for CentOS 5You don't have to. clamav is available from RPMforge. Akemi
Akemi Yagi
2007-Jun-25 14:14 UTC
[CentOS] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5
The message below was not posted to the ML, so I am sending it here. On 6/24/07, Akemi Yagi <amyagi at gmail.com> wrote:> On 6/24/07, Indunil Jayasooriya <indunil75 at gmail.com> wrote: > > > > > > How to build both clamav SRPM AND RPM for CentOS 5 > > > > > > You don't have to. clamav is available from RPMforge. > > > > I installed it fro Dag. But it gace erros. Then I desabled selinux. Then , > > It worked. But i do not want to leave selinux disabled. > > > > That's why. I am trying to build it.Then, Rodrigo's note may help: http://lists.rpmforge.net/pipermail/users/2007-June/000798.html Akemi
Kenneth Porter
2007-Jun-25 20:01 UTC
[CentOS] How to build clamav SRPM and RPM with calmav tarbal - CentOS 5
On Monday, June 25, 2007 7:14 AM -0700 Akemi Yagi <amyagi at gmail.com> wrote:> Then, Rodrigo's note may help: > > http://lists.rpmforge.net/pipermail/users/2007-June/000798.htmlThe earlier discussion on CentOS list: <http://lists.centos.org/pipermail/centos/2007-June/082857.html>
Possibly Parallel Threads
- Re: CentOS Digest, Vol 29, Issue 25
- samba-3.6.0 .spec anad patches for SRPM building for RHEL 5 and 6 at https://github.com/nkadel/samba-3.6.0-srpm
- Looking for kernel SRPM
- Problems building Samba SRPM on Fedora 18 due to buildtools/bin/waf
- centos-release srpm