Hi all,

I'm having a weird error bundling my Python project (worked fine before).
I did a massive refactoring of it to try to drop reference of setup.py and
migrate to pyproject.toml and I feel it was a pretty good success. I wanted
to modernize the platform and her to the %pyproject_* structure now but I'm
unable to rebuild my rpms:
```
# The following works perfect:
git clone [email protected]:caronc/apprise.git
cd apprise
docker compose run --rm rpmbuild.el9 bash build-rpm.sh
docker compose run --rm rpmbuild.f42 bash build-rpm.sh

# Observe RPMs that are built fine:
find dist -type f

# dist/apprise-1.9.4.tar.gz
# dist/rpm/python-apprise-1.9.4-1.fc42.src.rpm
# dist/rpm/python-apprise-1.9.4-1.el9.src.rpm
# dist/rpm/noarch/apprise-1.9.4-1.fc42.noarch.rpm
# dist/rpm/noarch/python3-apprise-1.9.4-1.el9.noarch.rpm
# dist/rpm/noarch/apprise-1.9.4-1.el9.noarch.rpm
# dist/rpm/noarch/python3-apprise-1.9.4-1.fc42.noarch.rpm
```

# HOWEVER with koji rawhide... not so much (and purpose of this email)
See: https://koji.fedoraproject.org/koji/taskinfo?taskID=135693691

Any advice would be most appreciated; Once this works, I can gracefully
close https://bugzilla.redhat.com/show_bug.cgi?id=2377453.

Even a manual process works great (should there be concern about what is in
my scripts)
```
docker-compose run --rm rpmbuild.f42 bash
APPRISE_DIR=$(pwd)
DIST_DIR=$APPRISE_DIR/dist
spectool -g $APPRISE_DIR/packaging/redhat/python-apprise.spec
mv apprise-1.9.4.tar.gz dist/
rpmbuild --define "_topdir $APPRISE_DIR" \
         --define "_sourcedir $APPRISE_DIR/SOURCES" \
         --define "_specdir $APPRISE_DIR/packaging/redhat" \
         --define "_srcrpmdir $APPRISE_DIR/SRPMS" \
         --define "_rpmdir $DIST_DIR" \
         -ba "$APPRISE_DIR/packaging/redhat/python-apprise.spec"
```
Quick link to my repository if that helps too:
https://github.com/caronc/apprise

I have a hunch it will just turn out to be something obvious that my brain
spent to much time overlooking. Turning to you all for help 🙏

Thank you in advance!

Chris
-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to