diff --git a/btrfsprogs.changes b/btrfsprogs.changes index 0de69d9..2ac43d4 100644 --- a/btrfsprogs.changes +++ b/btrfsprogs.changes @@ -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 diff --git a/btrfsprogs.spec b/btrfsprogs.spec index 7943f51..a490802 100644 --- a/btrfsprogs.spec +++ b/btrfsprogs.spec @@ -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