Re: RPM packaging help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maxwell,
Does this look better
diff --git a/receptor.spec b/receptor.spec
index 40ed2ac..3b9f9a2 100644
--- a/receptor.spec
+++ b/receptor.spec
@@ -1,13 +1,7 @@
 # Generated by go2rpm 1.9.0
-%bcond_without check
-%bcond_without bundled
-%bcond_without golang_library
-%if %{defined rhel}
-%bcond_without bundled
-%endif
-%if %{with bundled}
-%bcond_with golang_library
-%endif
+%bcond check 1
+%bcond bundled 1
+%bcond golang_library %{without bundled}
 
 %define pyproject_install() %{expand:\\\
 specifier=$(ls %{_pyproject_wheeldir}/*.whl | xargs basename --multiple | sed -E 's/([^-]+)-([^-]+)-.+\\\.whl/\\\1==\\\2/')
@@ -239,6 +233,7 @@ BuildRequires:  python3-devel
 # For Python tests
 BuildRequires:  psmisc
 BuildRequires:  openssh
+BuildRequires: openssl
 
 %description %{common_description}
 
@@ -343,7 +338,7 @@ popd
 %doc README-receptor-python-worker.md
 %{_bindir}/receptor-python-worker
 %{python3_sitelib}/receptor_python_worker/
-%{python3_sitelib}receptor_python_worker-%{version}.dist-info/
+%{python3_sitelib}/receptor_python_worker-%{version}.dist-info/
 
 %if %{without golang_library}
 %gopkgfiles

On Mon, Aug 14, 2023 at 2:55 PM Maxwell G <maxwell@xxxxxxx> wrote:
On Mon Aug 14, 2023 at 12:49 -0400, Andrew Heath wrote:
> Ok, I tried rebuilding on my f38 mock system with the spec and changes and
> running into some issues with the check section, I have attached a link to
> the failed section for review. If i comment out the %check section all
> builds good

You're missing a `BuildRequires: openssl` and
`%{python3_sitelib}receptor_python_worker-%{version}.dist-info/` is
missing a slash after `%{python3_sitelib}`.

Also, you should apply the feedback from the previous post to the
specfile.


--
Best,

Maxwell G (@gotmax23)
Pronouns: He/They
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue


--
Sincerely,
Andrew Heath
aheath1992@xxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux