- Fix permission on installed manpages (#469936)

This commit is contained in:
Hans de Goede 2008-11-05 14:26:09 +00:00
parent 9647376492
commit bc897a9519
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,14 @@
diff -up isomd5sum-1.0.4/Makefile.orig isomd5sum-1.0.4/Makefile
--- isomd5sum-1.0.4/Makefile.orig 2008-11-05 15:12:05.000000000 +0100
+++ isomd5sum-1.0.4/Makefile 2008-11-05 15:16:25.000000000 +0100
@@ -41,8 +41,8 @@ install: all
mkdir -p $(DESTDIR)/usr/share/man/man1
install -m 755 implantisomd5 $(DESTDIR)/usr/bin
install -m 755 checkisomd5 $(DESTDIR)/usr/bin
- install -m 755 implantisomd5.1 $(DESTDIR)/usr/share/man/man1
- install -m 755 checkisomd5.1 $(DESTDIR)/usr/share/man/man1
+ install -m 644 implantisomd5.1 $(DESTDIR)/usr/share/man/man1
+ install -m 644 checkisomd5.1 $(DESTDIR)/usr/share/man/man1
install -m 755 pyisomd5sum.so $(DESTDIR)/usr/$(LIBDIR)/$(PYTHON)/site-packages
# ln -s ../../bin/implantisomd5 $(DESTDIR)/usr/lib/anaconda-runtime/implantisomd5
# ln -s ../../bin/checkisomd5 $(DESTDIR)/usr/lib/anaconda-runtime/checkisomd5

View File

@ -3,13 +3,14 @@
Summary: Utilities for working with md5sum implanted in ISO images
Name: isomd5sum
Version: 1.0.4
Release: 2
Release: 3%{?dist}
Epoch: 1
License: GPLv2+
Group: Applications/System
URL: http://git.fedorahosted.org/git/?p=isomd5sum.git;a=summary
Source0: http://fedorahosted.org/releases/i/s/isomd5sum/%{name}-%{version}.tar.bz2
Patch0: isomd5sum-1.0.4-sparc64.patch
Patch1: isomd5sum-1.0.4-manpage-permissions.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python-devel popt-devel
@ -30,6 +31,7 @@ implanting and checking.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
make
@ -56,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.a
%changelog
* Wed Nov 5 2008 Hans de Goede <hdegoede@redhat.com> - 1:1.0.4-3
- Fix permission on installed manpages (#469936)
* Thu Apr 24 2008 Dennis Gilmore <dennis@ausil.us> - 1:1.0.4-2
- add patch for making libdir /usr/lib64 for sparc64