https://bugzilla.redhat.com/show_bug.cgi?id=1129224
Bug ID: 1129224 Summary: Review Request: libsearpc - A simple and easy-to-use C language RPC framework Product: Fedora Version: rawhide Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: comzeradd@fedoraproject.org QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org
Spec URL: https://comzeradd.fedorapeople.org/specs/libsearpc.spec SRPM URL: https://comzeradd.fedorapeople.org/srpms/libsearpc-3.0-1.fc20.src.rpm Description: A simple and easy-to-use C language RPC framework Fedora Account System Username: comzeradd
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
Nikos Roussos comzeradd@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |fedora-review?
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
Christopher Meng i@cicku.me changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|fedora-review? |
--- Comment #1 from Christopher Meng i@cicku.me --- Am I ok to review ;) ? Don't set flags by yourself.
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
Nikos Roussos comzeradd@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1129429
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1129429 [Bug 1129429] Review Request: ccnet - A framework for writing networked applications in C
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
Christopher Meng i@cicku.me changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |i@cicku.me Assignee|nobody@fedoraproject.org |i@cicku.me Flags| |fedora-review?
--- Comment #2 from Christopher Meng i@cicku.me --- I guess you are packaging seafile, right?
Seafile guys are familiar with me, if you need any help, feel free to contact me.
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #3 from Nikos Roussos comzeradd@fedoraproject.org --- Yes, that's the plan :)
Thanks
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
udo.rader@bestsolution.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |udo.rader@bestsolution.at
--- Comment #4 from udo.rader@bestsolution.at --- just a second before I stared to package seafile myself, I found this bug (and the old FC18 and FC17 repos by cheesele).
Before reinventing the wheel: any progress made so far in packaing seafile?
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #5 from Nikos Roussos comzeradd@fedoraproject.org --- I have packaged all 4 packages currently needed for Seafile: http://copr.fedoraproject.org/coprs/comzeradd/seafile/
I have submitted for review this and ccnet (#1129429) and I'm about to submit the two remaining (seafile, seafile-client).
I'm waiting for this to be reviewed :)
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #6 from Christopher Meng i@cicku.me --- I will review this soon.
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #7 from udo.rader@bestsolution.at --- sorry for the additional noise, but as it seems, someone has already made the entire seafile suite available as a copr build:
https://copr.fedoraproject.org/coprs/pkerling/seafile/
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #8 from Christopher Meng i@cicku.me --- (In reply to udo.rader from comment #7)
sorry for the additional noise, but as it seems, someone has already made the entire seafile suite available as a copr build:
I don't care, because copr is free for everyone.
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #9 from Nikos Roussos comzeradd@fedoraproject.org --- Updated to latest to build seafile 3.1.8
SPEC: https://comzeradd.fedorapeople.org/specs/libsearpc.spec SRPM: https://comzeradd.fedorapeople.org/srpms/libsearpc-3.0-2.fc21.src.rpm
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #10 from Nikos Roussos comzeradd@fedoraproject.org --- Updated to use release tag instead of commit: SPEC: https://comzeradd.fedorapeople.org/specs/libsearpc.spec SRPM: https://comzeradd.fedorapeople.org/srpms/libsearpc-3.0-3.fc21.src.rpm
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
Julien Enselme jujens@jujens.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jujens@jujens.eu
--- Comment #11 from Julien Enselme jujens@jujens.eu --- Hi,
Since I would like to see seafile in the official repository, I did a review with the hope to help Christopher Meng.
Please note that I have no experience in packaging C/C++ application.
Package Review ==============
Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed
Issues: ======= - Package contains BR: python2-devel or python3-devel - 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. Note: License file COPYING is marked as %doc instead of %license See: http://fedoraproject.org/wiki/Packaging/LicensingGuidelines#License_Text
===== MUST items =====
C/C++: [X]: Package does not contain kernel modules. [X]: Package contains no static executables. [x]: Header files in -devel subpackage, if present. [x]: ldconfig called in %post and %postun if required. [x]: Package does not contain any libtool archives (.la) [x]: Rpath absent or only used for internal libs. [x]: Development (unversioned) .so files in -devel subpackage, if present.
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 (v2 or later) (with incorrect FSF address)", "Unknown or generated". 34 files have unknown license. Detailed output of licensecheck in /tmp/1129224-libsearpc/licensecheck.txt [X]: License file installed when any subpackage combination is installed. [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. [X]: 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. [ ]: 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. [!]: Requires correct, justified where necessary. [X]: Spec file is legible and written in American English. [-]: 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. [-]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 30720 bytes in 3 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]: 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
Python: [X]: 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. [X]: Package meets the Packaging Guidelines::Python [x]: Binary eggs must be removed in %prep
===== 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). [X]: Package functions as described. [X]: Latest version is packaged. [X]: Package does not include license text files separate from upstream. [-]: Scriptlets must be sane, if used. [-]: 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]: 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]: Fully versioned dependency in subpackages if applicable. [x]: Uses parallel make %{?_smp_mflags} macro. [x]: The placement of pkgconfig(.pc) files are correct. [x]: SourceX is a working URL. [x]: Spec use %global instead of %define unless justified.
===== EXTRA items =====
Generic: [x]: Rpmlint is run on debuginfo package(s). Note: No rpmlint messages. [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. [x]: Package should not use obsolete m4 macros [x]: Spec file according to URL is the same as in SRPM.
Rpmlint ------- Checking: libsearpc-3.0-3.fc21.x86_64.rpm libsearpc-devel-3.0-3.fc21.x86_64.rpm libsearpc-3.0-3.fc21.src.rpm libsearpc.x86_64: W: spelling-error %description -l en_US Searpc -> Search libsearpc.x86_64: W: spelling-error %description -l en_US deserialization -> serialization, materialization, denationalization libsearpc.x86_64: W: no-manual-page-for-binary searpc-codegen.py libsearpc-devel.x86_64: W: only-non-binary-in-usr-lib libsearpc-devel.x86_64: W: no-documentation libsearpc.src: W: spelling-error %description -l en_US Searpc -> Search libsearpc.src: W: spelling-error %description -l en_US deserialization -> serialization, materialization, denationalization 3 packages and 0 specfiles checked; 0 errors, 7 warnings.
Rpmlint (debuginfo) ------------------- Checking: libsearpc-debuginfo-3.0-3.fc21.x86_64.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings.
Rpmlint (installed packages) ---------------------------- libsearpc-devel.x86_64: W: only-non-binary-in-usr-lib libsearpc-devel.x86_64: W: no-documentation libsearpc.x86_64: W: spelling-error %description -l en_US Searpc -> Search libsearpc.x86_64: W: spelling-error %description -l en_US deserialization -> serialization, materialization, denationalization libsearpc.x86_64: W: no-manual-page-for-binary searpc-codegen.py 3 packages and 0 specfiles checked; 0 errors, 5 warnings.
Requires -------- libsearpc-devel (rpmlib, GLIBC filtered): /usr/bin/pkg-config glib2-devel jansson-devel libsearpc(x86-64) pkgconfig(gio-2.0) pkgconfig(gobject-2.0) pkgconfig(jansson)
libsearpc (rpmlib, GLIBC filtered): /sbin/ldconfig /usr/bin/env libc.so.6()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libjansson.so.4()(64bit) python(abi) rtld(GNU_HASH)
Provides -------- libsearpc-devel: libsearpc-devel libsearpc-devel(x86-64) pkgconfig(libsearpc)
libsearpc: libsearpc libsearpc(x86-64) libsearpc.so.1()(64bit)
Source checksums ---------------- https://github.com/haiwen/libsearpc/archive/v3.0-latest.tar.gz : CHECKSUM(SHA256) this package : 56313771e0ad7dc075c4590b6a75daeb3939937b21716d82c91be2612133b8cd CHECKSUM(SHA256) upstream package : 56313771e0ad7dc075c4590b6a75daeb3939937b21716d82c91be2612133b8cd
Generated by fedora-review 0.5.3 (bcf15e3) last change: 2015-05-04 Command line :/usr/bin/fedora-review -b 1129224 Buildroot used: fedora-21-x86_64 Active plugins: Python, Generic, Shell-api, C/C++ Disabled plugins: Java, SugarActivity, fonts, Haskell, Ocaml, Perl, R, PHP, Ruby Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6
According to the README, gobject-2.0 and python simplejson (for pysearpc) are required to build the package but there are not in the BR section. Even if the package builds without error in mock I think they should be specified.
Since the package build some python files, it must have the BR python2-devel.
At the end of the COPYING file there is a section about the clar framework (used for the tests, not package) to be under MIT license. I don't know if we should remove it or not.
Maybe add a %check section and launched tests?
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #12 from Nikos Roussos comzeradd@fedoraproject.org --- Thanks for the review.
Updated: SPEC: https://comzeradd.fedorapeople.org/specs/libsearpc.spec SRPM: https://comzeradd.fedorapeople.org/seafile/libsearpc-3.0-4.fc22.src.rpm
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #13 from Julien Enselme jujens@jujens.eu --- - Please install the LICENSE with the -devel package
Otherwise, it looks good. Christopher, any elements? If not, I will approve the package once LICENSE is correctly installed.
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #14 from Nikos Roussos comzeradd@fedoraproject.org --- Oups missed that. Updated:
SPEC: https://comzeradd.fedorapeople.org/specs/libsearpc.spec SRPM: https://comzeradd.fedorapeople.org/srpms/libsearpc-3.0-5.fc22.src.rpm
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
Julien Enselme jujens@jujens.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|i@cicku.me |jujens@jujens.eu Flags|fedora-review? |fedora-review+
--- Comment #15 from Julien Enselme jujens@jujens.eu --- Looks good. Approved.
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
Nikos Roussos comzeradd@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |fedora-cvs?
--- Comment #16 from Nikos Roussos comzeradd@fedoraproject.org --- New Package SCM Request ======================= Package Name: libsearpc Short Description: A simple and easy-to-use C language RPC framework Upstream URL: https://github.com/haiwen/libsearpc Owners: comzeradd Branches: f21 f22 f23 InitialCC:
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #17 from Christopher Meng i@cicku.me --- Looks fine here.
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
Jon Ciesla limburgher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|fedora-cvs? |fedora-cvs+
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #18 from Jon Ciesla limburgher@gmail.com --- Git done (by process-git-requests).
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #19 from Fedora Update System updates@fedoraproject.org --- libsearpc-3.0-5.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15947
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #20 from Fedora Update System updates@fedoraproject.org --- libsearpc-3.0-5.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15948
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #21 from Fedora Update System updates@fedoraproject.org --- libsearpc-3.0-5.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15951
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #22 from Fedora Update System updates@fedoraproject.org --- libsearpc-3.0-5.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 libsearpc'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15947
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #23 from Fedora Update System updates@fedoraproject.org --- libsearpc-3.0-5.fc21 has been pushed to the Fedora 21 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 libsearpc'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15951
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #24 from Fedora Update System updates@fedoraproject.org --- libsearpc-3.0-5.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 libsearpc'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15948
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #25 from Fedora Update System updates@fedoraproject.org --- libsearpc-3.0-5.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA Last Closed| |2015-10-03 13:58:45
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #26 from Fedora Update System updates@fedoraproject.org --- libsearpc-3.0-5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1129224
--- Comment #27 from Fedora Update System updates@fedoraproject.org --- libsearpc-3.0-5.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
package-review@lists.fedoraproject.org