fix ghc_fix_doc_perms only to touch files not dirs
testcase: MissingH announcements/
This commit is contained in:
parent
ce5d10cf61
commit
db0d821b08
@ -7,8 +7,8 @@
|
||||
%endif
|
||||
|
||||
Name: ghc-rpm-macros
|
||||
Version: 2.2.2
|
||||
Release: 2%{?dist}
|
||||
Version: 2.2.3
|
||||
Release: 1%{?dist}
|
||||
Summary: RPM macros for building Haskell packages for GHC
|
||||
|
||||
License: GPLv3+
|
||||
@ -184,6 +184,9 @@ EOF
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Jul 10 2021 Jens Petersen <petersen@redhat.com> - 2.2.3-1
|
||||
- fix ghc_fix_doc_perms only to touch files not dirs
|
||||
|
||||
* Thu Jun 17 2021 Jens Petersen <petersen@redhat.com> - 2.2.2-2
|
||||
- haddock has not used hscolour for a long time
|
||||
|
||||
|
@ -128,7 +128,7 @@ fi\
|
||||
# workaround Cabal bug causing executable extra-source-files
|
||||
%ghc_fix_doc_perms\
|
||||
for f in $(ls | grep -i -e '^\\(ANNOUNCE\\|AUTHORS\\|CHANGELOG\\|CHANGES\\|CONTRIBUTORS\\|README\\|TODO\\)'); do\
|
||||
if [ -x $f ]; then chmod a-x $f; fi\
|
||||
if [ -f $f -a -x $f ]; then chmod a-x $f; fi\
|
||||
done\
|
||||
%{nil}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user