Spec URL: https://download.copr.fedorainfracloud.org/results/s-kro/libstroke/fedora-rawhide-x86_64/08818638-libstroke/libstroke.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/s-kro/libstroke/fedora-rawhide-x86_64/08818638-libstroke/libstroke-0.5.1-49.fc43.src.rpm Description: LibStroke is a stroke interface library. Strokes are motions of the mouse that can be interpreted by a program as a command. Fedora Account System Username: s-kro
Copr build: https://copr.fedorainfracloud.org/coprs/build/8795016 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2353415-libstroke/fedora-rawhide-x86_64/08795016-libstroke/fedora-review/review.txt Found issues: - A package with this name already exists. Please check https://src.fedoraproject.org/rpms/libstroke Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names Please know that there can be false-positives. --- 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.
> Obsoletes: libgstroke < %{version}-%{release} > Provides: libgstroke = %{version}-%{release} > Obsoletes: libgstroke-devel < %{version}-%{release} > Provides: libgstroke-devel = %{version}-%{release} The provides should be archful, i.e. "Provides: libgstroke%{?_isa}". > %package doc > Summary: Documentation files for the %{name} library Remove the double space before "%{name}". > %package devel > Summary: Development files for the libstroke library This seems a bit inconsistent. ;) > %package -n javastroke > Summary: Optional java files > Requires: %{name}%{?_isa} = %{version}-%{release} > Buildarch: noarch Since this is a noarch package, the requirement should be arch-less. Otherwise you'll end up with the noarch package requiring whichever architecture the package builder used. Same issue on the -doc subpackage.
Thanks, Artur Changes made, however I now get the following, so I just want to make sure I made the correct edit. [ ]: Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in javastroke Also, do the obsoletes need to be archful?
fedora-review-service-build]
fedora-review-service-build
Grrrrrr.....
Spec URL: https://download.copr.fedorainfracloud.org/results/s-kro/libstroke/fedora-rawhide-x86_64/08818638-libstroke/libstroke.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/s-kro/libstroke/fedora-rawhide-x86_64/08818638-libstroke/libstroke-0.5.1-49.fc43.src.rpm
[fedora-review-service-build]
Copr build: https://copr.fedorainfracloud.org/coprs/build/8819293 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2353415-libstroke/fedora-rawhide-x86_64/08819293-libstroke/fedora-review/review.txt Found issues: - A package with this name already exists. Please check https://src.fedoraproject.org/rpms/libstroke Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names Please know that there can be false-positives. --- 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.
Copr build: https://copr.fedorainfracloud.org/coprs/build/8819317 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2353415-libstroke/fedora-rawhide-x86_64/08819317-libstroke/fedora-review/review.txt Found issues: - A package with this name already exists. Please check https://src.fedoraproject.org/rpms/libstroke Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names Please know that there can be false-positives. --- 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.
Steve, are you still interested in getting this into Fedora? Could you reupload the SRPM somewhere? The COPR build is no longer available.
Yes, absolutely! https://download.copr.fedorainfracloud.org/results/s-kro/libstroke/fedora-rawhide-x86_64/09458012-libstroke/libstroke.spec https://download.copr.fedorainfracloud.org/results/s-kro/libstroke/fedora-rawhide-x86_64/09458012-libstroke/libstroke-0.5.1-49.fc44.src.rpm
Copr build: https://copr.fedorainfracloud.org/coprs/build/9459355 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2353415-libstroke/fedora-rawhide-x86_64/09459355-libstroke/fedora-review/review.txt Found issues: - A package with this name already exists. Please check https://src.fedoraproject.org/rpms/libstroke Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names Please know that there can be false-positives. --- 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.
Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed Issues: ======= - Package does not use a name that already exists. Note: A package with this name already exists. Please check https://src.fedoraproject.org/rpms/libstroke See: https://docs.fedoraproject.org/en-US/packaging- guidelines/Naming/#_conflicting_package_names ===== MUST items ===== C/C++: [ ]: Package does not contain kernel modules. [x]: 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]: ldconfig not called in %post and %postun for Fedora 28 and later. [x]: Package does not contain any libtool archives (.la) [x]: Package contains no static executables. [x]: Rpath absent or only used for internal libs. [x]: Development (unversioned) .so files in -devel subpackage, if present. Generic: [ ]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [ ]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "GNU General Public License, Version 2", "*No copyright* GNU General Public License", "FSF Unlimited License (with License Retention) [generated file]", "GNU General Public License v2.0 or later [generated file]", "GNU General Public License v2.0 or later", "FSF Unlimited License [generated file]", "Historical Permission Notice and Disclaimer - sell variant [generated file]", "X11 License". 49 files have unknown license. Detailed output of licensecheck in /home/fedora- packaging/reviews/libstroke/2353415-libstroke/licensecheck.txt [ ]: License file installed when any subpackage combination is installed. [ ]: If the package is under multiple licenses, the licensing breakdown must be documented in the spec. [ ]: %build honors applicable compiler flags or justifies otherwise. [ ]: Package contains no bundled libraries without FPC exception. [ ]: Changelog in prescribed format. [ ]: 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. [ ]: Package consistently uses macros (instead of hard-coded directory names). [ ]: Package is named according to the Package Naming Guidelines. [ ]: Package does not generate any conflict. [ ]: 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. [ ]: Spec file is legible and written in American English. [ ]: Package contains systemd file(s) if in need. [ ]: Useful -debuginfo package or justification otherwise. [ ]: Package is not known to require an ExcludeArch tag. [ ]: 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]: 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 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]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 2995 bytes in 2 files. [x]: Packages must not store files under /srv, /opt or /usr/local ===== SHOULD items ===== Generic: [!]: Sources can be downloaded from URI in Source: tag Note: Could not download Source0: http://www.etla.net/libstroke/libstroke-0.5.1.tar.gz See: https://docs.fedoraproject.org/en-US/packaging- guidelines/SourceURL/ [ ]: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. [ ]: Final provides and requires are sane (see attachments). [ ]: Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in javastroke [ ]: Package functions as described. [ ]: Latest version is packaged. [ ]: Package does not include license text files separate from upstream. [ ]: Patches link to upstream bugs/comments/lists or are otherwise justified. [ ]: SourceX tarball generation or download is documented. Note: Package contains tarball without URL, check comments [ ]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: gpgverify is not used. [ ]: Package should compile and build into binary rpms on all supported architectures. [ ]: %check is present and all tests pass. [ ]: 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]: SourceX is a working URL. [x]: Spec use %global instead of %define unless justified. ===== EXTRA items ===== Generic: [!]: Package should not use obsolete m4 macros Note: Some obsoleted macros found, see the attachment. See: https://fedorahosted.org/FedoraReview/wiki/AutoTools [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: libstroke-0.5.1-49.fc44.x86_64.rpm libstroke-doc-0.5.1-49.fc44.noarch.rpm libstroke-devel-0.5.1-49.fc44.x86_64.rpm javastroke-0.5.1-49.fc44.noarch.rpm libstroke-0.5.1-49.fc44.src.rpm ============================ rpmlint session starts ============================ rpmlint: 2.7.0 configuration: /usr/lib/python3.13/site-packages/rpmlint/configdefaults.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/tmp11sgvge3')] checks: 32, packages: 5 libstroke.x86_64: W: obsolete-not-provided libstroke-devel javastroke.noarch: E: incorrect-fsf-address /usr/share/stroke/java/Stroke.java libstroke.x86_64: E: incorrect-fsf-address /usr/share/licenses/libstroke/COPYRIGHT 5 packages and 0 specfiles checked; 2 errors, 1 warnings, 31 filtered, 2 badness; has taken 0.4 s Rpmlint (debuginfo) ------------------- Checking: libstroke-debuginfo-0.5.1-49.fc44.x86_64.rpm ============================ rpmlint session starts ============================ rpmlint: 2.7.0 configuration: /usr/lib/python3.13/site-packages/rpmlint/configdefaults.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/tmp4slin181')] checks: 32, packages: 1 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 4 filtered, 0 badness; has taken 0.2 s Rpmlint (installed packages) ---------------------------- ============================ rpmlint session starts ============================ rpmlint: 2.7.0 configuration: /usr/lib/python3.14/site-packages/rpmlint/configdefaults.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: 32, packages: 5 libstroke.x86_64: E: unused-direct-shlib-dependency /usr/lib64/libstroke.so.0.0.5 /lib64/libm.so.6 libstroke.x86_64: W: obsolete-not-provided libstroke-devel libstroke.x86_64: E: incorrect-fsf-address /usr/share/licenses/libstroke/COPYRIGHT javastroke.noarch: E: incorrect-fsf-address /usr/share/stroke/java/Stroke.java 5 packages and 0 specfiles checked; 3 errors, 1 warnings, 32 filtered, 3 badness; has taken 0.4 s Requires -------- libstroke (rpmlib, GLIBC filtered): libc.so.6()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) libstroke-doc (rpmlib, GLIBC filtered): libstroke libstroke-devel (rpmlib, GLIBC filtered): automake libstroke(x86-64) libstroke.so.0()(64bit) javastroke (rpmlib, GLIBC filtered): libstroke Provides -------- libstroke: libstroke libstroke(x86-64) libstroke-devel(x86-64) libstroke.so.0()(64bit) libstroke-doc: libstroke-doc libstroke-devel: libstroke-devel libstroke-devel(x86-64) javastroke: javastroke AutoTools: Obsoleted m4s found ------------------------------ AM_CONFIG_HEADER found in: libstroke-0.5.1-build/libstroke-0.5.1/configure.in:14 AM_PROG_LIBTOOL found in: libstroke-0.5.1-build/libstroke-0.5.1/configure.in:20 Generated by fedora-review 0.10.0 (e79b66b) last change: 2023-07-24 Command line :/usr/bin/fedora-review -b 2353415 Buildroot used: fedora-rawhide-x86_64 Active plugins: Generic, Shell-api, C/C++ Disabled plugins: Haskell, R, SugarActivity, Perl, PHP, Ocaml, Python, fonts, Java Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH Comments: a) Koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=136656928 b) Does libstroke.m4 need to be packaged? c) Doc package is small. Perhaps just put the contents in the main package. d) Website seems incorrect: https://etla.net You may need to take up library maintenance as it seems to have been abandoned upstream. Maybe there is an alternative library that can be used by librnd? e) COPYING file should be marked as a license.
Spec URL: https://download.copr.fedorainfracloud.org/results/s-kro/libstroke/fedora-rawhide-x86_64/09649408-libstroke/libstroke.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/s-kro/libstroke/fedora-rawhide-x86_64/09649408-libstroke/libstroke-0.5.6-1.fc44.src.rpm b) Does libstroke.m4 need to be packaged? Starting to rewrite the auto tools to eliminate the m4 macros c) Doc package is small. Perhaps just put the contents in the main package. Done d) Website seems incorrect: https://etla.net You may need to take up library maintenance as it seems to have been abandoned upstream. Maybe there is an alternative library that can be used by librnd? Took it over. It is on my GitHub as per the spec file e) COPYING file should be marked as a license. Done
Created attachment 2108919 [details] The .spec file difference from Copr build 9459355 to 9649477
Copr build: https://copr.fedorainfracloud.org/coprs/build/9649477 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2353415-libstroke/fedora-rawhide-x86_64/09649477-libstroke/fedora-review/review.txt Found issues: - A package with this name already exists. Please check https://src.fedoraproject.org/rpms/libstroke Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names Please know that there can be false-positives. --- 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.