Attempt to fix the RPM build

This commit is contained in:
Eelco Dolstra 2018-07-31 14:03:19 +02:00
parent bd19959d90
commit 607e75083a
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -152,11 +152,11 @@ systemctl start nix-daemon.socket
%{_prefix}/lib/systemd/system/nix-daemon.service %{_prefix}/lib/systemd/system/nix-daemon.service
%endif %endif
%{_datadir}/nix %{_datadir}/nix
%if ! %{without docgen} #%if ! %{without docgen}
%{_mandir}/man1/*.1* #%{_mandir}/man1/*.1*
%{_mandir}/man5/*.5* #%{_mandir}/man5/*.5*
%{_mandir}/man8/*.8* #%{_mandir}/man8/*.8*
%endif #%endif
%config(noreplace) %{_sysconfdir}/profile.d/nix.sh %config(noreplace) %{_sysconfdir}/profile.d/nix.sh
%config(noreplace) %{_sysconfdir}/profile.d/nix-daemon.sh %config(noreplace) %{_sysconfdir}/profile.d/nix-daemon.sh
/nix /nix
@ -166,8 +166,8 @@ systemctl start nix-daemon.socket
%{_prefix}/lib/pkgconfig/*.pc %{_prefix}/lib/pkgconfig/*.pc
%if ! %{without docgen} #%if ! %{without docgen}
%files doc #%files doc
%docdir %{_defaultdocdir}/%{name}-doc-%{version} #%docdir %{_defaultdocdir}/%{name}-doc-%{version}
%{_defaultdocdir}/%{name}-doc-%{version} #%{_defaultdocdir}/%{name}-doc-%{version}
%endif #%endif