[Serdev] update of RPM spec file
Pavel Kasparek
pavel at iptel.org
Mon Jan 29 14:55:39 UTC 2007
Alfred E. Heggestad wrote:
> Hi Greger
>
> I can add this to the tracker, but it seems that it is down at the moment..
It is up again now.
Pavel
>
>
> /alfred
>
> Greger V. Teigre wrote:
>> Did this patch go in the tracker and is it already applied to head? I
>> haven't seen anything more on this??
>> We don't really have a source target like that, the closest is:
>> ftp://ftp.iptel.org/pub/ser/daily-snapshots/unstable/
>>
>> Also, there are some other modules missing, like the radius ones. For
>> debian, these are packaged separately, but I believe there is only one
>> specs file?
>> g-)
>>
>> Alfred E. Heggestad wrote:
>>> hi
>>>
>>> I am trying to build an RPM package from the current spec file in CVS,
>>> it seems that the spec file is a bit out of date.. I noted some issues:
>>>
>>>
>>> * The version tag does not allow any dash ('-') in the version number.
>>> To get around this I put the "-dev64" in the release tag instead:
>>>
>>> %define ver 0.10.99
>>> %define rel dev64
>>>
>>> and updated Source tag:
>>>
>>> Source:
>>> http://iptel.org/ser/stable/%{name}-%{ver}-%{rel}_src.tar.gz
>>>
>>> it seems to work, any other preferred way of doing this?
>>>
>>>
>>> * The list of files is out of sync with the codebase, at the end of the
>>> RPM build process I get:
>>>
>>>
>>> RPM build errors:
>>> File not found:
>>> /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.acc
>>> File not found:
>>> /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.auth_diameter
>>> File not found:
>>> /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.ext
>>> File not found:
>>> /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.group
>>> File not found:
>>> /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.mangler
>>> File not found:
>>> /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.pa
>>> File not found:
>>> /var/tmp/ser-0.10.99-root/usr/share/doc/ser/README.vm
>>> File not found: /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/acc.so
>>> File not found:
>>> /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/auth_diameter.so
>>> File not found: /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/ext.so
>>> File not found:
>>> /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/group.so
>>> File not found:
>>> /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/mangler.so
>>> File not found: /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/pa.so
>>> File not found: /var/tmp/ser-0.10.99-root/usr/lib/ser/modules/vm.so
>>>
>>>
>>>
>>> attached is a suggested patch updating the RPM spec file. the spec file
>>> probably needs more updating wrt other modules like PA etc.
>>>
>>>
>>> should I create a bug in the tracker for this ?
>>>
>>>
>>>
>>> /alfred
>>> ------------------------------------------------------------------------
>>>
>>> ? ser-0.10.99-dev64_src.tar.gz
>>> ? tmp
>>> Index: pkg/rpm/ser.spec-4.1
>>> ===================================================================
>>> RCS file: /cvsroot/ser/sip_router/pkg/rpm/ser.spec-4.1,v
>>> retrieving revision 1.1
>>> diff -u -1 -r1.1 ser.spec-4.1
>>> --- pkg/rpm/ser.spec-4.1 20 Jul 2006 14:17:14 -0000 1.1
>>> +++ pkg/rpm/ser.spec-4.1 16 Jan 2007 12:16:32 -0000
>>> @@ -1,4 +1,4 @@
>>> %define name ser
>>> -%define ver 0.8.14
>>> -%define rel 0
>>> +%define ver 0.10.99
>>> +%define rel dev64
>>>
>>> @@ -17,3 +17,3 @@
>>> Group: System Environment/Daemons
>>> -Source: http://iptel.org/ser/stable/%{name}-%{ver}_src.tar.gz
>>> +Source:
>>> http://iptel.org/ser/stable/%{name}-%{ver}-%{rel}_src.tar.gz
>>> Source2: ser.init
>>> @@ -68,3 +68,3 @@
>>> %prep
>>> -%setup
>>> +%setup -n %{name}-%{ver}-%{rel}
>>>
>>> @@ -139,7 +139,11 @@
>>> %doc %{_docdir}/ser/README-MODULES
>>> -%doc %{_docdir}/ser/README.acc
>>> %doc %{_docdir}/ser/README.auth
>>> %doc %{_docdir}/ser/README.auth_db
>>> -%doc %{_docdir}/ser/README.auth_diameter
>>> +%doc %{_docdir}/ser/README.avp
>>> +%doc %{_docdir}/ser/README.avp_db
>>> +%doc %{_docdir}/ser/README.avpops
>>> %doc %{_docdir}/ser/README.dbtext
>>> +%doc %{_docdir}/ser/README.db_ops
>>> +%doc %{_docdir}/ser/README.dispatcher
>>> +%doc %{_docdir}/ser/README.diversion
>>> %doc %{_docdir}/ser/README.domain
>>> @@ -147,5 +151,3 @@
>>> %doc %{_docdir}/ser/README.exec
>>> -%doc %{_docdir}/ser/README.ext
>>> -%doc %{_docdir}/ser/README.group
>>> -%doc %{_docdir}/ser/README.mangler
>>> +%doc %{_docdir}/ser/README.lcr
>>> %doc %{_docdir}/ser/README.maxfwd
>>> @@ -153,3 +155,3 @@
>>> %doc %{_docdir}/ser/README.nathelper
>>> -%doc %{_docdir}/ser/README.pa
>>> +%doc %{_docdir}/ser/README.options
>>> %doc %{_docdir}/ser/README.pdt
>>> @@ -158,2 +160,3 @@
>>> %doc %{_docdir}/ser/README.print
>>> +%doc %{_docdir}/ser/README.ratelimit
>>> %doc %{_docdir}/ser/README.registrar
>>> @@ -162,7 +165,10 @@
>>> %doc %{_docdir}/ser/README.sms
>>> +%doc %{_docdir}/ser/README.speeddial
>>> %doc %{_docdir}/ser/README.textops
>>> +%doc %{_docdir}/ser/README.timer
>>> %doc %{_docdir}/ser/README.tm
>>> +%doc %{_docdir}/ser/README.uac
>>> %doc %{_docdir}/ser/README.uri
>>> +%doc %{_docdir}/ser/README.uri_db
>>> %doc %{_docdir}/ser/README.usrloc
>>> -%doc %{_docdir}/ser/README.vm
>>> %doc %{_docdir}/ser/README.xlog
>>> @@ -175,7 +181,14 @@
>>> %dir %{_libdir}/ser/modules
>>> -%{_libdir}/ser/modules/acc.so
>>> +%{_libdir}/ser/modules/acc_db.so
>>> +%{_libdir}/ser/modules/acc_syslog.so
>>> %{_libdir}/ser/modules/auth.so
>>> %{_libdir}/ser/modules/auth_db.so
>>> -%{_libdir}/ser/modules/auth_diameter.so
>>> +%{_libdir}/ser/modules/avp.so
>>> +%{_libdir}/ser/modules/avpops.so
>>> +%{_libdir}/ser/modules/avp_db.so
>>> +%{_libdir}/ser/modules/ctl.so
>>> +%{_libdir}/ser/modules/db_ops.so
>>> %{_libdir}/ser/modules/dbtext.so
>>> +%{_libdir}/ser/modules/dispatcher.so
>>> +%{_libdir}/ser/modules/diversion.so
>>> %{_libdir}/ser/modules/domain.so
>>> @@ -183,5 +196,6 @@
>>> %{_libdir}/ser/modules/exec.so
>>> -%{_libdir}/ser/modules/ext.so
>>> -%{_libdir}/ser/modules/group.so
>>> -%{_libdir}/ser/modules/mangler.so
>>> +%{_libdir}/ser/modules/fifo.so
>>> +%{_libdir}/ser/modules/flatstore.so
>>> +%{_libdir}/ser/modules/gflags.so
>>> +%{_libdir}/ser/modules/lcr.so
>>> %{_libdir}/ser/modules/maxfwd.so
>>> @@ -190,3 +204,3 @@
>>> %{_libdir}/ser/modules/nathelper.so
>>> -%{_libdir}/ser/modules/pa.so
>>> +%{_libdir}/ser/modules/options.so
>>> %{_libdir}/ser/modules/pdt.so
>>> @@ -195,11 +209,16 @@
>>> %{_libdir}/ser/modules/print.so
>>> +%{_libdir}/ser/modules/ratelimit.so
>>> %{_libdir}/ser/modules/registrar.so
>>> %{_libdir}/ser/modules/rr.so
>>> +%{_libdir}/ser/modules/sanity.so
>>> %{_libdir}/ser/modules/sl.so
>>> %{_libdir}/ser/modules/sms.so
>>> +%{_libdir}/ser/modules/speeddial.so
>>> %{_libdir}/ser/modules/textops.so
>>> +%{_libdir}/ser/modules/timer.so
>>> %{_libdir}/ser/modules/tm.so
>>> +%{_libdir}/ser/modules/uac.so
>>> %{_libdir}/ser/modules/uri.so
>>> +%{_libdir}/ser/modules/uri_db.so
>>> %{_libdir}/ser/modules/usrloc.so
>>> -%{_libdir}/ser/modules/vm.so
>>> %{_libdir}/ser/modules/xlog.so
>>> @@ -208,2 +227,4 @@
>>> %{_sbindir}/serctl
>>> +%{_sbindir}/sercmd
>>> +%{_sbindir}/serunix
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Serdev mailing list
>>> Serdev at lists.iptel.org
>>> http://lists.iptel.org/mailman/listinfo/serdev
>>>
>
>
> _______________________________________________
> Serdev mailing list
> Serdev at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serdev
--
Pavel Kasparek
email: pavel at iptel.org
Tekelec Czech Republic s.r.o.
More information about the Serdev
mailing list