Hi, everybody!

Recently I was working on an RPM spec for Fedora as it doesn't have an officially maintained package, so I began to write my own. The spec is fairly simple, but there is the only one problem I want to discuss with you.

In src/Makefile.am on line 400 there is command for absolute symlink, which is an error for RPM package builder, so I fixed it with the following patch before starting build:

@@ -400 +400 @@
-       $(LN_S) $(DESTDIR)$(bindir)/pd $(DESTDIR)$(libpdbindir)/pd
+       $(LN_S) -r $(DESTDIR)$(bindir)/pd $(DESTDIR)$(libpdbindir)/pd

I was trying to be as close as possible to INSTALL.txt, but I'm a newbie in Pd development as well as in RPM spec writing, so I can do everything completely wrong. I'm sorry if that's the case.

Is it possible to fix the aforementioned issue upstream or is there a better way to approach this problem?

I also noticed that there is an RPM spec in linux/ directory in repo, but is seems it was not updated for 14 years or so. Is there any chance you update it in a future?

Thank you,
Vitaly

_______________________________________________
Pd-dev mailing list
[email protected]
https://lists.puredata.info/listinfo/pd-dev

Reply via email to