Spec URL: https://avsej.fedorapeople.org/nim/0/nim.spec SRPM URL: https://avsej.fedorapeople.org/nim/0/nim-0.17.2-1.fc28.src.rpm Description: Nim (formerly known as "Nimrod") is a compiled, garbage-collected systems programming language which has an excellent productivity/performance ratio. Nim's design focuses on efficiency, expressiveness, elegance (in the order of priority). Fedora Account System Username: avsej Koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=23020327
- Simplify %files: %files %license copying.txt dist/nimble/license.txt %doc %{_docdir}/nim/ %{_bindir}/nim* %config(noreplace) %{_sysconfdir}/*.cfg %{_datadir}/nim/ %{_datadir}/nimble/ %{_mandir}/man1/nim*.1* %{bashcompdir}/nim* %attr(0755, root, root) is not needed as it is the default. - You might want to consider creating your own RPM macros for this new languaqe in /usr/lib/rpm/macros.d/ , like %nim_arches for defining ExclusiveArches of nim and others to ease the packaging of nim apps.
Thank you for your notes. I've fixed file list, and added macro, although nim.spec itself still using ExcludeArch. I believe later, macro file will be transferred to redhat-rpm-config, or I will extract it to separate package, or just port nim to s390x :) Spec URL: https://avsej.fedorapeople.org/nim/1/nim.spec SRPM URL: https://avsej.fedorapeople.org/nim/1/nim-0.17.2-1.fc28.src.rpm Koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=23051441
I don't see any changes in %files. I didn't mean you should add the macros to this package, you could create a separate package, like nim-packaging, for the macros. I don't know how nim package are built, but you could provide other macros in the future for %build, %install, %check and so on if they are standardized.
I see. I haven't packaged any library which using nim-specific package distribution (nimble), but I was going to do it. It makes sense to do before compiler itself will be approved. Regarding %files, I've removed %attr. What do you mean, when you say "simplify"?
See what I posted above: remove the %dir and remove the asterisk after the directories: %files %license copying.txt dist/nimble/license.txt %doc %{_docdir}/nim/ %{_bindir}/nim* %config(noreplace) %{_sysconfdir}/*.cfg %{_datadir}/nim/ %{_datadir}/nimble/ %{_mandir}/man1/nim*.1* %{bashcompdir}/nim*
I have created separate another package in https://bugzilla.redhat.com/show_bug.cgi?id=1512228, and now I will try to buildroot-override to rebuild this package
I have updated file list and added more fixes and enhancements, like forcing Fedora hardened compiler flags, building HTML docs, extracting optional tools into separate package etc. Spec URL: https://avsej.fedorapeople.org/nim/2/nim.spec SRPM URL: https://avsej.fedorapeople.org/nim/2/nim-0.17.2-1.fc28.src.rpm Koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=23151579
All good, package accepted.
(fedrepo-req-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/nim. You may commit to the branch "f27" in about 10 minutes.
nim-0.17.2-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-fdd61480bc
nim-0.17.2-2.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-2017-fdd61480bc
nim-0.17.2-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.