use %autosetup

This commit is contained in:
David Tardon 2016-02-13 13:05:50 +01:00
parent 640b7fe6e0
commit b45c7357ae

View File

@ -36,9 +36,7 @@ The cppunit-doc package contains HTML formatted API documention generated by
the popular doxygen documentation generation tool.
%prep
%setup -q
%patch0 -p1 -b .nolibdir
%patch1 -p1 -b .fsf-address
%autosetup -p1
for file in THANKS ChangeLog NEWS; do
iconv -f latin1 -t utf8 < $file > ${file}.utf8
touch -c -r $file ${file}.utf8