[opensuse-packaging] Docuement not found
Hello Mates, i have the following: Source1: README.SUSE %install install -m644 %{SOURCE1} README.SUSE %doc README.SUSE. But after running the %doc Macro comes: Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rCoBO7 + umask 022 + cd /usr/src/packages/BUILD + cd openemr-3.1.0 + DOCDIR=/usr/src/packages/BUILDROOT/openemr-3.1.0-1.x86_64/usr/share/doc/packages/openemr + export DOCDIR + rm -rf /usr/src/packages/BUILDROOT/openemr-3.1.0-1.x86_64/usr/share/doc/packages/openemr + /bin/mkdir -p /usr/src/packages/BUILDROOT/openemr-3.1.0-1.x86_64/usr/share/doc/packages/openemr + cp -pr README.SUSE /usr/src/packages/BUILDROOT/openemr-3.1.0-1.x86_64/usr/share/doc/packages/openemr cp: cannot stat `README.SUSE': No such file or directory Anyone know what is false? -- Sincerely yours Sascha Manns openSUSE Member openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Fri, Oct 30, 2009 at 04:30:05PM +0100, Sascha 'saigkill' Manns wrote:
%install install -m644 %{SOURCE1} README.SUSE
%doc README.SUSE.
Try %install install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_docdir}/%{name}/README.SUSE [...] %files [...] %doc %{_docdir}/%{name}/README.SUSE Petr
Am Montag 02 November 2009 schrieb Petr Gajdos:
On Fri, Oct 30, 2009 at 04:30:05PM +0100, Sascha 'saigkill' Manns wrote:
%install install -m644 %{SOURCE1} README.SUSE
%doc README.SUSE.
Try
%install install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_docdir}/%{name}/README.SUSE
[...] %files [...] %doc %{_docdir}/%{name}/README.SUSE
Note that you don't need %doc before _docdir, _mandir and _infodir. They are tagged automatically. Just a side note. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Petr Gajdos
-
Sascha 'saigkill' Manns
-
Stephan Kulow