*-BASH-4.0.35$ rpmlint /root/rpmbuild/RPMS/i686/clish-0.7.3-1.fc13.i686.rpm clish.i686: W: spelling-error %description -l en_US Arbitary -> Arbitrary, Arbitrarily, Arbitrager clish.i686: W: incoherent-version-in-changelog 0.7.3-1.2 ['0.7.3-1.fc13', '0.7.3-1'] clish.i686: W: shared-lib-calls-exit /usr/lib/libclish.so.0.0.0 exit@GLIBC_2.0 clish.i686: W: shared-lib-calls-exit /usr/lib/liblub.so.0.0.0 exit@GLIBC_2.0 1 packages and 0 specfiles checked; 0 errors, 4 warnings.
as u can see the mentioned error logs. "shared-lib-call-exit " how can i fix it?
Your help will be appreciated. *
1. 说你在 %description 里面有个单词打错了,不过如果你确认你这个单词没有错,你可以忽略它。rpmlint 的词库的确比较小。
2. %changlog 里面说你的版本号错了,你应该用 0.7.3-1。如果你更改了,最好把 release 里加 1,即是 0.7.3-2。
3 和 4 最后的那两个应该是和源代码有关系,可能需要 patch,这个看不懂。
rpmlint 里面的解释是这样的。
shared-lib-calls-exit: This library package calls exit() or _exit(), probably in a non-fork() context. Doing so from a library is strongly discouraged - when a library function calls exit(), it prevents the calling program from handling the error, reporting it to the user, closing files properly, and cleaning up any state that the program has. It is preferred for the library to return an actual error code and let the calling program decide how to handle the situation.
On Mon, Apr 26, 2010 at 8:07 PM, Devil Wang wxjeacen@gmail.com wrote:
*-BASH-4.0.35$ rpmlint /root/rpmbuild/RPMS/i686/clish-0.7.3-1.fc13.i686.rpm clish.i686: W: spelling-error %description -l en_US Arbitary -> Arbitrary, Arbitrarily, Arbitrager clish.i686: W: incoherent-version-in-changelog 0.7.3-1.2 ['0.7.3-1.fc13', '0.7.3-1'] clish.i686: W: shared-lib-calls-exit /usr/lib/libclish.so.0.0.0 exit@GLIBC_2.0 clish.i686: W: shared-lib-calls-exit /usr/lib/liblub.so.0.0.0 exit@GLIBC_2.0 1 packages and 0 specfiles checked; 0 errors, 4 warnings.
as u can see the mentioned error logs. "shared-lib-call-exit " how can i fix it?
Your help will be appreciated.
-- Thanks & Regards
Linux Developer : Devil Wang _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
* * On Mon, Apr 26, 2010 at 8:19 PM, Liang Suilong liangsuilong@gmail.comwrote:
说你在 %description 里面有个单词打错了,不过如果你确认你这个单词没有错,你可以忽略它。rpmlint 的词库的确比较小。
%changlog 里面说你的版本号错了,你应该用 0.7.3-1。如果你更改了,最好把 release 里加 1,即是 0.7.3-2。
%changelog * Mon Apr 26 2010 Devil Wang wxjeacen@gmail.com 0.7.3-1.2 - Modify SPEC for integrating deve files * Fri Apr 16 2010 Devil Wang wxjeacen@gmail.com 0.7.3-1.1 - Initial Build for clish
My SPEC file was written as u mentioned, just add 1 as to 2.
3 和 4 最后的那两个应该是和源代码有关系,可能需要 patch,这个看不懂。
I do think there is no need to add patch for this package.
rpmlint 里面的解释是这样的。
shared-lib-calls-exit: This library package calls exit() or _exit(), probably in a non-fork() context. Doing so from a library is strongly discouraged - when a library function calls exit(), it prevents the calling program from handling the error, reporting it to the user, closing files properly, and cleaning up any state that the program has. It is preferred for the library to return an actual error code and let the calling program decide how to handle the situation.
On Mon, Apr 26, 2010 at 8:07 PM, Devil Wang wxjeacen@gmail.com wrote:
*-BASH-4.0.35$ rpmlint
/root/rpmbuild/RPMS/i686/clish-0.7.3-1.fc13.i686.rpm
clish.i686: W: spelling-error %description -l en_US Arbitary ->
Arbitrary,
Arbitrarily, Arbitrager clish.i686: W: incoherent-version-in-changelog 0.7.3-1.2 ['0.7.3-1.fc13', '0.7.3-1'] clish.i686: W: shared-lib-calls-exit /usr/lib/libclish.so.0.0.0 exit@GLIBC_2.0 clish.i686: W: shared-lib-calls-exit /usr/lib/liblub.so.0.0.0 exit@GLIBC_2.0 1 packages and 0 specfiles checked; 0 errors, 4 warnings.
as u can see the mentioned error logs. "shared-lib-call-exit " how can i fix it?
Your help will be appreciated.
-- Thanks & Regards
Linux Developer : Devil Wang _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
-- Fedora && Debian User, former Ubuntu User My Page: http://www.liangsuilong.info Fedora Project Contributor -- Packager && Ambassador https://fedoraproject.org/wiki/User:Liangsuilong _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
第一个应该用 0.7.3-1,第二个应该是 0.7.3-2。
同样上面的 Version 应该是 0.7.3,Release 应该改成 2%{?dist}
On Mon, Apr 26, 2010 at 8:23 PM, Devil Wang wxjeacen@gmail.com wrote:
On Mon, Apr 26, 2010 at 8:19 PM, Liang Suilong <liangsuilong@gmail.com
wrote:
说你在 %description 里面有个单词打错了,不过如果你确认你这个单词没有错,你可以忽略它。rpmlint 的词库的确比较小。
%changlog 里面说你的版本号错了,你应该用 0.7.3-1。如果你更改了,最好把 release 里加 1,即是 0.7.3-2。
%changelog
- Mon Apr 26 2010 Devil Wang wxjeacen@gmail.com 0.7.3-1.2
- Modify SPEC for integrating deve files
- Fri Apr 16 2010 Devil Wang wxjeacen@gmail.com 0.7.3-1.1
- Initial Build for clish
My SPEC file was written as u mentioned, just add 1 as to 2.
3 和 4 最后的那两个应该是和源代码有关系,可能需要 patch,这个看不懂。
I do think there is no need to add patch for this package.
rpmlint 里面的解释是这样的。
shared-lib-calls-exit: This library package calls exit() or _exit(), probably in a non-fork() context. Doing so from a library is strongly discouraged - when a library function calls exit(), it prevents the calling program from handling the error, reporting it to the user, closing files properly, and cleaning up any state that the program has. It is preferred for the library to return an actual error code and let the calling program decide how to handle the situation.
On Mon, Apr 26, 2010 at 8:07 PM, Devil Wang wxjeacen@gmail.com wrote:
*-BASH-4.0.35$ rpmlint
/root/rpmbuild/RPMS/i686/clish-0.7.3-1.fc13.i686.rpm
clish.i686: W: spelling-error %description -l en_US Arbitary ->
Arbitrary,
Arbitrarily, Arbitrager clish.i686: W: incoherent-version-in-changelog 0.7.3-1.2
['0.7.3-1.fc13',
'0.7.3-1'] clish.i686: W: shared-lib-calls-exit /usr/lib/libclish.so.0.0.0 exit@GLIBC_2.0 clish.i686: W: shared-lib-calls-exit /usr/lib/liblub.so.0.0.0 exit@GLIBC_2.0 1 packages and 0 specfiles checked; 0 errors, 4 warnings.
as u can see the mentioned error logs. "shared-lib-call-exit " how can i fix it?
Your help will be appreciated.
-- Thanks & Regards
Linux Developer : Devil Wang _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
-- Fedora && Debian User, former Ubuntu User My Page: http://www.liangsuilong.info Fedora Project Contributor -- Packager && Ambassador https://fedoraproject.org/wiki/User:Liangsuilong _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
-- Thanks & Regards
Linux Developer : Devil Wang _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
On Mon, Apr 26, 2010 at 8:23 PM, Devil Wang wxjeacen@gmail.com wrote:
%changelog
- Mon Apr 26 2010 Devil Wang wxjeacen@gmail.com 0.7.3-1.2
- Modify SPEC for integrating deve files
- Fri Apr 16 2010 Devil Wang wxjeacen@gmail.com 0.7.3-1.1
- Initial Build for clish
My SPEC file was written as u mentioned, just add 1 as to 2.
空行呢?* 開頭的行之前應該是空行
還有 patch 當然是 packager 的責任啦。。
* * On Mon, Apr 26, 2010 at 8:57 PM, Yuan Yijun bbbush.yuan@gmail.com wrote:
On Mon, Apr 26, 2010 at 8:23 PM, Devil Wang wxjeacen@gmail.com wrote:
%changelog
- Mon Apr 26 2010 Devil Wang wxjeacen@gmail.com 0.7.3-1.2
- Modify SPEC for integrating deve files
- Fri Apr 16 2010 Devil Wang wxjeacen@gmail.com 0.7.3-1.1
- Initial Build for clish
My SPEC file was written as u mentioned, just add 1 as to 2.
空行呢?* ��的行之前��是空行
�有 patch �然是 packager 的�任啦。。
这个package我并没有发现有bug.
主要是我们公司有一个模块是用到这个opensource,所以我对这个还是比较熟悉的。
-- bbbush ^_^ _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
la和a文件要去掉。。。lib和程序要分开几个包,lib是要考虑multilib的,你的spec还是有些问题, description也太不详细。 sponsor一看这样的包就知道你guideline没看过
在2010-04-26 20:07:33,"Devil Wang" wxjeacen@gmail.com 写道:
*-BASH-4.0.35$ rpmlint /root/rpmbuild/RPMS/i686/clish-0.7.3-1.fc13.i686.rpm clish.i686: W: spelling-error %description -l en_US Arbitary -> Arbitrary, Arbitrarily, Arbitrager clish.i686: W: incoherent-version-in-changelog 0.7.3-1.2 ['0.7.3-1.fc13', '0.7.3-1'] clish.i686: W: shared-lib-calls-exit /usr/lib/libclish.so.0.0.0 exit@GLIBC_2.0 clish.i686: W: shared-lib-calls-exit /usr/lib/liblub.so.0.0.0 exit@GLIBC_2.0 1 packages and 0 specfiles checked; 0 errors, 4 warnings.
as u can see the mentioned error logs. "shared-lib-call-exit " how can i fix it?
Your help will be appreciated.
-- Thanks & Regards
Linux Developer : Devil Wang _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
* * On Mon, Apr 26, 2010 at 8:49 PM, Chen Lei supercyper@163.com wrote:
la和a文件要去掉。。。lib和程序要分开几个包,lib是要考虑multilib的,你的spec还是有些问题,
%exclude %{_libdir}/*.a %{_includedir}/clish/*.h %{_includedir}/lub/*.h %{_includedir}/tinyrl/*.h %{_includedir}/tinyxml/*.h %{_sysconfdir}/clish/*.xml %exclude %{_libdir}/*.la
请看仔细我的SPEC 文件, %exclude keywork
description也太不详细。 sponsor一看这样的包就知道你guideline没看过
description我已经开始写了,在我本地的SEPC文件我已经加进去了。
在2010-04-26 20:07:33,"Devil Wang" wxjeacen@gmail.com 写道:
*-BASH-4.0.35$ rpmlint
/root/rpmbuild/RPMS/i686/clish-0.7.3-1.fc13.i686.rpm
clish.i686: W: spelling-error %description -l en_US Arbitary -> Arbitrary, Arbitrarily, Arbitrager clish.i686: W: incoherent-version-in-changelog 0.7.3-1.2 ['0.7.3-1.fc13', '0.7.3-1'] clish.i686: W: shared-lib-calls-exit /usr/lib/libclish.so.0.0.0 exit@GLIBC_2.0 clish.i686: W: shared-lib-calls-exit /usr/lib/liblub.so.0.0.0
exit@GLIBC_2.0
1 packages and 0 specfiles checked; 0 errors, 4 warnings.
as u can see the mentioned error logs. "shared-lib-call-exit " how can i fix it?
Your help will be appreciated.
-- Thanks & Regards
Linux Developer : Devil Wang _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
chinese@lists.fedoraproject.org