diff --git a/0001-Default-db-name.patch b/0001-Default-db-name.patch deleted file mode 100644 index 3d471b0..0000000 --- a/0001-Default-db-name.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/lib/MirrorCache/Config.pm b/lib/MirrorCache/Config.pm -index fb5565d..2388cf3 100644 ---- a/lib/MirrorCache/Config.pm -+++ b/lib/MirrorCache/Config.pm -@@ -28,7 +28,7 @@ has dbuser => $ENV{MIRRORCACHE_DBUSER}; - has dbpass => $ENV{MIRRORCACHE_DBPASS}; - has dbhost => $ENV{MIRRORCACHE_DBHOST}; - has dbport => $ENV{MIRRORCACHE_DBPORT}; --has dbdb => $ENV{MIRRORCACHE_DB}; -+has dbdb => $ENV{MIRRORCACHE_DB} // 'mirrorcache'; - has dsn => $ENV{MIRRORCACHE_DSN}; - has dsn_replica => $ENV{MIRRORCACHE_DSN_REPLICA}; - has redirect => $ENV{MIRRORCACHE_REDIRECT}; - diff --git a/MirrorCache-1.045.obscpio b/MirrorCache-1.045.obscpio deleted file mode 100644 index bd7c18e..0000000 --- a/MirrorCache-1.045.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:347c825311864ffda16f3508cd0e4c11d72221fd65556162acaef67b5ed343a3 -size 997900 diff --git a/MirrorCache-1.046.obscpio b/MirrorCache-1.046.obscpio new file mode 100644 index 0000000..e97ea05 --- /dev/null +++ b/MirrorCache-1.046.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1029fc4ae4af821fe8cb4b6fe9130535c4d00a649e2568493759d0581380d86b +size 1006092 diff --git a/MirrorCache.changes b/MirrorCache.changes index d74ce36..e1baaf8 100644 --- a/MirrorCache.changes +++ b/MirrorCache.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Nov 17 06:21:34 UTC 2022 - Andrii Nikitin + +- Update to version 1.046: + * Correctly render mirrorlist in browser when file is unknown + * Allow rendering .zsync files + * Render selected mirrors with osm in .mirrorlist + ------------------------------------------------------------------- Fri Nov 11 10:42:10 UTC 2022 - Andrii Nikitin - Add temporary patch for default database name diff --git a/MirrorCache.obsinfo b/MirrorCache.obsinfo index ace8dd7..9b202f5 100644 --- a/MirrorCache.obsinfo +++ b/MirrorCache.obsinfo @@ -1,4 +1,4 @@ name: MirrorCache -version: 1.045 -mtime: 1668159057 -commit: fcd5d312ae28c5f4cfbecd080459289cb50f6b6d +version: 1.046 +mtime: 1668665747 +commit: 53fabc74250862a160fb6cec5a7b3487964ece7c diff --git a/MirrorCache.spec b/MirrorCache.spec index 24610e9..21fd9d9 100644 --- a/MirrorCache.spec +++ b/MirrorCache.spec @@ -22,14 +22,13 @@ %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::Versions) 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) perl(Config::IniFiles) %define build_requires %{assetpack_requires} rubygem(sass) tidy sysuser-shadow sysuser-tools Name: MirrorCache -Version: 1.045 +Version: 1.046 Release: 0 Summary: WebApp to redirect and manage mirrors License: GPL-2.0-or-later Group: Productivity/Networking/Web/Servers URL: https://github.com/openSUSE/MirrorCache Source0: %{name}-%{version}.tar.xz -Patch0: 0001-Default-db-name.patch Source1: cache.tar.xz Source2: %{name}-user.conf Source3: %{name}-tmpfilesd.conf @@ -45,7 +44,7 @@ BuildArch: noarch Mirror redirector web service, which automatically scans the main server and mirrors %prep -%autosetup -p1 +%setup -q -a1 %build # make {?_smp_mflags} diff --git a/cache.tar.xz b/cache.tar.xz index da5ff95..0119a7e 100644 --- a/cache.tar.xz +++ b/cache.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8b9a45ba24087e5ee4521e23e87dbb9181967f3b971b08e23de3a8c96d9be454 -size 971064 +oid sha256:0182ab7353191fc3efbfa978cd96fd636830d508cbac813a53fd136296a6b595 +size 1013292