]> git.pld-linux.org Git - packages/libmd.git/commitdiff
- set proper soname for shared lib martin.hinner.info-implementation auto/th/libmd-0.3-3
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 31 Oct 2018 18:34:01 +0000 (19:34 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 31 Oct 2018 18:34:01 +0000 (19:34 +0100)
- rel 3

libmd.spec
soname.patch [new file with mode: 0644]

index 153e1a29368d6bf13ffd92c846bee77b25353d2e..e65480b79b9130a9031cc62673f796729d7d34cb 100644 (file)
@@ -2,13 +2,14 @@ Summary:      Message digest library
 Summary(pl.UTF-8):     Biblioteka skrótów wiadomości (Message Digest)
 Name:          libmd
 Version:       0.3
-Release:       2
+Release:       3
 License:       RSA non-commercial (MD2), RSA BSD-like (MD4), Public Domain (MD5)
 Group:         Libraries
 Source0:       ftp://ftp.penguin.cz/pub/users/mhi/libmd/%{name}-%{version}.tar.bz2
 # Source0-md5: 1db1795b7e87bbda542e4c33b6ce5566
 Patch0:                %{name}-install.patch
 Patch1:                %{name}-types.patch
+Patch2:                soname.patch
 URL:           http://martin.hinner.info/libmd/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -61,6 +62,7 @@ Statyczna biblioteka libmd.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 cp -f /usr/share/automake/config.* .
diff --git a/soname.patch b/soname.patch
new file mode 100644 (file)
index 0000000..77b638d
--- /dev/null
@@ -0,0 +1,11 @@
+--- libmd-0.3/Makefile.in~     2018-10-31 19:29:24.000000000 +0100
++++ libmd-0.3/Makefile.in      2018-10-31 19:31:27.028214752 +0100
+@@ -94,7 +94,7 @@
+       cat md5.copyright >> $@
+ libmd.so.1.0: $(OBJ)
+-      $(CC) -shared -o libmd.so.1.0 $(OBJ)
++      $(CC) -shared -Wl,-soname,libmd.so.1 -o libmd.so.1.0 $(OBJ)
+ libmd.a:      $(OBJ)
+       rm -f libmd.a
This page took 0.087952 seconds and 4 git commands to generate.