Bug 2244987 - Review Request: ghc-text-icu - Bindings to the ICU library
Summary: Review Request: ghc-text-icu - Bindings to the ICU library
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Frank Dedden
QA Contact: Fedora Extras Quality Assurance
URL: https://hackage.haskell.org/package/%...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-19 06:15 UTC by Jens Petersen
Modified: 2024-03-06 02:56 UTC (History)
2 users (show)

Fixed In Version: ghc-text-icu-0.8.0.4-1.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-02-29 02:06:41 UTC
Type: ---
Embargoed:
frank: fedora-review+


Attachments (Terms of Use)

Description Jens Petersen 2023-10-19 06:15:45 UTC
Spec URL: https://petersen.fedorapeople.org/reviews/ghc-text-icu/ghc-text-icu.spec
SRPM URL: https://petersen.fedorapeople.org/reviews/ghc-text-icu/ghc-text-icu-0.8.0.4-1.fc40.src.rpm

Description:
Haskell bindings to the International Components for Unicode (ICU) libraries.
These libraries provide robust and full-featured Unicode services on a wide
variety of platforms.

Features include:

* Both pure and impure bindings, to allow for fine control over efficiency and
ease of use.

* Breaking of strings on character, word, sentence, and line boundaries.

* Access to the Unicode Character Database (UCD) of character metadata.

* String collation functions, for locales where the conventions for
lexicographic ordering differ from the simple numeric ordering of character
codes.

* Character set conversion functions, allowing conversion between Unicode and
over 220 character encodings.

* Unicode normalization. (When implementations keep strings in a normalized
form, they can be assured that equivalent strings have a unique binary
representation.)

* Regular expression search and replace.

* Security checks for visually confusable (spoofable) strings.

* Bidirectional Unicode algorithm

* Calendar objects holding dates and times.

* Number and calendar formatting.


Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=107753892

Comment 1 Fedora Review Service 2023-10-19 06:28:33 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6546489
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2244987-ghc-text-icu/fedora-rawhide-x86_64/06546489-ghc-text-icu/fedora-review/review.txt

Please take a look if any issues were found.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Frank Dedden 2023-12-01 21:11:01 UTC
My review based on the provided review template. I see no reason not to approve it:


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

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


Issues:
=======


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

C/C++:
[-]: Provides: bundled(gnulib) in place as required.
     Note: Sources not installed
[x]: Package does not contain kernel modules.
[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]: Package does not contain any libtool archives (.la)
[x]: Package contains no static executables.
[x]: Rpath absent or only used for internal libs.

Generic:
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
     Note: Using prebuilt packages
