]> git.pld-linux.org Git - packages/libmikmod.git/commitdiff
- fix library install. need to have executable bit set for rpm autodeps to work;... auto/th/libmikmod-3_1_12-2
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 10 Jul 2011 16:14:50 +0000 (16:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    install-exec.patch -> 1.1
    libmikmod.spec -> 1.61

install-exec.patch [new file with mode: 0644]
libmikmod.spec

diff --git a/install-exec.patch b/install-exec.patch
new file mode 100644 (file)
index 0000000..3d230b4
--- /dev/null
@@ -0,0 +1,11 @@
+--- libmikmod-3.1.12/libmikmod/Makefile.in~    2011-07-10 19:03:26.000000000 +0300
++++ libmikmod-3.1.12/libmikmod/Makefile.in     2011-07-10 19:07:18.167133434 +0300
+@@ -51,7 +51,7 @@
+ install:      $(LIB)
+       $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
+-      $(LIBTOOL) --mode=install $(INSTALL) -m 644 $(LIB) $(DESTDIR)$(libdir)
++      $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(LIB) $(DESTDIR)$(libdir)
+ uninstall:    $(LIB)
+       $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(LIB)
index 14e049c0ea6085da9328ed541e1c3ee51825dd94..38bc4149533fa5cd0bf876f89b4e535685c9ea6b 100644 (file)
@@ -2,7 +2,7 @@
 # Conditional build:
 %bcond_with    alsa    # ALSA support; warning: SIGSEGV while using oss
 %bcond_with    esound  # EsounD support
-#
+
 Summary:       libmikmod - a portable sound library for Unix
 Summary(es.UTF-8):     Biblioteca de sonidos libmikmod
 Summary(fr.UTF-8):     Bibliothèque sonore libmikmod
@@ -12,13 +12,14 @@ Summary(ru.UTF-8):  Звуковая библиотека libmikmod
 Summary(uk.UTF-8):     Звукова бібліотека libmikmod
 Name:          libmikmod
 Version:       3.1.12
-Release:       1
+Release:       2
 License:       LGPL v2+
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/mikmod/%{name}-%{version}.tar.gz
 # Source0-md5: 9f3c740298260d5f88981fc0d51f6f16
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-AC_LIBOBJ.patch
+Patch2:                install-exec.patch
 URL:           http://mikmod.raphnet.net/
 %{?with_alsa:BuildRequires:    alsa-lib-devel}
 BuildRequires: audiofile-devel
@@ -140,6 +141,7 @@ Bibliotecas estáticas para desenvolvimento com libmikmod.
 %setup -q
 %patch0 -p0
 %patch1 -p1
+%patch2 -p1
 
 %build
 #cp -f /usr/share/automake/{config.*,missing} .
@@ -156,10 +158,11 @@ Bibliotecas estáticas para desenvolvimento com libmikmod.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{_infodir}/dir
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.07287 seconds and 4 git commands to generate.