SHA256
1
0
forked from pool/libtomcrypt
libtomcrypt/libtomcrypt-makefile.shared.patch
Darin Perusich c1b87cbf61 - rename to libtomcrypt.{spec,changes} and the patch,
there's not osc move|copy so I just cp'd them.
- update packaging for share-lib policy
- fix license

- Remove redundant tags/sections per specfile guideline suggestions
- Parallel building using %_smp_mflags
- Add libtool as BuildRequires for factory/12.2

- Spec file cleaned with spec-cleaner.

OBS-URL: https://build.opensuse.org/package/show/security/libtomcrypt?expand=0&rev=2
2014-07-03 16:32:06 +00:00

29 lines
1.6 KiB
Diff

diff -Naurh makefile.shared libtomcrypt-1.17/makefile.shared
--- makefile.shared 2009-05-04 09:24:31.000000000 -0300
+++ libtomcrypt-1.17/makefile.shared 2009-05-04 09:25:06.000000000 -0300
@@ -244,7 +244,7 @@
library: $(LIBNAME)
testprof/$(LIBTEST):
- cd testprof ; CFLAGS="$(CFLAGS)" GROUP=$(GROUP) USER=$(USER) VERSION=$(VERSION) LIBPATH=$(LIBPATH) LIBTEST=$(LIBTEST) LIBTEST_S=$(LIBTEST_S) make -f makefile.shared
+ cd testprof ; CFLAGS="$(CFLAGS)" VERSION=$(VERSION) LIBPATH=$(LIBPATH) LIBTEST=$(LIBTEST) LIBTEST_S=$(LIBTEST_S) make -f makefile.shared
objs: $(OBJECTS)
@@ -252,11 +252,11 @@
libtool --silent --mode=link gcc $(CFLAGS) `find . -type f | grep "[.]lo" | grep "src/" | xargs` $(EXTRALIBS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
install: $(LIBNAME)
- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
- cd testprof ; CFLAGS="$(CFLAGS)" GROUP=$(GROUP) USER=$(USER) VERSION=$(VERSION) LIBPATH=$(LIBPATH) LIBTEST=$(LIBTEST) LIBTEST_S=$(LIBTEST_S) DESTDIR=$(DESTDIR) make -f makefile.shared install
+ install -d $(DESTDIR)$(LIBPATH)
+ cd testprof ; CFLAGS="$(CFLAGS)" VERSION=$(VERSION) LIBPATH=$(LIBPATH) LIBTEST=$(LIBTEST) LIBTEST_S=$(LIBTEST_S) DESTDIR=$(DESTDIR) make -f makefile.shared install
libtool --silent --mode=install install -c libtomcrypt.la $(DESTDIR)$(LIBPATH)/libtomcrypt.la
- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
- install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
+ install -d $(DESTDIR)$(INCPATH)
+ install $(HEADERS) $(DESTDIR)$(INCPATH)
#This rule makes the hash program included with libtomcrypt
hashsum: library