Bug 745123 - Review request: cryptsetup
Summary: Review request: cryptsetup
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-11 13:07 UTC by Milan Broz
Modified: 2013-03-01 04:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-03 19:56:32 UTC
Type: ---
Embargoed:
mmaslano: fedora-review+


Attachments (Terms of Use)

Description Milan Broz 2011-10-11 13:07:47 UTC
Rename project from cryptsetup-luks to cryptsetup (according to upstream name).

Spec URL: http://mbroz.fedorapeople.org/review/cryptsetup.spec
SRPM URL: http://mbroz.fedorapeople.org/review/cryptsetup-1.4.0-0.1.fc17.src.rpm

Diff to last cryptsetup-luks.spec: http://mbroz.fedorapeople.org/review/spec.diff

# rpmlint cryptsetup.spec 
cryptsetup.spec: W: invalid-url Source0: http://cryptsetup.googlecode.com/files/cryptsetup-1.4.0-rc1.tar.bz2 HTTP Error 404: Not Found
0 packages and 1 specfiles checked; 0 errors, 1 warnings.

(known bug, file is there)

# rpmlint cryptsetup-1.4.0-0.1.fc17.src.rpm 
cryptsetup.src: W: spelling-error %description -l en_US dm -> d, m, dim
cryptsetup.src: W: invalid-url Source0: http://cryptsetup.googlecode.com/files/cryptsetup-1.4.0-rc1.tar.bz2 HTTP Error 404: Not Found
1 packages and 0 specfiles checked; 0 errors, 2 warnings.

# rpmlint cryptsetup*.rpm
cryptsetup.x86_64: W: spelling-error %description -l en_US dm -> d, m, dim
cryptsetup.x86_64: E: incorrect-fsf-address /usr/share/doc/cryptsetup-1.4.0/COPYING
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/libdevmapper.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/utils_wipe.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/random.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/utils_debug.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/utils_devpath.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/luks1/af.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/utils.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/crypt_plain.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/setup.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/utils_crypt.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/crypto_backend/crypto_gcrypt.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/loopaes/loopaes.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/luks1/keymanage.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/luks1/keyencryption.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/volumekey.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/src/cryptsetup.c
cryptsetup-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/cryptsetup-1.4.0-rc1/lib/utils_loop.c
cryptsetup-libs.x86_64: W: spelling-error %description -l en_US libcryptsetup -> cryptically
cryptsetup-libs.x86_64: E: incorrect-fsf-address /usr/share/doc/cryptsetup-libs-1.4.0/COPYING
4 packages and 0 specfiles checked; 19 errors, 2 warnings.

(Ignoring fsf address, I cannot change upstream license every time they move to new office! Other are false positives.)

Comment 1 Marcela Mašláňová 2011-10-12 11:00:20 UTC
- rpmlint OK
- package must be named according to Guidelines OK
- spec file name must match the base package %{name} OK
- package must meet the Packaging Guidelines OK
- package must be licensed with Fedora approved license OK
- license field must match actual license OK
- text of the license in its own file must be included in %doc OK
- sources must match the upstream source OK
- package MUST successfully compile and build OK
 http://koji.fedoraproject.org/koji/taskinfo?taskID=3425127
- architecture listed in ExcludeArch MUST have a bug filed in bugzilla OK
- build dependencies must be listed in BuildRequires OK
- handle locales properly with %find_lang macro OK
- shared library files must call ldconfig in %post(un) OK
- packages must NOT bundle system libraries OK
- package must own all directories that it creates OK
- permissions on files must be set properly OK
- package must consistently use macros OK
- package must contain code, or permissable content OK
- large documentation must go in a -doc OK
- %doc must not affect the runtime of the application OK
- header files must be in a -devel package OK
- static libraries must be in a -static package OK
- library files that end in .so (without suffix) must go in a -devel OK
- devel package usually require base package OK
- packages must NOT contain any .la libtool archives OK
- GUI applications must include a %{name}.desktop file OK
- packages must not own files or directories already owned by other packages OK

I have few proposals, but nothing is blocking the review.

Release: 0.1 is unusual, but you are upstream, so probably aware of it.

Rpmlint:
rpmlint lies, I can download your source tarball. The fsf address should be changed according to guidelines. You should create ticket for upstream (you) and fix it in some future release of upstream package.

These lines are not needed since F-14, but they are still needed in RHEL-5 and older:
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
clean section
%defattr(-,root,root,-)
rm -rf $RPM_BUILD_ROOT in install section

APPROVED

Comment 2 Milan Broz 2011-10-12 11:09:30 UTC
(In reply to comment #1)
> Release: 0.1 is unusual, but you are upstream, so probably aware of it.

0.1 means rc1, 1.4.0-1 will be stable release (logic stolen from util-linux:-), this ensures that first stable release will override release candidates.

> Rpmlint:
> rpmlint lies, I can download your source tarball. The fsf address should be
> changed according to guidelines. You should create ticket for upstream (you)
> and fix it in some future release of upstream package.

NACK. this is nonsense, sorry.

> These lines are not needed since F-14, but they are still needed in RHEL-5 and
> older:
> BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
> clean section
> %defattr(-,root,root,-)
> rm -rf $RPM_BUILD_ROOT in install section

ok, I'll remove them.


Thanks!

Comment 3 Milan Broz 2011-10-12 12:50:57 UTC
New Package SCM Request
=======================
Package Name: cryptsetup
Short Description: A utility for setting up encrypted file systems
Owners: mbroz
Branches:
InitialCC:

[rename cryptsetup-luks to cryptsetup]

Comment 4 Gwyn Ciesla 2011-10-12 13:19:19 UTC
Git done (by process-git-requests).

Comment 5 Milan Broz 2011-10-13 13:53:56 UTC
Package Change Request
======================
Package Name: cryptsetup
Short description: A utility for setting up encrypted disks
Owners: mbroz

[Please can you change short description for package to "* encrypted disks" (filesystems is misleading). Sorry, I missed this problem in initial import - but it should be correct for the future (file system encryption is ecryptfs, so better not to confuse users.) Spec is already fixed in git.]

Comment 6 Gwyn Ciesla 2011-10-13 14:23:07 UTC
Change made.


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