SHA256
1
0
forked from pool/utempter
utempter/utempter-no-staticlib.patch
Marcus Meissner 53cd725363 Accepting request 800702 from home:pgajdos:libexec
- version update to 1.2.0
  * maintenance work:
    https://github.com/altlinux/libutempter/commits/
- modified patches
  % utempter-no-staticlib.patch (refreshed)
- modified sources
  % utempter.keyring
- set now libexecdir=%{_libexecdir} as utemper binary complies FHS
  definition

OBS-URL: https://build.opensuse.org/request/show/800702
OBS-URL: https://build.opensuse.org/package/show/Base:System/utempter?expand=0&rev=33
2020-05-06 12:45:38 +00:00

22 lines
931 B
Diff

Index: libutempter-1.2.0/Makefile
===================================================================
--- libutempter-1.2.0.orig/Makefile 2020-05-06 13:48:03.671980211 +0200
+++ libutempter-1.2.0/Makefile 2020-05-06 13:48:03.683980273 +0200
@@ -27,7 +27,7 @@ SONAME = $(SHAREDLIB).$(MAJOR)
STATICLIB = lib$(PROJECT).a
MAP = lib$(PROJECT).map
-TARGETS = $(PROJECT) $(SHAREDLIB) $(STATICLIB)
+TARGETS = $(PROJECT) $(SHAREDLIB)
INSTALL = install
libdir = /usr/lib
@@ -85,7 +85,6 @@ install:
$(INSTALL) -p -m2711 $(PROJECT) $(DESTDIR)$(libexecdir)/$(PROJECT)/
$(INSTALL) -p -m644 $(PROJECT).h $(DESTDIR)$(includedir)/
$(INSTALL) -p -m755 $(SHAREDLIB) $(DESTDIR)$(libdir)/$(SHAREDLIB).$(VERSION)
- $(INSTALL) -p -m644 $(STATICLIB) $(DESTDIR)$(libdir)/
ln -s $(SHAREDLIB).$(VERSION) $(DESTDIR)$(libdir)/$(SONAME)
ln -s $(SONAME) $(DESTDIR)$(libdir)/$(SHAREDLIB)
$(INSTALL) -p -m644 $(PROJECT).3 $(DESTDIR)$(man3dir)/