Commit 5fae2c69 authored by Lucas Kanashiro's avatar Lucas Kanashiro

Rename and move ddeb patch to the top of the patch series

This patch is upstream-able, then I moved it out from the collabora
directory and put it near the top of the patch series.
parent c567464c
......@@ -11,13 +11,13 @@ makes the changes file inconsistent
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/backend/bs_publish b/src/backend/bs_publish
index 57ed0c6..83d91ac 100755
index 193ddbc..2b47a5d 100755
--- a/src/backend/bs_publish
+++ b/src/backend/bs_publish
@@ -1508,7 +1508,7 @@ sub publish {
$p = "$1/$bin";
$p = $1 eq 'src' || $1 eq 'nosrc' ? "SRPMS/$bin" : "RPMS/$bin" if $repotype{'resarchhack'};
} elsif ($bin =~ /^.+_[^_]+_([^_\.]+)\.u?deb$/) {
} elsif ($bin =~ /^.+_[^_]+_([^_\.]+)\.[ud]?deb$/) {
- $p = "$1/$bin";
+ $p = "$arch/$bin";
} elsif ($bin =~ /\.exe$/) {
......
......@@ -11,7 +11,7 @@ in OBS will also produce packages with this name. Treat them the same as
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/backend/bs_publish b/src/backend/bs_publish
index 6a7a1d5..df545f2 100755
index b4235a4..2d79abb 100755
--- a/src/backend/bs_publish
+++ b/src/backend/bs_publish
@@ -66,7 +66,7 @@ my $extrepodb = "$BSConfig::bsdir/db/published";
......@@ -50,7 +50,7 @@ index 6a7a1d5..df545f2 100755
$n = $1;
} elsif ($key =~ /(?:^|\/)([^\/]+)-[^-]+-[^-]+-[a-zA-Z][^\/\.\-]*\.pkg\.tar\..z$/) {
$n = $1;
@@ -867,7 +867,7 @@ sub createrepo_staticlinks {
@@ -798,7 +798,7 @@ sub createrepo_staticlinks {
if (/^(.*)-([^-]*)-[^-]*\.rpm$/s) {
$link = "$1.rpm";
$link = "$1-$2.rpm" if $versioned;
......@@ -59,12 +59,12 @@ index 6a7a1d5..df545f2 100755
$link = "$1.$3";
$link = "${1}_$2.$3" if $versioned;
} elsif (/^(.*)-Build\d\d\d\d(-Media\d)(\.iso?(\.sha256)?)$/s) {
@@ -1507,7 +1507,7 @@ sub publish {
@@ -1438,7 +1438,7 @@ sub publish {
if ($bin =~ /^.+-[^-]+-[^-]+\.([a-zA-Z][^\/\.\-]*)\.d?rpm$/) {
$p = "$1/$bin";
$p = $1 eq 'src' || $1 eq 'nosrc' ? "SRPMS/$bin" : "RPMS/$bin" if $repotype{'resarchhack'};
- } elsif ($bin =~ /^.+_[^_]+_([^_\.]+)\.u?deb$/) {
+ } elsif ($bin =~ /^.+_[^_]+_([^_\.]+)\.[ud]?deb$/) {
$p = "$arch/$bin";
$p = "$1/$bin";
} elsif ($bin =~ /\.exe$/) {
$p = "$bin";
backend-publish-udebs-in-repo.patch
publish-ddeb-files.patch
collabora/publish-asc-files.patch
database.yml-settings.patch
gemfile-tweaks.patch
......@@ -35,4 +36,3 @@ collabora/backend-Handle-ERROR_WANT_-READ-WRITE-from-ssl-reads.patch
collabora/backend-Support-https-urls-for-package-downloads.patch
collabora/BSConfig-Make-every-architecture-its-own-relsync-pool.patch
collabora/BSConfig-Read-a-BSConfig.local.pm-if-it-exists.patch
collabora/publish-ddeb-files.patch
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment