Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1197640 - Review Request: ghc-equivalence - Equivalence relations implemented with union-find
Summary: Review Request: ghc-equivalence - Equivalence relations implemented with unio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Boeckel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1197639
Blocks: 1164120
TreeView+ depends on / blocked
 
Reported: 2015-03-02 09:50 UTC by Jens Petersen
Modified: 2015-03-13 17:02 UTC (History)
3 users (show)

Fixed In Version: ghc-equivalence-0.2.5-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-13 17:02:32 UTC
Type: ---
Embargoed:
fedora: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Jens Petersen 2015-03-02 09:50:09 UTC
Spec URL: http://petersen.fedorapeople.org//ghc-equivalence.spec
SRPM URL: http://petersen.fedorapeople.org//ghc-equivalence-0.2.5-1.fc21.src.rpm

Description:
This is an implementation of Tarjan's Union-Find algorithm (Robert E.
Tarjan. "Efficiency of a Good But Not Linear Set Union Algorithm", JACM 22(2),
1975) in order to maintain an equivalence relation. This implementation is a
port of the /union-find/ package using the ST monad transformer (instead of the
IO monad).

Comment 1 Jens Petersen 2015-03-04 10:37:02 UTC
Here is a koji scratch:

http://koji.fedoraproject.org/koji/taskinfo?taskID=9136335

Comment 2 Ben Boeckel 2015-03-05 04:48:05 UTC
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: There is no build directory. Running licensecheck on vanilla
     upstream sources. No licenses found. Please check the source files for
     licenses manually.
[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.
[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]: 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 307200 bytes in 20 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 %doc.
[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]: 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 do not use a name that already exist
[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:
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: 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.
[x]: 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]: 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]: Dist tag is present (not strictly required in GL).
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Fully versioned dependency in subpackages if applicable.
[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: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: ghc-equivalence-0.2.5-1.fc23.x86_64.rpm
          ghc-equivalence-devel-0.2.5-1.fc23.x86_64.rpm
          ghc-equivalence-0.2.5-1.fc23.src.rpm
ghc-equivalence.x86_64: W: spelling-error %description -l en_US Tarjan -> Trajan, Tarzan, Tartan
ghc-equivalence.x86_64: W: spelling-error %description -l en_US monad -> nomad, gonad, Mona
ghc-equivalence.src: W: spelling-error %description -l en_US Tarjan -> Trajan, Tarzan, Tartan
ghc-equivalence.src: W: spelling-error %description -l en_US monad -> nomad, gonad, Mona
3 packages and 0 specfiles checked; 0 errors, 4 warnings.




Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:


Requires
--------
ghc-equivalence (rpmlib, GLIBC filtered):
    ghc(STMonadTrans-0.3.2-4951ce19136aa59e9eb3a679e24475a1)
    ghc(base-4.7.0.2-cb23b5265b6e147094c0cd9ac819acb1)
    ghc(containers-0.5.5.1-d7910f1cd81272c1f31ca9f71d0f206e)
    ghc(mtl-2.1.3.1-96f1a7910a7553352339ed05fb61c269)
    libHSSTMonadTrans-0.3.2-ghc7.8.4.so()(64bit)
    libHSarray-0.5.0.0-ghc7.8.4.so()(64bit)
    libHSbase-4.7.0.2-ghc7.8.4.so()(64bit)
    libHScontainers-0.5.5.1-ghc7.8.4.so()(64bit)
    libHSdeepseq-1.3.0.2-ghc7.8.4.so()(64bit)
    libHSghc-prim-0.3.1.0-ghc7.8.4.so()(64bit)
    libHSinteger-gmp-0.5.1.0-ghc7.8.4.so()(64bit)
    libHSmtl-2.1.3.1-ghc7.8.4.so()(64bit)
    libHStransformers-0.3.0.0-ghc7.8.4.so()(64bit)
    libc.so.6()(64bit)
    libgmp.so.10()(64bit)
    rtld(GNU_HASH)

ghc-equivalence-devel (rpmlib, GLIBC filtered):
    /bin/sh
    ghc(equivalence-0.2.5-778efa314f3e50015e477a7f09ec9721)
    ghc-compiler
    ghc-devel(STMonadTrans-0.3.2-4951ce19136aa59e9eb3a679e24475a1)
    ghc-devel(base-4.7.0.2-cb23b5265b6e147094c0cd9ac819acb1)
    ghc-devel(containers-0.5.5.1-d7910f1cd81272c1f31ca9f71d0f206e)
    ghc-devel(mtl-2.1.3.1-96f1a7910a7553352339ed05fb61c269)
    ghc-equivalence(x86-64)



Provides
--------
ghc-equivalence:
    ghc(equivalence-0.2.5-778efa314f3e50015e477a7f09ec9721)
    ghc-equivalence
    ghc-equivalence(x86-64)
    libHSequivalence-0.2.5-ghc7.8.4.so()(64bit)

ghc-equivalence-devel:
    ghc-devel(equivalence-0.2.5-778efa314f3e50015e477a7f09ec9721)
    ghc-equivalence-devel
    ghc-equivalence-devel(x86-64)
    ghc-equivalence-static



Unversioned so-files
--------------------
ghc-equivalence: /usr/lib64/ghc-7.8.4/equivalence-0.2.5/libHSequivalence-0.2.5-ghc7.8.4.so

Source checksums
----------------
https://hackage.haskell.org/package/equivalence-0.2.5/equivalence-0.2.5.tar.gz :
  CHECKSUM(SHA256) this package     : 03969a9a89bc90a4d282b33f37442060425229517c4c67fd2dd29e1cd04e9904
  CHECKSUM(SHA256) upstream package : 03969a9a89bc90a4d282b33f37442060425229517c4c67fd2dd29e1cd04e9904


Generated by fedora-review 0.5.2 (63c24cb) last change: 2014-07-14
Command line :/usr/bin/fedora-review --mock-config fedora-rawhide-x86_64-bb-tmpfs --bug 1197640
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Haskell, Shell-api, C/C++
Disabled plugins: Java, Python, fonts, SugarActivity, Ocaml, Perl, R, PHP, Ruby
Disabled flags: EXARCH, EPEL5, BATCH, DISTTAG

Comment 3 Jens Petersen 2015-03-05 09:43:11 UTC
Thanks Ben for the reviews!


New Package SCM Request
=======================
Package Name: ghc-equivalence
Short Description: Equivalence relations implemented with union-find
Upstream URL: https://hackage.haskell.org/package/equivalence
Owners: petersen
Branches: f22 f21 f20 epel7
InitialCC: haskell-sig

Comment 4 Gwyn Ciesla 2015-03-05 15:12:19 UTC
Git done (by process-git-requests).

Comment 5 Fedora Update System 2015-03-06 03:24:48 UTC
ghc-equivalence-0.2.5-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/ghc-equivalence-0.2.5-1.fc22

Comment 6 Fedora Update System 2015-03-09 08:36:27 UTC
ghc-equivalence-0.2.5-1.fc22 has been pushed to the Fedora 22 testing repository.

Comment 7 Fedora Update System 2015-03-13 17:02:32 UTC
ghc-equivalence-0.2.5-1.fc22 has been pushed to the Fedora 22 stable repository.


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