[CentOS] rpm building and hyphens in Version tags
Joseph L. Casale
jcasale at activenetwerx.comTue Jun 8 01:08:42 UTC 2010
- Previous message: [CentOS] rpm building and hyphens in Version tags
- Next message: [CentOS] rpm building and hyphens in Version tags
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>Ok Special Attention here: > >Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 >rpmlib(PayloadFilesHavePrefix) <= 4.0-1 >Checking for unpackaged >file(s): /usr/lib/rpm/check-files /var/tmp/inotify-tools-3.13-3.el5-root-ethan >Wrote: /home/ethan/rpmbuild/SRPMS/inotify-tools-3.13-3.el5.src.rpm >Wrote: /home/ethan/rpmbuild/RPMS/i386/inotify-tools-3.13-3.el5.i386.rpm >Wrote: /home/ethan/rpmbuild/RPMS/i386/inotify-tools-devel-3.13-3.el5.i386.rpm >Wrote: /home/ethan/rpmbuild/RPMS/i386/inotify-tools-debuginfo-3.13-3.el5.i386.rpm >############################################################################ >inotify-tools/spec >############################################################################ >Name: inotify-tools >Version: 3.13 >Release: 3%{?dist} ## Here is you wanted `-`... ## >Summary: Command line utilities for inotify > >Release: pre4%{?dist} That's not quit working as expected, my tarball is specifically named sarg-2.3-pre4.tar.gz and so when rpmbuild extracts it, it creates a 'sarg-2.3-pre4' dir and it expects to cd into it. The release tag only comes into play with the final rpm naming. rpm.org suggests in another doc that if epoch is defined, then you cant use hyphens, buts that's not obviously the case... I am sure there is a better way to do this, but to get it into the correct directory, I used: %setup -n sarg-2.3-pre4 To control the final rpm name, I could use _build_name_fmt but I don't know all the ramifications of this one yet, so I let it name just sarg-2.3-1. Hopefully I stumble across the right way... Thanks for helping! jlc
- Previous message: [CentOS] rpm building and hyphens in Version tags
- Next message: [CentOS] rpm building and hyphens in Version tags
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list