diff --git a/hunspell-cv.spec b/hunspell-cv.spec index 6dafd4e..af5ca23 100644 --- a/hunspell-cv.spec +++ b/hunspell-cv.spec @@ -17,9 +17,11 @@ Chuvash hunspell dictionaries. %setup -q -c %build -tr -d '\r' < license.txt > license.txt.new -touch -r license.txt license.txt.new -mv -f license.txt.new license.txt +for i in license.txt; do + tr -d '\r' < $i > $i.new + touch -r $i $i.new + mv -f $i.new $i +done %install rm -rf $RPM_BUILD_ROOT