Files
par/par.diff
Martin Pluskal a869d4cc74 Accepting request 702073 from home:dgm816:branches:openSUSE:Factory
revert package to original application source code and moderize spec file. par2cmdline moved to own package (see request id 702072)

OBS-URL: https://build.opensuse.org/request/show/702073
OBS-URL: https://build.opensuse.org/package/show/Archiving/par?expand=0&rev=11
2019-05-22 08:37:11 +00:00

17 lines
427 B
Diff

--- Makefile
+++ Makefile 2004/02/08 19:43:02
@@ -1,5 +1,5 @@
-CFLAGS=-g -W -Wall -Wno-unused -O2
+CFLAGS=-g -W -Wall -Wno-unused $(RPM_OPT_FLAGS)
par: backend.o checkpar.o makepar.o rwpar.o rs.o md5.o fileops.o main.o readoldpar.o interface.o ui_text.o
$(CC) -o $@ $^
@@ -14,4 +14,5 @@
make CC="dos-gcc -s"
install: par
- install par ${HOME}/bin/
+ install -d $(DESTDIR)/usr/bin/
+ install par $(DESTDIR)/usr/bin/