Skip to content

OLPC School Server Packaging Release 0.2

November 24, 2012

In the release 0.2, I am going to try to fix all error and major warning that rpmlint reported in release 0.1.

To the permission errors like:

ds-backup-server.noarch: E: non-standard-dir-perm /var/lib/ds-backup/recentclients 0700L
A standard directory should have permission set to 0755. If you get this
message, it means that you have wrong directory permissions in some dirs
included in your package.

I change the permission 700 in spec file to 755 to fix these kind of complaint:

%attr(755, apache, apache) %dir %{_localstatedir}/lib/ds-backup/recentclients
%attr(755, nobody, nobody) %dir %{_localstatedir}/lib/ds-backup/completion

To the warning like:

xs-activity-server.noarch: W: incoherent-version-in-changelog 0.2 [‘0.3.5.g3b1d13b-2.fc17’, ‘0.3.5.g3b1d13b-2’]
The latest entry in %changelog contains a version identifier that is not
coherent with the epoch:version-release tuple of the package.

I change the log tag to:

%changelog
* Tue Nov 20 2012 Zhiping Yu <zyu26@myseneca.ca> 0.3.5.g3b1d13b-3

The change fixed the warning in rpmlint report.

Another complint from rpmlint is like:

xs-activity-server.src: W: invalid-url Source0: http://dev.laptop.org/~douglas/SOURCES/xs-activity-server-0.3.5.g3b1d13b.tar.bz2 HTTP Error 404: Not Found
The value should be a valid, public HTTP, HTTPS, or FTP URL.

Because the tarballs are not exist in the source url, as a temporary resolution, I upload the bz2 files form ~/rpmbuild/SOURCE directory to my website. After the successful build, maybe someone can upload the original tarballs to the source url.

The review processes are cumbersome, I find that using fedora-review tool can help me a little. After install fedora-review, type like:

/usr/bin/fedora-review -r –name ds-backup-0.11.5.g53d1d6-3.fc17.src.rpm

Such, I got a review report. However, I still need check a banch of items manually base on my experience.

Release 0.2 link:

xs-activity-server-0.3.5.g3b1d13b-3
xs-rsync-0.6.12.gabc8f49-3
ds-backup-0.11.5.g536d1d6-3

SPEC file link:

xs-activity-server.spec
xs-rsync.spec
ds-backup.spec

Review report:

xs-activity-server
xs-rsync
ds-backup

Red Hat Bugzilla Review Link:

xs-activity-server
ds-backup
xs-rsync — Closed due to duplicate requirement

From → Uncategorized

Leave a Comment

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