[ATrpms-devel] Asterisk RPMs and AT macros
Kenneth Porter
shiva at sewingwitch.com
Tue Nov 15 18:07:14 CET 2005
I'm attempting to repackage asterisk and its dependencies on FC2 from the
atrpms SRPM's. Digging through the list archives I found the kmdl macros
posted to the list last in April, and that and the following block allowed
me to build the zaptel RPM. I'm hitting a snag with the libpri and snapdsp
packages. They're looking for %eversion. What's the definition for that?
How is it different from %version?
In the asterisk spec file the BuildRequires for zaptel should be >=, not =.
Here's the additional macros I've needed so far:
# ATRPMS macros
%_sysconfigdir %{_sysconfdir}/sysconfig
%distversion %(rpm -qf --qf='%{VERSION}' /etc/redhat-release)
%distinitials rh%(grep -i fedora /etc/redhat-release >/dev/null && echo
"fc")
%disttag %{distinitials}%{distversion}
%atrelease() %1.%{disttag}.at
%disttag3 fc2
More information about the atrpms-devel
mailing list