RPM-Writing Lab 2

31 Jan

[root@fedora RPMS]# rpmlint x86_64
ocrad-debuginfo.x86_64: E: no-changelogname-tag
ocrad-debuginfo.x86_64: W: invalid-license free
ocrad-debuginfo.x86_64: E: debuginfo-without-sources
ocrad.x86_64: W: summary-not-capitalized C test
ocrad.x86_64: E: no-description-tag
ocrad.x86_64: E: no-changelogname-tag
ocrad.x86_64: W: invalid-license free
ocrad.x86_64: W: devel-file-in-non-devel-package /usr/include/ocradlib.h
ocrad.x86_64: E: info-files-without-install-info-postin /usr/share/info/ocrad.info.gz
ocrad.x86_64: E: info-files-without-install-info-postun /usr/share/info/ocrad.info.gz
ocrad.x86_64: E: info-dir-file /usr/share/info/dir
ocrad.x86_64: E: info-files-without-install-info-postin /usr/share/info/dir
ocrad.x86_64: E: info-files-without-install-info-postun /usr/share/info/dir
ocrad.x86_64: W: devel-file-in-non-devel-package /usr/libexec/libocrad.a
2 packages and 0 specfiles checked; 9 errors, 5 warnings

There is no %changelog tag in your spec file. To insert it, just insert a
‘%changelog’ in your spec file and rebuild it
%changelog
*Jan 26 renew

 /usr/bin/ocrad
   /usr/include/ocradlib.h
   /usr/libexec/libocrad.a
   /usr/share/info/dir
   /usr/share/info/ocrad.info.gz
   /usr/share/man/man1/ocrad.1.gz

 

[root@fedora SPECS]# rpmlint ocrad.spec
ocrad.spec: W: invalid-url Source0: ocrad-0.20.tar.gz
0 packages and 1 specfiles checked; 0 errors, 1 warnings.

[root@fedora rpmbuild]# rpmlint -i ocrad-0.20-10.fc16.src.rpm
(none): E: no installed packages by name ocrad-0.20-10.fc16.src.rpm
0 packages and 0 specfiles checked; 0 errors, 0 warnings.

[root@fedora rpmbuild]# rpmlint x86_64
(none): E: no installed packages by name x86_64
0 packages and 0 specfiles checked; 0 errors, 0 warnings

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: