[cntlm] Fix empty debuginfo package
Sandro Mani
smani at fedoraproject.org
Mon Aug 26 20:55:26 UTC 2013
commit c26983f06d65ba7c80422b64a2bbcde999f17d01
Author: Sandro Mani <manisandro at gmail.com>
Date: Mon Aug 26 22:55:11 2013 +0200
Fix empty debuginfo package
cntlm.spec | 5 ++++-
cntlm_makefile.patch | 22 +++++++++++++++++++++-
2 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/cntlm.spec b/cntlm.spec
index 03ac3fe..8a2efa7 100644
--- a/cntlm.spec
+++ b/cntlm.spec
@@ -3,7 +3,7 @@
Summary: Fast NTLM authentication proxy with tunneling
Name: cntlm
Version: 0.92.3
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: System Environment/Daemons
URL: http://cntlm.sourceforge.net/
@@ -76,6 +76,9 @@ exit 0
%changelog
+* Mon Aug 26 2013 Sandro Mani <manisandro at gmail.com> - 0.92.3-2
+- Fix debuginfo package empty (rhbz#1001302)
+
* Thu Aug 22 2013 Sandro Mani <manisandro at gmail.com> - 0.92.3-1
- Update to 0.92.3
diff --git a/cntlm_makefile.patch b/cntlm_makefile.patch
index ad44763..e8cf1f3 100644
--- a/cntlm_makefile.patch
+++ b/cntlm_makefile.patch
@@ -1,6 +1,6 @@
diff -rupN cntlm-0.92.3/Makefile cntlm-0.92.3-new/Makefile
--- cntlm-0.92.3/Makefile 2012-03-02 14:18:35.000000000 +0100
-+++ cntlm-0.92.3-new/Makefile 2013-08-22 14:59:16.268333996 +0200
++++ cntlm-0.92.3-new/Makefile 2013-08-26 22:53:33.689327246 +0200
@@ -15,10 +15,8 @@ MANDIR=$(DESTDIR)/usr/share/man
NAME=cntlm
CC=gcc
@@ -14,3 +14,23 @@ diff -rupN cntlm-0.92.3/Makefile cntlm-0.92.3-new/Makefile
ifeq ($(findstring CYGWIN,$(OS)),)
OBJS=utils.o ntlm.o xcrypt.o config.o socket.o acl.o auth.o http.o forward.o direct.o scanner.o pages.o main.o
+@@ -45,16 +43,16 @@ main.o: main.c
+ install: $(NAME)
+ # Special handling for install(1)
+ if [ "`uname -s`" = "AIX" ]; then \
+- install -M 755 -S -f $(BINDIR) $(NAME); \
++ install -M 755 -f $(BINDIR) $(NAME); \
+ install -M 644 -f $(MANDIR)/man1 doc/$(NAME).1; \
+ install -M 600 -c $(SYSCONFDIR) doc/$(NAME).conf; \
+ elif [ "`uname -s`" = "Darwin" ]; then \
+- install -d -m 755 -s $(NAME) $(BINDIR)/$(NAME); \
++ install -d -m 755 $(NAME) $(BINDIR)/$(NAME); \
+ install -d -m 644 doc/$(NAME).1 $(MANDIR)/man1/$(NAME).1; \
+ [ -f $(SYSCONFDIR)/$(NAME).conf -o -z "$(SYSCONFDIR)" ] \
+ || install -d -m 600 doc/$(NAME).conf $(SYSCONFDIR)/$(NAME).conf; \
+ else \
+- install -D -m 755 -s $(NAME) $(BINDIR)/$(NAME); \
++ install -D -m 755 $(NAME) $(BINDIR)/$(NAME); \
+ install -D -m 644 doc/$(NAME).1 $(MANDIR)/man1/$(NAME).1; \
+ [ -f $(SYSCONFDIR)/$(NAME).conf -o -z "$(SYSCONFDIR)" ] \
+ || install -D -m 600 doc/$(NAME).conf $(SYSCONFDIR)/$(NAME).conf; \
More information about the scm-commits
mailing list