https://bugzilla.redhat.com/show_bug.cgi?id=1564716

Robert-André Mauchin <zebo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zebo...@gmail.com



--- Comment #1 from Robert-André Mauchin <zebo...@gmail.com> ---
 - Group: is not needed in Fedora

 - Use %{?systemd_requires} instead of:

Requires(preun): systemd
Requires(postun): systemd
Requires(post): systemd

 - Doc package should be noarch and just be named:

%package doc

 - Not needed at the end of build: cd ..

 - Install of the man page should not be to %{name}.1.gz but %{name}.1

install -p -D -m 644 doc/build/man/%{name}.1
%{buildroot}%{_mandir}/man1/%{name}.1

   The gzipping will happen automatically later.

 - Use {_sharedstatedir} instead of %{_var}/lib

 - Not needed:

# ============= Clean
==========================================================
%clean
#Cleanup the buildroot for compatibility with EPEL7
rm -rf %{buildroot}


 - Instead of:

%dir %{_libdir}/%{name}
%{_libdir}/%{name}/*

%dir %{_var}/lib/%{name}
%{_var}/lib/%{name}/*

   Just do:

%{_libdir}/%{name}/

%{_sharedstatedir}/%{name}/

 - Don't use:

%{_mandir}/man1/%{name}.1.gz

   but

%{_mandir}/man1/%{name}.1.*

   as the compression might be changed in the future.

 - Remove sphinx-build leftovers:

cd doc
make html
make man
rm -rf build/html/.{doctrees,buildinfo}

 - [!]: Package should not use obsolete m4 macros
        Note: Some obsoleted macros found, see the attachment.
        See: https://fedorahosted.org/FedoraReview/wiki/AutoTool

AutoTools: Obsoleted m4s found
------------------------------
  AC_PROG_LIBTOOL found in: dionaea-
  1748f3b3936aa1da2d92500251ae8010fe181dfc/configure.ac:28

   Replace obsolete AC_PROG_LIBTOOL with LT_INIT:

diff -up
dionaea-1748f3b3936aa1da2d92500251ae8010fe181dfc/configure.ac.fix_obsolete_macros
dionaea-1748f3b3936aa1da2d92500251ae8010fe181dfc/configure.ac
---
dionaea-1748f3b3936aa1da2d92500251ae8010fe181dfc/configure.ac.fix_obsolete_macros
  2018-03-26 12:08:28.000000000 +0200
+++ dionaea-1748f3b3936aa1da2d92500251ae8010fe181dfc/configure.ac      
2018-04-07 14:42:03.306757293 +0200
@@ -25,7 +25,7 @@ AC_C_BIGENDIAN
 # Checks for programs.
 AC_PROG_CC
 AC_PROG_MAKE_SET
-AC_PROG_LIBTOOL
+LT_INIT

 AC_CHECK_HEADERS([stdint.h stdlib.h string.h strings.h unistd.h
netpacket/packet.h execinfo.h linux/sockios.h])





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

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


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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Development (unversioned) .so files in -devel subpackage, if present.
     Note: Unversioned so-files in private %_libdir subdirectory (see
     attachment). Verify they are not in ld path.
[x]: Header files in -devel subpackage, if present.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

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: "MIT/X11 (BSD like)", "GPL (v2 or later) (with incorrect FSF
     address)", "GPL (v3)", "GPL (v2 or later)", "Unknown or generated".
     217 files have unknown license. Detailed output of licensecheck in
     /home/bob/packaging/review/dionaea/review-dionaea/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[-]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/lib64/dionaea
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: 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.
[x]: Package contains systemd file(s) if in need.
[x]: Useful -debuginfo package or justification otherwise.
[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 20480 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 does not own files or directories owned by other packages.
[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]: %config files are marked noreplace or the reason is justified.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
     Note: Multiple Release: tags found
[x]: Package does not contain duplicates in %files.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: No %config files under /usr.
[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

Python:
[ ]: Python eggs must not download any dependencies during the build
     process.
[ ]: A package which is used by another package via an egg interface should
     provide egg info.
[ ]: Package meets the Packaging Guidelines::Python
[x]: Package contains BR: python2-devel or python3-devel
[x]: Binary eggs must be removed in %prep

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

Generic:
[x]: Uses parallel make %{?_smp_mflags} macro.
[!]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: %clean present but not required
[-]: 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).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     python3-dionaea
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[-]: 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.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

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

Generic:
[!]: Package should not use obsolete m4 macros
     Note: Some obsoleted macros found, see the attachment.
     See: https://fedorahosted.org/FedoraReview/wiki/AutoTools
[!]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
     Note: Arch-ed rpms have a total of 1597440 bytes in /usr/share
[x]: Rpmlint is run on debuginfo package(s).
     Note: There are rpmlint messages (see attachment).
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: dionaea-0.6.0-4.20180326git1748f3b.fc29.x86_64.rpm
          dionaea-doc-0.6.0-4.20180326git1748f3b.fc29.x86_64.rpm
          python3-dionaea-0.6.0-4.20180326git1748f3b.fc29.x86_64.rpm
          dionaea-debuginfo-0.6.0-4.20180326git1748f3b.fc29.x86_64.rpm
          dionaea-debugsource-0.6.0-4.20180326git1748f3b.fc29.x86_64.rpm
          dionaea-0.6.0-4.20180326git1748f3b.fc29.src.rpm
dionaea.x86_64: W: spelling-error %description -l en_US nepenthes -> nepenthe,
nepenthe's, nepenthe s
dionaea.x86_64: W: spelling-error %description -l en_US libemu -> lib emu,
lib-emu, libelous
dionaea.x86_64: W: spelling-error %description -l en_US shellcodes -> shell
codes, shell-codes, cockleshell
dionaea.x86_64: W: spelling-error %description -l en_US tls -> ts, ls, tbs
dionaea.x86_64: W: no-manual-page-for-binary gnuplotsql
dionaea.x86_64: W: no-manual-page-for-binary readlogsqltree
dionaea-doc.x86_64: W: spelling-error %description -l en_US nepenthes ->
nepenthe, nepenthe's, nepenthe s
dionaea-doc.x86_64: W: spelling-error %description -l en_US libemu -> lib emu,
lib-emu, libelous
dionaea-doc.x86_64: W: spelling-error %description -l en_US shellcodes -> shell
codes, shell-codes, cockleshell
dionaea-doc.x86_64: W: spelling-error %description -l en_US tls -> ts, ls, tbs
dionaea-doc.x86_64: W: hidden-file-or-dir
/usr/share/doc/dionaea-doc/html/.buildinfo
python3-dionaea.x86_64: W: dangling-symlink /usr/lib64/dionaea/python.so
/usr/lib64/python3.6/site-packages/dionaea/core*.so
dionaea-debugsource.x86_64: W: no-documentation
dionaea.src: W: spelling-error %description -l en_US nepenthes -> nepenthe,
nepenthe's, nepenthe s
dionaea.src: W: spelling-error %description -l en_US libemu -> lib emu,
lib-emu, libelous
dionaea.src: W: spelling-error %description -l en_US shellcodes -> shell codes,
shell-codes, cockleshell
dionaea.src: W: spelling-error %description -l en_US tls -> ts, ls, tbs
6 packages and 0 specfiles checked;0 errors, 17 warnings.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org

Reply via email to