From b45c7357ae9a109ebc87cf0faaa4cf31081e5e30 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sat, 13 Feb 2016 13:05:50 +0100 Subject: [PATCH] use %autosetup --- cppunit.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cppunit.spec b/cppunit.spec index 689e980..5fb5f70 100644 --- a/cppunit.spec +++ b/cppunit.spec @@ -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