Hi Marc, even if the name of the spec is misleading, it will build the 4.4 (the code you downloaded)....so, have you tried without changing the script itself?
Regards, Bogdan Marc Leurent wrote: > Hello everybody, > I had to migrate from debian to centOS and I would like to build rpm packages > of opensips on a CentOS dev server. > I have retrieved the opensips.spec-4.1 file from the packaging folder in > opensips source code and I'm trying to adapt it to opensips-4.4. > I would be very grateful if someone that have already done that could help > me... > > Best Regards, > > When compiling, I have some path error I'm trying to fix. > > rpmbuild -bb opensips.spec-4.4 > .... > .... > .... > RPM build errors: > File not found: /var/tmp/opensips-1.4.4-root/usr/sbin/opensips/opensipsctl > File not > found: /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.mysql > File not > found: /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/mysql.so > File not found: /var/tmp/opensips-1.4.4-root/usr/sbin/opensips_mysql.sh > File not > found: /var/tmp/opensips-1.4.4-root/usr/lib/opensipsctl/opensipsctl.mysql > File not > found: /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.postgres > File not > found: /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/postgres.so > File not found: /var/tmp/opensips-1.4.4-root/usr/sbin/opensips_postgres.sh > File not > found: /var/tmp/opensips-1.4.4-root/usr/lib/opensipsctl/opensipsctl.pgsql > File not > found: /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.unixodbc > File not > found: /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/unixodbc.so > File not > found: /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.pa > File not > found: /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/pa.so > > > > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
