commit a9624a027b6e00ee191613cac8c49db7fcd3c5e7
parent 6220adecce6988ea790266459d76d64608388019
Author: lash <dev@holbrook.no>
Date: Sun, 29 Sep 2024 19:25:04 +0100
Remove obsolete ini check
Diffstat:
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/Bluto.pm b/Bluto.pm
@@ -131,15 +131,17 @@ sub _set_triple {
return 0;
}
-sub _check_ini {
+#sub _check_ini {
+sub _check_yml {
my $env = shift;
- my $fp = File::Spec->catfile($env->{src_dir}, 'bluto.ini');
+ #my $fp = File::Spec->catfile($env->{src_dir}, 'bluto.ini');
+ my $fp = File::Spec->catfile($env->{src_dir}, 'bluto.yml');
if ( ! -f $fp ) {
- error('ini file not found: ' . $fp);
+ error('yml file not found: ' . $fp);
return 1;
}
- debug('using ini file: ' . $fp);
+ debug('using yml file: ' . $fp);
return 0;
}
@@ -193,7 +195,8 @@ sub check_sanity {
my $r = 0;
$r += _check_readme($env);
- $r += _check_ini($env);
+ #$r += _check_ini($env);
+ $r += _check_yml($env);
$r += _check_version($env);
return $r;
diff --git a/Bluto/RSS.pm b/Bluto/RSS.pm
@@ -49,6 +49,9 @@ sub process {
description => $release->{summary},
guid => $release->{uri},
dc => {
+ subject => $release->{name},
+ rights => 'Copyright ' . $release->{copyright} . ' (License: ' . $release->{license} . ')',
+ license => $release->{license},
date => DateTime->now()->stringify(),
creator => $release->{_author_maintainer}[0],
publisher => $release->{_author_maintainer}[0],