Accepting request 604056 from home:dsterba:branches:filesystems

- fix installation of btrfs.5.gz

OBS-URL: https://build.opensuse.org/request/show/604056
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=296
This commit is contained in:
David Sterba 2018-05-04 15:29:34 +00:00 committed by Git OBS Bridge
parent eda25cc29f
commit a72f1962f4
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 4 00:00:00 CEST 2018 - dsterba@suse.cz
- fix installation of btrfs.5.gz
-------------------------------------------------------------------
Mon Apr 30 14:39:07 UTC 2018 - jeffm@suse.com

View File

@ -204,10 +204,12 @@ make install \
%if !%build_docs
cd Documentation
# fool make to avoid rebuilding some of the sources
# fool make to avoid rebuilding some of the sources, the final btrfs.5.gz is in
# the tarball and we have to overwrite it in the installation path
touch btrfs-man5.5.gz btrfs-man5.asciidoc
touch btrfs-ioctl.asciidoc touch btrfs-ioctl.3.gz
touch btrfs-ioctl.asciidoc btrfs-ioctl.3.gz
make V=1 MV=mv DESTDIR=%{buildroot} prefix=%{_prefix} bindir=%{_sbindir} mandir=%{_mandir} libdir=%{_libdir} install
install -m 0644 btrfs.5.gz %{buildroot}/%{_mandir}/man5
cd ..
%endif