Bug 191070 - Review Request: mcstrans
Summary: Review Request: mcstrans
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FC-ACCEPT
TreeView+ depends on / blocked
 
Reported: 2006-05-08 17:54 UTC by Daniel Walsh
Modified: 2013-01-10 01:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-16 21:52:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Walsh 2006-05-08 17:54:50 UTC
Spec URL: http://devserv.devel/~dwalsh/SELinux/mcstrans.spec
SRPM URL: http://devserv.devel/~dwalsh/SELinux/mcstrans-0.1.1-1.src.rpm
Description: mcstrans is a replacement for libsetrans.  Basically libselinux will not use a daemon for its translations instead of a shared library.  This will allow us to easily swap in and out different translation daemons.

Comment 1 Jesse Keating 2006-05-09 21:58:45 UTC
Bad:
- buildroot should be %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- Source url is 404: http://fedora.redhat.com/projects/mcstrans-0.1.1.tgz
- Build fails on both arches, probably a missing BuildRequires:

mcstransd.c:16:29: error: selinux/setrans.h: No such file or directory



Should be fixed:
- Mix of variables like $RPM_BUILD_ROOT and %{optflags}.  One method should be
consistant throughout

NEEDSWORK

Comment 2 Daniel Walsh 2006-05-09 23:27:22 UTC
Bad:
- buildroot should be %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} 
-n)
> Changed to this.
- Source url is 404: http://fedora.redhat.com/projects/mcstrans-0.1.1.tgz
> Not sure where this link should point.  We are upstream for this so but I am
not sure where we are supposed to put these tarballs.
- Build fails on both arches, probably a missing BuildRequires:

mcstransd.c:16:29: error: selinux/setrans.h: No such file or directory

> Fixed


Should be fixed:
- Mix of variables like $RPM_BUILD_ROOT and %{optflags}.  One method should be
consistant throughout

> Fixed

I updated the tarball and spec file on 
http://devserv.devel/~dwalsh/SELinux


Comment 3 Jesse Keating 2006-05-10 02:58:45 UTC
So it builds now, but rpmlint isn't completely happy.

- Obsoletes libsetrans, but doesn't provide it.  It should provide it for clean
upgrade
- Use of Prereq, this should actually be Requires(pre): followed by a
Requires(post): (sorry I didn't notice this first)

That should be it.  A couple more Warnings but they can be ignored:
W: mcstrans no-url-tag (already talked about, will get that later)
W: mcstrans service-default-enabled /etc/init.d/mcstransd (we want this enabled)
W: mcstrans incoherent-init-script-name mcstransd (um, whatever)



Comment 4 Daniel Walsh 2006-05-10 17:59:26 UTC
Updated again.

We need this in tonight, since libselinux requires it in rawhide now...


Comment 5 Jesse Keating 2006-05-11 02:35:05 UTC
Builds now, just the ignorable warnings.  Approving.  (and since you're asleep
probably, building it for rawhide.)

Comment 6 Jesse Keating 2006-05-16 21:52:08 UTC
Package was released to rawhide.


Note You need to log in before you can comment on or make changes to this bug.