[Bug 862293] Review Request: wsl - shell based wsman client.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=862293

--- Comment #3 from Mario Blättermann <mario.blaettermann@xxxxxxxxx> ---
Don't gzip the man page. This happens automatically during the build process.

gzip %{_builddir}/%{name}-%{version}/wsl.1
install -m 644 %{_builddir}/%{name}-%{version}/wsl.1.gz
$RPM_BUILD_ROOT%{_mandir}/man1

has to be

install -m 644 %{_builddir}/%{name}-%{version}/wsl.1
$RPM_BUILD_ROOT%{_mandir}/man1


Remove the initial cleaning of buildroot in %install if you don't want to
provide your package for EPEL 5.



You don't have to install the doc files explicitely. Drop the following lines:

mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}
install -m 644 %{_builddir}/%{name}-%{version}/LICENSE
$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}
install -m 644 %{_builddir}/%{name}-%{version}/README-wsl
$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}
install -m 644 %{_builddir}/%{name}-%{version}/VERSION
$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}
install -m 644 %{_builddir}/%{name}-%{version}/wsl-config
$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}

Because you are adding these files to the %doc macro, the appropriate folder
will be created and they will be added automatically.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]