Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
		
							parent
							
								
									1d0fc706a8
								
							
						
					
					
						commit
						a48c88f932
					
				| @ -7,7 +7,7 @@ | |||||||
| Name:           libdrm | Name:           libdrm | ||||||
| Summary:        Direct Rendering Manager runtime library | Summary:        Direct Rendering Manager runtime library | ||||||
| Version:        2.4.89 | Version:        2.4.89 | ||||||
| Release:        1%{?dist} | Release:        2%{?dist} | ||||||
| License:        MIT | License:        MIT | ||||||
| 
 | 
 | ||||||
| URL:            https://dri.freedesktop.org | URL:            https://dri.freedesktop.org | ||||||
| @ -96,8 +96,7 @@ find %{buildroot} -type f -name "*.la" -delete | |||||||
| 
 | 
 | ||||||
| rm -f %{buildroot}%{_includedir}/%{name}/{r300_reg.h,via_3d_reg.h} | rm -f %{buildroot}%{_includedir}/%{name}/{r300_reg.h,via_3d_reg.h} | ||||||
| 
 | 
 | ||||||
| %post -p /sbin/ldconfig | %ldconfig_scriptlets | ||||||
| %postun -p /sbin/ldconfig |  | ||||||
| 
 | 
 | ||||||
| %files | %files | ||||||
| %doc README | %doc README | ||||||
| @ -229,6 +228,9 @@ rm -f %{buildroot}%{_includedir}/%{name}/{r300_reg.h,via_3d_reg.h} | |||||||
| %{_mandir}/man7/drm*.7* | %{_mandir}/man7/drm*.7* | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.4.89-2 | ||||||
|  | - Switch to %%ldconfig_scriptlets | ||||||
|  | 
 | ||||||
| * Mon Dec 18 2017 Dave Airlie <airlied@redhat.com> - 2.4.89-1 | * Mon Dec 18 2017 Dave Airlie <airlied@redhat.com> - 2.4.89-1 | ||||||
| - Update to 2.4.89 | - Update to 2.4.89 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user