Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
		
							parent
							
								
									4fe0d7c310
								
							
						
					
					
						commit
						08f9f3393f
					
				
							
								
								
									
										20
									
								
								pcre.spec
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								pcre.spec
									
									
									
									
									
								
							| @ -2,7 +2,7 @@ | ||||
| #%%global rcversion RC1 | ||||
| Name:       pcre | ||||
| Version:    8.41 | ||||
| Release:    %{?rcversion:0.}5%{?rcversion:.%rcversion}%{?dist} | ||||
| Release:    %{?rcversion:0.}5%{?rcversion:.%rcversion}%{?dist}.1 | ||||
| %global myversion %{version}%{?rcversion:-%rcversion} | ||||
| Summary:    Perl-compatible regular expression library | ||||
| ## Source package only: | ||||
| @ -183,17 +183,10 @@ ulimit -s 10240 | ||||
| %endif | ||||
| make %{?_smp_mflags} check VERBOSE=yes | ||||
| 
 | ||||
| %post -p /sbin/ldconfig | ||||
| %postun -p /sbin/ldconfig | ||||
| 
 | ||||
| %post utf16 -p /sbin/ldconfig | ||||
| %postun utf16 -p /sbin/ldconfig | ||||
| 
 | ||||
| %post utf32 -p /sbin/ldconfig | ||||
| %postun utf32 -p /sbin/ldconfig | ||||
| 
 | ||||
| %post cpp -p /sbin/ldconfig | ||||
| %postun cpp -p /sbin/ldconfig | ||||
| %ldconfig_scriptlets | ||||
| %ldconfig_scriptlets utf16 | ||||
| %ldconfig_scriptlets utf32 | ||||
| %ldconfig_scriptlets cpp | ||||
| 
 | ||||
| %files | ||||
| %{_libdir}/libpcre.so.* | ||||
| @ -240,6 +233,9 @@ make %{?_smp_mflags} check VERBOSE=yes | ||||
| %{_mandir}/man1/pcretest.* | ||||
| 
 | ||||
| %changelog | ||||
| * Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.41-5.1 | ||||
| - Switch to %%ldconfig_scriptlets | ||||
| 
 | ||||
| * Tue Jan 30 2018 Petr Pisar <ppisar@redhat.com> - 8.41-5 | ||||
| - Fix out-of-bounds read for partial matching of /./ against an empty string | ||||
|   when the newline type is CRLF (upstream bug #2226) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user