diff --git a/_service:obs_scm:MirrorCache-1.003.obscpio b/_service:obs_scm:MirrorCache-1.003.obscpio deleted file mode 100644 index f5d90bc..0000000 --- a/_service:obs_scm:MirrorCache-1.003.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d338191df6b87a63a367a9a857d174d1f2a67c85c32784da1b91fc1c61a0b44b -size 667660 diff --git a/_service:obs_scm:MirrorCache-1.004.obscpio b/_service:obs_scm:MirrorCache-1.004.obscpio new file mode 100644 index 0000000..11d2ea1 --- /dev/null +++ b/_service:obs_scm:MirrorCache-1.004.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c1a3b9fe73a555aee79dc87d99153910b2be23bf992e732c5594e22c930ce43 +size 669196 diff --git a/_service:obs_scm:MirrorCache.obsinfo b/_service:obs_scm:MirrorCache.obsinfo index e0307d1..4ed84de 100644 --- a/_service:obs_scm:MirrorCache.obsinfo +++ b/_service:obs_scm:MirrorCache.obsinfo @@ -1,5 +1,5 @@ name: MirrorCache -version: 1.003 -mtime: 1626929755 -commit: e4110383fb7868a7918bb07bbad11be3c12c63ba +version: 1.004 +mtime: 1627047486 +commit: 94ee0788da3605bf899cee56e767e3c2dcfaa7f8 diff --git a/_service:obs_scm:MirrorCache.spec b/_service:obs_scm:MirrorCache.spec index 84ae23d..1a0f9d7 100644 --- a/_service:obs_scm:MirrorCache.spec +++ b/_service:obs_scm:MirrorCache.spec @@ -16,7 +16,7 @@ # -%define mirrorcache_services mirrorcache.service mirrorcache-backstage.service +%define mirrorcache_services mirrorcache.service mirrorcache-backstage.service mirrorcache-backstage-hashes.service %define assetpack_requires perl(CSS::Minifier::XS) >= 0.01 perl(JavaScript::Minifier::XS) >= 0.11 perl(Mojolicious::Plugin::AssetPack) >= 1.36 perl-IO-Socket-SSL %define main_requires %{assetpack_requires} perl(Carp) perl(DBD::Pg) >= 3.7.4 perl(DBI) >= 1.632 perl(DBIx::Class) >= 0.082801 perl(DBIx::Class::DynamicDefault) perl(DateTime) perl(Encode) perl(Time::Piece) perl(Time::Seconds) perl(Time::ParseDate) perl(DateTime::Format::Pg) perl(Exporter) perl(File::Basename) perl(LWP::UserAgent) perl(Mojo::Base) perl(Mojo::ByteStream) perl(Mojo::IOLoop) perl(Mojo::JSON) perl(Mojo::Pg) perl(Mojo::URL) perl(Mojo::Util) perl(Mojolicious::Commands) perl(Mojolicious::Plugin) perl(Mojolicious::Plugin::RenderFile) perl(Mojolicious::Static) perl(Net::OpenID::Consumer) perl(POSIX) perl(Sort::Naturally) perl(URI::Escape) perl(XML::Writer) perl(base) perl(constant) perl(diagnostics) perl(strict) perl(warnings) shadow rubygem(sass) perl-Net-DNS perl-LWP-Protocol-https perl-Digest-SHA %define build_requires %{assetpack_requires} rubygem(sass) tidy sysuser-shadow sysuser-tools @@ -54,6 +54,7 @@ Mirror redirector web service, which automatically scans the main server and mir mkdir -p %{buildroot}%{_sbindir} ln -s ../sbin/service %{buildroot}%{_sbindir}/rcmirrorcache ln -s ../sbin/service %{buildroot}%{_sbindir}/rcmirrorcache-backstage +ln -s ../sbin/service %{buildroot}%{_sbindir}/rcmirrorcache-backstage-hashes install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}.conf install -D -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf @@ -75,6 +76,7 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf %license LICENSE %{_sbindir}/rcmirrorcache %{_sbindir}/rcmirrorcache-backstage +%{_sbindir}/rcmirrorcache-backstage-hashes %{_sysusersdir}/%{name}.conf %{_tmpfilesdir}/%{name}.conf %ghost %dir %attr(0750,mirrorcache,-) %{_localstatedir}/lib/mirrorcache/ @@ -82,6 +84,7 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf %dir %{_unitdir} %{_unitdir}/mirrorcache.service %{_unitdir}/mirrorcache-backstage.service +%{_unitdir}/mirrorcache-backstage-hashes.service # web libs %{_datadir}/mirrorcache %attr(-,mirrorcache,-) %{_datadir}/mirrorcache/assets/cache diff --git a/_service:set_version:obs_scm:MirrorCache.spec b/_service:set_version:obs_scm:MirrorCache.spec index 54fcc07..a59adee 100644 --- a/_service:set_version:obs_scm:MirrorCache.spec +++ b/_service:set_version:obs_scm:MirrorCache.spec @@ -16,12 +16,12 @@ # -%define mirrorcache_services mirrorcache.service mirrorcache-backstage.service +%define mirrorcache_services mirrorcache.service mirrorcache-backstage.service mirrorcache-backstage-hashes.service %define assetpack_requires perl(CSS::Minifier::XS) >= 0.01 perl(JavaScript::Minifier::XS) >= 0.11 perl(Mojolicious::Plugin::AssetPack) >= 1.36 perl-IO-Socket-SSL %define main_requires %{assetpack_requires} perl(Carp) perl(DBD::Pg) >= 3.7.4 perl(DBI) >= 1.632 perl(DBIx::Class) >= 0.082801 perl(DBIx::Class::DynamicDefault) perl(DateTime) perl(Encode) perl(Time::Piece) perl(Time::Seconds) perl(Time::ParseDate) perl(DateTime::Format::Pg) perl(Exporter) perl(File::Basename) perl(LWP::UserAgent) perl(Mojo::Base) perl(Mojo::ByteStream) perl(Mojo::IOLoop) perl(Mojo::JSON) perl(Mojo::Pg) perl(Mojo::URL) perl(Mojo::Util) perl(Mojolicious::Commands) perl(Mojolicious::Plugin) perl(Mojolicious::Plugin::RenderFile) perl(Mojolicious::Static) perl(Net::OpenID::Consumer) perl(POSIX) perl(Sort::Naturally) perl(URI::Escape) perl(XML::Writer) perl(base) perl(constant) perl(diagnostics) perl(strict) perl(warnings) shadow rubygem(sass) perl-Net-DNS perl-LWP-Protocol-https perl-Digest-SHA %define build_requires %{assetpack_requires} rubygem(sass) tidy sysuser-shadow sysuser-tools Name: MirrorCache -Version: 1.003 +Version: 1.004 Release: 0 Summary: WebApp to redirect and manage mirrors License: GPL-2.0-or-later @@ -54,6 +54,7 @@ Mirror redirector web service, which automatically scans the main server and mir mkdir -p %{buildroot}%{_sbindir} ln -s ../sbin/service %{buildroot}%{_sbindir}/rcmirrorcache ln -s ../sbin/service %{buildroot}%{_sbindir}/rcmirrorcache-backstage +ln -s ../sbin/service %{buildroot}%{_sbindir}/rcmirrorcache-backstage-hashes install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}.conf install -D -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf @@ -75,6 +76,7 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf %license LICENSE %{_sbindir}/rcmirrorcache %{_sbindir}/rcmirrorcache-backstage +%{_sbindir}/rcmirrorcache-backstage-hashes %{_sysusersdir}/%{name}.conf %{_tmpfilesdir}/%{name}.conf %ghost %dir %attr(0750,mirrorcache,-) %{_localstatedir}/lib/mirrorcache/ @@ -82,6 +84,7 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf %dir %{_unitdir} %{_unitdir}/mirrorcache.service %{_unitdir}/mirrorcache-backstage.service +%{_unitdir}/mirrorcache-backstage-hashes.service # web libs %{_datadir}/mirrorcache %attr(-,mirrorcache,-) %{_datadir}/mirrorcache/assets/cache