Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: http://timeoff.wsisiz.edu.pl/zrzut/fuse-smb.spec SRPM URL: http://timeoff.wsisiz.edu.pl/zrzut/fuse-smb-0.8.5-2.src.rpm Description: With SMB for Fuse you can seamlessly browse your network neighbourhood as were it on your own filesystem. It's basically smbmount with a twist. Instead of mounting one Samba share at a time, you mount all workgroups, hosts and shares at once. Only when you're accessing a share a connection is made to the remote computer.
I'll review it.
REVIEW contains only a checklist, have a look at THINGS to do to find out what you need to do. REVIEW: * dist tag present, * package is licensed under GPL license, * license text included in %doc, * rpmlint is quiet, * sources match upstream (8b9268826b544ad124e016ced17d5310), * latest version is being packaged, !* BRs aren't proper, package fails to build in mock! !* provides and requires (some things needs to be fixed): fuse-smb-0.8.5-2.fc7.src.rpm =PROVIDES:= (none)=REQUIRES:= fuse-devel >= 2.3 samba-client fuse-smb-0.8.5-2.fc7.x86_64.rpm =PROVIDES:= fuse-smb = 0.8.5-2.fc7 =REQUIRES:= fuse >= 2.3 fuse-libs >= 2.3 libfuse.so.2()(64bit) libfuse.so.2(FUSE_2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libsmbclient.so.0()(64bit) samba-common >= 3.0 * package isn't designed to be relocatable, * package doesn't create any directories and it doesn't own any directory it shouldn't, * %clean section is present and looks good * build root good * no duplicates in %files * all files have appropriate permissions * no scriptlets required * no need to any subpackages * no .la files * not a gui application THINGS to do: * add samba-client BR to get rid of mock errors. * you're using versioned dependecies unnecesarily. Also, some of them have to be removed completely. Have a look at fuse-smb-0.8.5-2.fc7.x86_64.rpm requires list. It requires libfuse.so.2 which is owned by fuse-libs and libsmbclient.so.0 owned by samba- common. It means you don't need samba-common and fuse-libs dependencies. Also, you can smoothly get rid of fuse dependency. You don't need versioned dependency for fuse-devel as well.
> %build > CFLAGS="%{optflags}" %configure Setting CFLAGS here is superfluous. The %configure macro sets CFLAGS/CXXFLAGS/FFLAGS already. Check out: rpm --eval %configure
(In reply to comment #2) (...) > * you're using versioned dependecies unnecesarily. Also, some of them have to > be removed completely. > Have a look at fuse-smb-0.8.5-2.fc7.x86_64.rpm requires list. It requires > libfuse.so.2 which is owned by fuse-libs and libsmbclient.so.0 owned by samba- > common. It means you don't need samba-common and fuse-libs dependencies. Also, > you can smoothly get rid of fuse dependency. You don't need versioned > dependency for fuse-devel as well. At first I agree with you that few of them can smoothly removed, but let me explain one thing. The main reason why I use (sometimes redundant) full packages name is the fact that those packages are also (till now only) avilable as a separate packages from my website. When I download some stand-alone package and try to install it it's much more readable to see "fuse-lib > 2.3 is required by ..." than "libfuse.so.2()(64bit) is required by ...". In the first option I know what should I install, in the second I have to find it out first [1]. [1] - I know that novadays (in FC4+ out-of-box?) it's possible to use yum to resolve dependencies and install required packages. The only problem I see is the situation when package was renamed in a newer version, but SPEC file should be then updated. Do you really think that using full package names in the Requirement section instead of letting RPM do it, can cause some problems or is an out-of-date habit? (In reply to comment #3) > Setting CFLAGS here is superfluous True.
(In reply to comment #4) > Do you really think that using full package names in the Requirement section > instead of letting RPM do it, can cause some problems or is an out-of-date habit? > Packaging Guidelines says about it as a "reinventhing the wheel". In fact it does look like that. If RPM can find all dependencies well, we don't need to help it. Especially, if package's dependencies aim to be automatically resolved by yum. According to guidelines I shouldn't approve package until you get rid of that superfluous dependencies.
(In reply to comment #5) > Packaging Guidelines says about it as a "reinventhing the wheel". In fact > it does look like that. If RPM can find all dependencies well, we don't need > to help it. Especially, if package's dependencies aim to be automatically > resolved by yum. OK, I fixed that and OPTFLAGS too. I kept version of fuse-devel because it's a minimal required version and it's the only place when can I point it (for build). http://timeoff.wsisiz.edu.pl/zrzut/fuse-smb.spec http://timeoff.wsisiz.edu.pl/zrzut/fuse-smb-0.8.5-3.src.rpm
Sorry that you had to wait. Rpmlint now shows: W: fuse-smb mixed-use-of-spaces-and-tabs (spaces: line 16, tab: line 1) but it's not a blocker. However, I'll make it FE-ACCEPTed once you put isomaster into repo. But it's now APPORVED in any case.
Since you are now sponsored, I can approve this package.
It took some time to get additional branches, but fuse-smb is now available in FC-5, FC-6 and a rawhide. Thanks for your help.