[asterisk-bugs] [Zaptel 0010950]: Provide make rpm functionality to Zaptel

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Oct 11 18:40:20 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10950 
====================================================================== 
Reported By:                cabal95
Assigned To:                
====================================================================== 
Project:                    Zaptel
Issue ID:                   10950
Category:                   NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Zaptel Version:             1.4.5.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-11-2007 13:05 CDT
Last Modified:              10-11-2007 18:40 CDT
====================================================================== 
Summary:                    Provide make rpm functionality to Zaptel
Description: 
This patch provides the make rpm functionality to Zaptel, similiar to the
Linux Kernel method of building rpms. The patch has been tested on FC6 but
should probably receive more testing on various platforms before entering
svn.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0010951 Provides(fix) make rpm functionality to...
====================================================================== 

---------------------------------------------------------------------- 
 cabal95 - 10-11-07 18:40  
---------------------------------------------------------------------- 
2. Ahh, my bad I was mis-understanding what you were saying. Yes the make
commands in the spec file should be using KVERS= instead of KVERSION=.

3, 4. Check.

5. Okay, I'll report on the svn patching tomorrow when I post a new
patch.

7. Sorry if I am not getting it. Since that tarball is temporary and
deleted after the make rpm completes, does it matter if it has "noise" in
it? The final RPM wouldn't have any of that noise, such as .svn files.
Essentially we are making a snapshot of the "working" directory and then
using that to build the binaries from, just as we would if we did a make
install, and then we delete that tarball from the system.  I suppose if we
wanted to clean up the 'dist-clean' system so that it worked completely (it
leaves a lot of random junk around right now) we could have a 'rpm-clean'
that does a full clean and the 'dist-clean' that does rpm-clean and rm the
specfile.

9. Hrm.  Another blonde moment.  I can't think why I was moving those.  On
my system they are in /usr/sbin, I wonder if I moved them by hand and then
thought that is where they were supposed to be for some idiotic reason. 
Next patch will leave them in /sbin as they should be.

I'll try to get a new patch up friday that fixes 1, 2, 3, 6, 8 and 9 and
applies to 5 (svn patch).  7 shouldn't effect the build process for testing
while we figure out exactly how to do it properly and 4 will take some time
to completely sort out so it may or may not make it in by tomorrow.

Thanks for the feedback so far! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-11-07 18:40  cabal95        Note Added: 0071854                          
======================================================================




More information about the asterisk-bugs mailing list