The seismic records of target response spectrum used in the time-history analysis should be allowed to meet the norms. However, the previous fitting methods of target spectrum are mostly for the situations that the target spectrum is a smooth curve. In many cases, it needs to match unsmooth target spectrum for single determined response spectrum. An adjustment of time history via wavelet packet transform was presented, which is able to fit unsmooth target spectrum. It was found that there is a certain bias between the band center frequency of the component of seismic record after wavelet packet decomposition and the peak frequency of response spectra of wavelet packet components. For this reason, five strategies were presented to select iteration points, and the effects of the five strategies were compared with two calculation examples. It was turned out that the peak frequency of the response spectrum of wavelet packet component can lead to good fitting effect when it is selected as the iteration point. In the iteration process, it shows great promise in fitting non-smooth target spectrum and has a trend of converge.