Commit 7e49a1eb authored by Héctor Orón Martínez's avatar Héctor Orón Martínez

Merge branch 'publish-ddeb-files' into 'collabora/master'

Publish Ubuntu ddeb files to the repos

See merge request !6
parents 509d637d 85e7662b
......@@ -2,8 +2,9 @@ open-build-service (2.7.4-3co2) UNRELEASED; urgency=medium
* Add patch to publish Debian upstream tarball signature to the
repositories
* Add patch to publish Ubuntu ddeb files to the repositories
-- Lucas Kanashiro <lucas.kanashiro@collabora.com> Wed, 20 Mar 2019 10:31:43 -0300
-- Lucas Kanashiro <lucas.kanashiro@collabora.com> Thu, 21 Mar 2019 15:20:54 -0300
open-build-service (2.7.4-3co1) stretch; urgency=medium
......
Description: Publish Ubuntu ddeb files to the repositories
Author: Lucas Kanashiro <lucas.kanashiro@collabora.com>
Last-Updated: 2019-03-21
--- a/src/backend/bs_publish
+++ b/src/backend/bs_publish
@@ -1507,7 +1507,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";
} elsif ($bin =~ /\.exe$/) {
$p = "$bin";
......@@ -35,3 +35,4 @@ 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