https://bugzilla.novell.com/show_bug.cgi?id=465818
User pgajdos@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465818#c1
--- Comment #1 from Petr Gajdos 2009-01-13 12:28:03 MST ---
This should help:
++++++ man-pages-cs.spec ++++++
--- /var/tmp/diff_new_pack.rZ9978/_old 2009-01-13 20:29:07.000000000 +0100
+++ /var/tmp/diff_new_pack.rZ9978/_new 2009-01-13 20:29:07.000000000 +0100
@@ -25,6 +25,7 @@
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: man-pages-cs-%{version}.tar.bz2
+Patch0: %{name}-destdir.patch
BuildArch: noarch
%description
@@ -46,13 +47,14 @@
Michal Ambro�
%prep
-%setup
+%setup -q
+%patch0
%build
%install
mkdir -p $RPM_BUILD_ROOT%{_mandir}/cs
-make
+DESTDIR=$RPM_BUILD_ROOT make
%if 0%{suse_version} > 1020
%fdupes -s %buildroot
%endif
++++++ man-pages-cs-destdir.patch ++++++
--- Makefile
+++ Makefile
@@ -12,7 +12,7 @@
remove:
# wipe the old pages
- for i in latest/man?; do for j in $$i/*; do k=`basename $$i`; l=`basename
$$j`; rm -f $(MANDIR)/$$k/$$l; done; done
+ for i in latest/man?; do for j in $$i/*; do k=`basename $$i`; l=`basename
$$j`; rm -f $(DESTDIR)$(MANDIR)/$$k/$$l; done; done
latest:
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.