Really fix the RPM build
This commit is contained in:
		
							parent
							
								
									3b8946e09a
								
							
						
					
					
						commit
						dfcd78d851
					
				
					 1 changed files with 0 additions and 7 deletions
				
			
		| 
						 | 
					@ -87,11 +87,6 @@ the emacs-%{name} package to edit Nix expressions with GNU Emacs.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%prep
 | 
					%prep
 | 
				
			||||||
%setup -q
 | 
					%setup -q
 | 
				
			||||||
# Install Perl modules to vendor_perl
 | 
					 | 
				
			||||||
# configure.ac need to be changed to make this global; however, this will
 | 
					 | 
				
			||||||
# also affect NixOS. Use discretion.
 | 
					 | 
				
			||||||
%{__sed} -i 's|perl5/site_perl/$perlversion/$perlarchname|perl5/vendor_perl|' \
 | 
					 | 
				
			||||||
  configure
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%build
 | 
					%build
 | 
				
			||||||
| 
						 | 
					@ -164,8 +159,6 @@ systemctl start  nix-daemon.socket
 | 
				
			||||||
%files
 | 
					%files
 | 
				
			||||||
%{_bindir}/nix*
 | 
					%{_bindir}/nix*
 | 
				
			||||||
%{_libdir}/*.so
 | 
					%{_libdir}/*.so
 | 
				
			||||||
%{perl_vendorarch}/*
 | 
					 | 
				
			||||||
%exclude %dir %{perl_vendorarch}/auto/
 | 
					 | 
				
			||||||
%{_prefix}/libexec/*
 | 
					%{_prefix}/libexec/*
 | 
				
			||||||
%if ! 0%{?rhel} || 0%{?rhel} >= 7
 | 
					%if ! 0%{?rhel} || 0%{?rhel} >= 7
 | 
				
			||||||
%{_prefix}/lib/systemd/system/nix-daemon.socket
 | 
					%{_prefix}/lib/systemd/system/nix-daemon.socket
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue