Changeset 122
- Timestamp:
- 03/26/09 21:43:50 (15 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/MANIFEST
r116 r122 1 1 Changes 2 control/md5sum 2 3 epoll.spec.in 3 4 inc/Module/AutoInstall.pm … … 84 85 t/model_Vote.t 85 86 t/view_TT.t 86 vote.yml.example87 epoll.yml.example -
trunk/Makefile.PL
r94 r122 18 18 package MY; 19 19 20 sub distdir { 21 my $dist = shift->SUPER::distdir(@_); 22 $dist =~ s/^(create_distdir :.*)/$1 md5sum/m; 23 $dist 24 } 25 26 sub dist_core { 27 my $dist = shift->SUPER::dist_core(@_); 28 $dist =~ s/^(\S.* :.*)/$1 md5sum/mg; 29 $dist 30 } 31 20 32 sub postamble { 21 33 return " 34 35 md5sum: 36 \tcat MANIFEST | sed 's/\\t.*//' | grep -v control/md5sum | xargs md5sum > control/md5sum 37 38 checkmd5: 39 \tmd5sum -c control/md5sum 40 41 .PHONY: md5sum checkmd5 42 22 43 ChangeLog: 23 44 \tsvn log > ChangeLog -
trunk/epoll.spec.in
r94 r122 28 28 make test 29 29 %endif 30 make checkmd5 30 31 31 32 %install 32 33 rm -rf %buildroot 33 34 %makeinstall_std 35 36 mkdir -p %buildroot/etc 37 install -m 700 epoll.yml.example %buildroot/etc/epoll.yml 34 38 35 39 %clean … … 39 43 %defattr(-,root,root) 40 44 %doc Changes README 45 %config(noreplace) %_sysconfdir/epoll.yml 41 46 %_bindir/* 42 47 %{_mandir}/man3/* -
trunk/lib/Vote.pm
r118 r122 40 40 __PACKAGE__->config( 41 41 'Plugin::ConfigLoader' => { 42 file => -f __PACKAGE__->path_to(' vote.yml')43 ? __PACKAGE__->path_to(' vote.yml')44 : '/etc/ vote.yml',42 file => -f __PACKAGE__->path_to('epoll.yml') 43 ? __PACKAGE__->path_to('epoll.yml') 44 : '/etc/epoll.yml', 45 45 } 46 46 );
Note: See TracChangeset
for help on using the changeset viewer.