[PD-dev] RPM spec for Pd

Vitaly Dolgov vitaly.dolgov at posteo.net
Thu Feb 25 17:57:51 CET 2021


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20210225/c5c5b01d/attachment.htm>


More information about the Pd-dev mailing list