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 1638987 - Review Request: duperemove - Simple tool for finding duplicated extents and submitting them for deduplication
Summary: Review Request: duperemove - Simple tool for finding duplicated extents and s...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1244678 1769064 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-13 19:48 UTC by Jonathan Dieter
Modified: 2019-12-08 20:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-06 13:06:21 UTC
Type: ---
Embargoed:
zebob.m: fedora-review+


Attachments (Terms of Use)

Description Jonathan Dieter 2018-10-13 19:48:37 UTC
Spec URL: https://www.jdieter.net/downloads/duperemove.spec
SRPM URL: https://www.jdieter.net/downloads/duperemove-0.11-1.fc28.src.rpm

Description:
Duperemove is a simple tool for finding duplicated extents and
submitting them for deduplication.

Fedora Account System Username:
jdieter

Comment 1 Jonathan Dieter 2018-10-13 19:51:33 UTC
*** Bug 1244678 has been marked as a duplicate of this bug. ***

Comment 2 Robert-André Mauchin 🐧 2018-10-19 17:33:34 UTC
 - You need to add gcc as b BR

 - Build error:

cc  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DVERSTRING=\"v0.11\"  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -rdynamic   csum-xxhash.o csum-murmur3.o util.o csum.o debug.o -o csum-test csum-test.c  -Wl,--as-needed -latomic -lm -lxxhash -lglib-2.0  -lsqlite3 
BUILDSTDERR: /usr/bin/ld: cannot find /usr/lib64/libatomic.so.1.2.0 inside /

Add: BuildRequires:  libatomic

 - Use %set_build_flags instead of adding CFLAGS to make. It will also set LDFLAGS which you have forgotten:

%build
%set_build_flags

 - make %{?_smp_mflags} → %make_build



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.
[!]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[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: "GPL (v2 or later) (with incorrect FSF address)", "BSD 2-clause
     "Simplified" License", "GPL (v2)", "Expat License", "Unknown or
     generated". 25 files have unknown license. Detailed output of
     licensecheck in /home/bob/packaging/review/duperemove/review-
     duperemove/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[!]: %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.
[-]: 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 10240 bytes in 1 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]: 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).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     duperemove-debuginfo , duperemove-debugsource
[?]: 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]: 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]: Uses parallel make %{?_smp_mflags} macro.
[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 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]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: duperemove-0.11-1.fc30.x86_64.rpm
          duperemove-debuginfo-0.11-1.fc30.x86_64.rpm
          duperemove-debugsource-0.11-1.fc30.x86_64.rpm
          duperemove-0.11-1.fc30.src.rpm
duperemove.x86_64: W: spelling-error Summary(en_US) deduping -> deducing, deducting
duperemove.x86_64: W: spelling-error %description -l en_US deduplication -> reduplication, duplication, quadruplication
duperemove.x86_64: W: spelling-error %description -l en_US btrfs -> barfs
duperemove.src: W: spelling-error Summary(en_US) deduping -> deducing, deducting
duperemove.src: W: spelling-error %description -l en_US deduplication -> reduplication, duplication, quadruplication
duperemove.src: W: spelling-error %description -l en_US btrfs -> barfs
4 packages and 0 specfiles checked; 0 errors, 6 warnings.

Comment 3 Jonathan Dieter 2018-10-19 17:49:10 UTC
Robert-André, thanks for the review.  I've added libatomic and gcc to the BR and fixed the build flags.

Spec URL: https://www.jdieter.net/downloads/duperemove.spec
SRPM URL: https://www.jdieter.net/downloads/duperemove-0.11-2.fc29.src.rpm

Comment 4 Robert-André Mauchin 🐧 2018-10-19 21:34:20 UTC
Package approved.

Comment 5 Gwyn Ciesla 2018-10-19 21:49:02 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/duperemove

Comment 6 Fedora Update System 2018-10-20 14:06:43 UTC
duperemove-0.11-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2ffd38eaa9

Comment 7 Fedora Update System 2018-10-20 14:06:50 UTC
duperemove-0.11-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-9a4099532f

Comment 8 Fedora Update System 2018-10-20 14:06:56 UTC
duperemove-0.11-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7a596bc46b

Comment 9 Fedora Update System 2018-10-20 19:24:30 UTC
duperemove-0.11-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-9a4099532f

Comment 10 Fedora Update System 2018-10-20 20:15:10 UTC
duperemove-0.11-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-fb3d6bd3da

Comment 11 Fedora Update System 2018-10-20 20:15:16 UTC
duperemove-0.11-3.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2abff2eae4

Comment 12 Fedora Update System 2018-10-20 20:15:22 UTC
duperemove-0.11-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-42fb33cb1b

Comment 13 Fedora Update System 2018-10-20 20:15:27 UTC
duperemove-0.11-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d041aba9f9

Comment 14 Fedora Update System 2018-10-21 00:05:36 UTC
duperemove-0.11-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-fb3d6bd3da

Comment 15 Fedora Update System 2018-10-21 00:27:49 UTC
duperemove-0.11-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-42fb33cb1b

Comment 16 Fedora Update System 2018-10-21 01:41:05 UTC
duperemove-0.11-3.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d041aba9f9

Comment 17 Fedora Update System 2018-10-21 22:36:12 UTC
duperemove-0.11-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2abff2eae4

Comment 18 Fedora Update System 2018-10-28 20:19:04 UTC
duperemove-0.11-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2018-10-30 14:49:04 UTC
duperemove-0.11-3.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2018-10-30 17:30:33 UTC
duperemove-0.11-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 21 Fedora Update System 2018-11-05 03:23:44 UTC
duperemove-0.11-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 22 Jonathan Dieter 2019-04-06 13:06:21 UTC
This has been available in Fedora since November.

Comment 23 Robert-André Mauchin 🐧 2019-12-08 20:08:39 UTC
*** Bug 1769064 has been marked as a duplicate of this bug. ***


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