Bug 1259543 (cachedir)

Summary: Review Request: cachedir - A tiny utility for tagging directories as cache directories
Product: [Fedora] Fedora Reporter: Ben Boeckel <fedora>
Component: Package ReviewAssignee: Miroslav Suchý <msuchy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: msuchy, package-review
Target Milestone: ---Flags: msuchy: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-11 16:05:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ben Boeckel 2015-09-03 00:59:10 UTC
Spec URL: http://benboeckel.net/packaging/cachedir/cachedir.spec
SRPM URL: http://benboeckel.net/packaging/cachedir/cachedir-1.2-1.fc24.src.rpm
Description:
cachedir is a tiny utility for tagging directories as cache directories,
according to the http://www.bford.info/cachedir/ specification.

Fedora Account System Username: mathstuf
Copr: https://copr.fedoraproject.org/coprs/mathstuf/patches/

Comment 1 Miroslav Suchý 2015-09-10 11:19:52 UTC
> %{_mandir}/man1/cachedir.1.gz
This should be
 %{_mandir}/man1/cachedir.1*
which will still work even if RPM decide to use different compression.

cachedir.src: W: strange-permission cachedir_1.2-1.tar.gz 640
cachedir.src: W: strange-permission cachedir.spec 640
It is good habit to create srpm from files with 644 permission.

Nevertheless both are very minor issues and you can fix it before uploading to dist-git.

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed



===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "GPL (v3 or later)". 
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[x]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 2 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[x]: Spec file according to URL is the same as in SRPM.


APPROVED

Comment 2 Ben Boeckel 2015-09-10 12:12:22 UTC
(In reply to Miroslav Suchý from comment #1)
> > %{_mandir}/man1/cachedir.1.gz
> This should be
>  %{_mandir}/man1/cachedir.1*
> which will still work even if RPM decide to use different compression.

Ah, whoops, indeed. Thanks.

> cachedir.src: W: strange-permission cachedir_1.2-1.tar.gz 640
> cachedir.src: W: strange-permission cachedir.spec 640
> It is good habit to create srpm from files with 644 permission.

This is due to my local umask of 027; when generating from Fedora infra, it is OK.

> APPROVED

Thanks! Could you please set the "fedora-review" flag to "+" then?

Comment 3 Ben Boeckel 2015-09-13 01:16:57 UTC
Thanks.

New Package SCM Request
=======================
Package Name: cachedir
Short Description: A tiny utility for tagging directories as cache directories
Upstream URL: http://liw.fi/cachedir
Owners: mathstuf
Branches: f22 f23 devel
InitialCC:

Comment 4 Gwyn Ciesla 2015-09-13 17:04:31 UTC
Git done (by process-git-requests).

Comment 5 Fedora Update System 2015-09-13 17:54:44 UTC
cachedir-1.2-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15753

Comment 6 Fedora Update System 2015-09-14 02:49:16 UTC
cachedir-1.2-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update cachedir'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15753

Comment 7 Fedora Update System 2015-09-14 17:50:56 UTC
cachedir-1.2-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update cachedir'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15754

Comment 8 Fedora Update System 2015-10-11 16:05:06 UTC
cachedir-1.2-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-10-12 02:18:04 UTC
cachedir-1.2-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.