[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. 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.
[x]: 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.
[x]: 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 11240 bytes in 2 files.
[x]: Package complies to the Packaging Guidelines
[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]: The License field must be a valid SPDX expression.
[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]: 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 must not depend on deprecated() packages.
[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:
[x]: Reviewer should test that the package builds in mock.
[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).
[x]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in ghc-
     text-icu-prof
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[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]: 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]: 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:
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.


Rpmlint
-------
Checking: ghc-text-icu-0.8.0.4-1.fc40.x86_64.rpm
          ghc-text-icu-devel-0.8.0.4-1.fc40.x86_64.rpm
          ghc-text-icu-prof-0.8.0.4-1.fc40.x86_64.rpm
          ghc-text-icu-0.8.0.4-1.fc40.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmp2p1kpikl')]
checks: 31, packages: 4

ghc-text-icu-devel.x86_64: E: static-library-without-debuginfo /usr/lib64/ghc-9.4.5/lib/text-icu-0.8.0.4/libHStext-icu-0.8.0.4-20uOgzoCAFlJiVrwmb5XS1.a
ghc-text-icu-prof.x86_64: E: static-library-without-debuginfo /usr/lib64/ghc-9.4.5/lib/text-icu-0.8.0.4/libHStext-icu-0.8.0.4-20uOgzoCAFlJiVrwmb5XS1_p.a
ghc-text-icu.x86_64: W: no-documentation
ghc-text-icu-prof.x86_64: W: no-documentation
ghc-text-icu-prof.x86_64: W: devel-file-in-non-devel-package /usr/lib64/ghc-9.4.5/lib/text-icu-0.8.0.4/libHStext-icu-0.8.0.4-20uOgzoCAFlJiVrwmb5XS1_p.a
 4 packages and 0 specfiles checked; 2 errors, 3 warnings, 2 badness; has taken 0.6 s 




Rpmlint (installed packages)
----------------------------
(none): E: there is no installed rpm "ghc-text-icu-devel".
(none): E: there is no installed rpm "ghc-text-icu".
(none): E: there is no installed rpm "ghc-text-icu-prof".
There are no files to process nor additional arguments.
Nothing to do, aborting.
============================ rpmlint session starts ============================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 31, packages: 3

 0 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken 0.0 s 



Unversioned so-files
--------------------
ghc-text-icu: /usr/lib64/ghc-9.4.5/lib/libHStext-icu-0.8.0.4-20uOgzoCAFlJiVrwmb5XS1-ghc9.4.5.so

Source checksums
----------------
https://hackage.haskell.org/package/text-icu-0.8.0.4/text-icu-0.8.0.4.tar.gz :
  CHECKSUM(SHA256) this package     : 2d9f04c8e14d38a90df3196d96d39d9116edc5faf105498dd722749d659340fa
  CHECKSUM(SHA256) upstream package : 2d9f04c8e14d38a90df3196d96d39d9116edc5faf105498dd722749d659340fa


Requires
--------
ghc-text-icu (rpmlib, GLIBC filtered):
    libHSarray-0.5.4.0-ghc9.4.5.so()(64bit)
    libHSbase-4.17.1.0-ghc9.4.5.so()(64bit)
    libHSbinary-0.8.9.1-ghc9.4.5.so()(64bit)
    libHSbytestring-0.11.4.0-ghc9.4.5.so()(64bit)
    libHScontainers-0.6.7-ghc9.4.5.so()(64bit)
    libHSdeepseq-1.4.8.0-ghc9.4.5.so()(64bit)
    libHSghc-bignum-1.3-ghc9.4.5.so()(64bit)
    libHSghc-boot-th-9.4.5-ghc9.4.5.so()(64bit)
    libHSghc-prim-0.9.0-ghc9.4.5.so()(64bit)
    libHSpretty-1.1.3.6-ghc9.4.5.so()(64bit)
    libHStemplate-haskell-2.19.0.0-ghc9.4.5.so()(64bit)
    libHStext-2.0.2-ghc9.4.5.so()(64bit)
    libHStime-1.12.2-ghc9.4.5.so()(64bit)
    libc.so.6()(64bit)
    libgmp.so.10()(64bit)
    libicudata.so.73()(64bit)
    libicui18n.so.73()(64bit)
    libicuuc.so.73()(64bit)
    libm.so.6()(64bit)
    rtld(GNU_HASH)

ghc-text-icu-devel (rpmlib, GLIBC filtered):
    ghc-compiler
    ghc-devel(base-4.17.1.0)
    ghc-devel(bytestring-0.11.4.0)
    ghc-devel(deepseq-1.4.8.0)
    ghc-devel(text-2.0.2)
    ghc-devel(time-1.12.2)
    ghc-text-icu(x86-64)
    libicu-devel(x86-64)
    pkgconfig(icu-i18n)

ghc-text-icu-prof (rpmlib, GLIBC filtered):
    ghc-prof(base-4.17.1.0)
    ghc-prof(bytestring-0.11.4.0)
    ghc-prof(deepseq-1.4.8.0)
    ghc-prof(text-2.0.2)
    ghc-prof(time-1.12.2)
    ghc-text-icu-devel(x86-64)



Provides
--------
ghc-text-icu:
    ghc-text-icu
    ghc-text-icu(x86-64)
    libHStext-icu-0.8.0.4-20uOgzoCAFlJiVrwmb5XS1-ghc9.4.5.so()(64bit)

ghc-text-icu-devel:
    ghc-devel(text-icu-0.8.0.4-20uOgzoCAFlJiVrwmb5XS1)
    ghc-text-icu-devel
    ghc-text-icu-devel(x86-64)
    ghc-text-icu-static
    ghc-text-icu-static(x86-64)

ghc-text-icu-prof:
    ghc-prof(text-icu-0.8.0.4-20uOgzoCAFlJiVrwmb5XS1)
    ghc-text-icu-prof
    ghc-text-icu-prof(x86-64)



Generated by fedora-review 0.10.0 (e79b66b) last change: 2023-07-24
Command line :/usr/bin/fedora-review --no-colors --prebuilt --rpm-spec --name ghc-text-icu --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg
Buildroot used: fedora-rawhide-x86_64
Active plugins: C/C++, Generic, Shell-api, Haskell
Disabled plugins: fonts, SugarActivity, Perl, Ocaml, Python, Java, R, PHP
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH

Comment 3 Jens Petersen 2024-02-20 06:48:46 UTC
Thank you very much for the review, Frank

Comment 4 Fedora Admin user for bugzilla script actions 2024-02-20 06:48:53 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/ghc-text-icu

Comment 5 Fedora Update System 2024-02-20 16:08:31 UTC
FEDORA-2024-19050600b6 (ghc-text-icu-0.8.0.4-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-19050600b6

Comment 6 Fedora Update System 2024-02-21 02:35:43 UTC
FEDORA-2024-19050600b6 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-19050600b6 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-19050600b6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-02-26 14:32:17 UTC
FEDORA-2024-96420bf2f7 (ghc-text-icu-0.8.0.4-1.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-96420bf2f7

Comment 9 Fedora Update System 2024-02-27 02:06:57 UTC
FEDORA-2024-96420bf2f7 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-96420bf2f7 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-96420bf2f7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2024-02-29 02:06:41 UTC
FEDORA-2024-19050600b6 (ghc-text-icu-0.8.0.4-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2024-03-06 02:56:26 UTC
FEDORA-2024-96420bf2f7 (ghc-text-icu-0.8.0.4-1.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


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