Bug 1563189 - Review Request: obs-service-set_version - OBS source service: Update spec file version
Summary: Review Request: obs-service-set_version - OBS source service: Update spec fil...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: clime
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-03 11:48 UTC by Neal Gompa
Modified: 2018-10-30 17:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-10-19 15:49:11 UTC
Type: ---
Embargoed:
clime: fedora-review+


Attachments (Terms of Use)

Description Neal Gompa 2018-04-03 11:48:34 UTC
Spec URL: https://copr-be.cloud.fedoraproject.org/results/ngompa/obs-services/fedora-rawhide-x86_64/00732206-obs-service-set_version/obs-service-set_version.spec
SRPM URL: https://copr-be.cloud.fedoraproject.org/results/ngompa/obs-services/fedora-rawhide-x86_64/00732206-obs-service-set_version/obs-service-set_version-0.5.8-1.fc29.src.rpm

Description:
This is a source service for openSUSE Build Service.

Very simply script to update the version in .spec or .dsc files according to
a given version or to the existing files.


Fedora Account System Username: ngompa

Comment 1 clime 2018-04-03 22:35:30 UTC
Shouldn't the 

Requires:      sed

be

BuildRequires: sed

instead?


This is the only potential problem I have found except for upstream not providing license text in Source0 (which is only "Should" item).


Full run of fedora-review:

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

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


Issues:
=======
- Sources used to build the package match the upstream source, as provided
  in the spec URL.
  Note: Upstream MD5sum check error, diff is in /home/clime/1563189-obs-
  service-set_version/diff.txt
  See: http://fedoraproject.org/wiki/Packaging/SourceURL


===== 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]: 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]: 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)", "Unknown or generated". 16 files have
     unknown license. Detailed output of licensecheck in
     /home/clime/1563189-obs-service-set_version/licensecheck.txt
[ ]: Package does not own files or directories owned by other packages.
     Note: Dirs in package are owned also by: /usr/lib/obs(osc),
     /usr/lib/obs/service(osc)
[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
[-]: 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.
[ ]: 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]: Package is not known to require an ExcludeArch tag.
[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]: 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]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[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).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: 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]: 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: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: obs-service-set_version-0.5.8-1.fc27.noarch.rpm
          obs-service-set_version-0.5.8-1.fc27.src.rpm
obs-service-set_version.noarch: W: spelling-error %description -l en_US openSUSE -> opens Use, open SUSE, open-SUSE
obs-service-set_version.noarch: W: spelling-error %description -l en_US dsc -> dc, disc, doc
obs-service-set_version.noarch: W: only-non-binary-in-usr-lib
obs-service-set_version.noarch: W: no-documentation
obs-service-set_version.src: W: spelling-error %description -l en_US openSUSE -> opens Use, open SUSE, open-SUSE
obs-service-set_version.src: W: spelling-error %description -l en_US dsc -> dc, disc, doc
obs-service-set_version.src:31: E: hardcoded-library-path in %{_prefix}/lib/obs/service
obs-service-set_version.src:32: E: hardcoded-library-path in %{_prefix}/lib/obs/service
obs-service-set_version.src:33: E: hardcoded-library-path in %{_prefix}/lib/obs/service
obs-service-set_version.src:36: E: hardcoded-library-path in %{_prefix}/lib/obs
obs-service-set_version.src:37: E: hardcoded-library-path in %{_prefix}/lib/obs/service
obs-service-set_version.src: W: file-size-mismatch obs-service-set_version-0.5.8.tar.gz = 15000, https://github.com/openSUSE/obs-service-set_version/archive/0.5.8/obs-service-set_version-0.5.8.tar.gz = 14643
2 packages and 0 specfiles checked; 5 errors, 7 warnings.




Rpmlint (installed packages)
----------------------------
sh: /usr/bin/python: No such file or directory
obs-service-set_version.noarch: W: spelling-error %description -l en_US openSUSE -> opens Use, open SUSE, open-SUSE
obs-service-set_version.noarch: W: spelling-error %description -l en_US dsc -> dc, disc, doc
obs-service-set_version.noarch: W: invalid-url URL: https://github.com/openSUSE/obs-service-set_version <urlopen error [Errno -2] Name or service not known>
obs-service-set_version.noarch: W: only-non-binary-in-usr-lib
obs-service-set_version.noarch: W: no-documentation
1 packages and 0 specfiles checked; 0 errors, 5 warnings.



Requires
--------
obs-service-set_version (rpmlib, GLIBC filtered):
    /usr/bin/python3
    python3
    sed



Provides
--------
obs-service-set_version:
    obs-service-set_version



Source checksums
----------------
https://github.com/openSUSE/obs-service-set_version/archive/0.5.8/obs-service-set_version-0.5.8.tar.gz :
  CHECKSUM(SHA256) this package     : 96532785c45150f7d41fab2b2d0690e1bec7a9029c611ba31b0078218eac0711
  CHECKSUM(SHA256) upstream package : a2256153fade1fa255e337275a1e8af0cf171fff976b51059f0dd3e54b16604d
diff -r also reports differences


Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -b 1563189
Buildroot used: fedora-27-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, C/C++, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

Comment 3 clime 2018-10-05 08:11:22 UTC
Hello Neal, went through it and haven't found a problem.

Package approved.

Comment 4 Gwyn Ciesla 2018-10-05 13:30:26 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/obs-service-set_version

Comment 5 Fedora Update System 2018-10-05 15:08:58 UTC
obs-service-set_version-0.5.10-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-6263698184

Comment 6 Fedora Update System 2018-10-05 15:09:45 UTC
obs-service-set_version-0.5.10-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-13ce268d25

Comment 7 Fedora Update System 2018-10-05 15:10:17 UTC
obs-service-set_version-0.5.10-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-52ad3ce7f4

Comment 8 Fedora Update System 2018-10-07 22:33:38 UTC
obs-service-set_version-0.5.10-1.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-6263698184

Comment 9 Fedora Update System 2018-10-07 23:36:15 UTC
obs-service-set_version-0.5.10-1.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-52ad3ce7f4

Comment 10 Fedora Update System 2018-10-08 00:08:54 UTC
obs-service-set_version-0.5.10-1.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-13ce268d25

Comment 11 Fedora Update System 2018-10-19 15:49:11 UTC
obs-service-set_version-0.5.10-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2018-10-19 16:05:54 UTC
obs-service-set_version-0.5.10-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2018-10-30 17:20:49 UTC
obs-service-set_version-0.5.10-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, 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.