[copr] master: 1008532 - require logrotate (a44c812)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit a44c812c843a034d7979e319378722acf854375d
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Sep 23 10:45:59 2013 +0200
1008532 - require logrotate
logrotate owns /etc/logrotate.d, which we use
>---------------------------------------------------------------
copr.spec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/copr.spec b/copr.spec
index a97ffdd..cba7400 100644
--- a/copr.spec
+++ b/copr.spec
@@ -54,6 +54,7 @@ Requires: yum-utils
Requires: createrepo
Requires: python-bunch
Requires: python-requests
+Requires: logrotate
%description backend
COPR is lightweight build system. It allows you to create new project in WebUI,
10 years, 7 months
[copr] master: 1008532 - backend should owns /etc/copr as well (e65ad8b)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit e65ad8b8453c8ff32980cea404ce33257489b8ae
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Sep 23 10:47:25 2013 +0200
1008532 - backend should owns /etc/copr as well
>---------------------------------------------------------------
copr.spec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/copr.spec b/copr.spec
index cba7400..223c918 100644
--- a/copr.spec
+++ b/copr.spec
@@ -274,6 +274,7 @@ fi
%config(noreplace) %{_sysconfdir}/logrotate.d/copr-backend
%doc %{_pkgdocdir}/lighttpd
%doc %{_pkgdocdir}/playbooks
+%dir %{_sysconfdir}/copr
%config(noreplace) %{_sysconfdir}/copr/copr-be.conf
%{_datadir}/copr/backend
10 years, 7 months
[copr] master: 1008532 - do not distribute empty copr.if (0c1eef3)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 0c1eef352c1690505d6cba60451fd64d484d8462
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Sep 23 10:43:26 2013 +0200
1008532 - do not distribute empty copr.if
if we distribute it we would need to require selinux-policy-devel, which owns
/usr/share/selinux/devel/include/apps
since the file is empty, do not distribute it unless we have something there
>---------------------------------------------------------------
copr.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/copr.spec b/copr.spec
index c236524..a97ffdd 100644
--- a/copr.spec
+++ b/copr.spec
@@ -310,7 +310,8 @@ fi
%files selinux
%{_datadir}/selinux/*/%{modulename}.pp.bz2
-%{_datadir}/selinux/devel/include/%{moduletype}/%{modulename}.if
+# empty, do not distribute it for now
+%exclude %{_datadir}/selinux/devel/include/%{moduletype}/%{modulename}.if
%{_sbindir}/%{name}-selinux-enable
%{_sbindir}/%{name}-selinux-relabel
%{_mandir}/man8/%{name}-selinux-enable.8*
10 years, 7 months
[copr] master: 1008532 - use %{?_smp_mflags} macro with make (8b5631e)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 8b5631e797e423e73abbc6cabd9da103b1ae0632
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Sep 23 07:57:14 2013 +0200
1008532 - use %{?_smp_mflags} macro with make
>---------------------------------------------------------------
copr.spec | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/copr.spec b/copr.spec
index 7947319..c236524 100644
--- a/copr.spec
+++ b/copr.spec
@@ -141,17 +141,17 @@ a2x -d manpage -f manpage man/copr-selinux-relabel.8.asciidoc
# build documentation
pushd documentation
-make python
+make %{?_smp_mflags} python
popd
#selinux
pushd selinux
perl -i -pe 'BEGIN { $VER = join ".", grep /^\d+$/, split /\./, "%{version}.%{release}"; } s!\@\@VERSION\@\@!$VER!g;' %{modulename}.te
for selinuxvariant in targeted; do
- make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile
+ make %{?_smp_mflags} NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile
bzip2 -9 %{modulename}.pp
mv %{modulename}.pp.bz2 %{modulename}.pp.bz2.${selinuxvariant}
- make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile clean
+ make %{?_smp_mflags} NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile clean
done
popd
10 years, 7 months
[copr] master: C0322: 47, 0: Operator not preceded by a space (b54a04c)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit b54a04c161a90f62c8747e7d34e1054c4dfd88ea
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Sep 19 14:09:31 2013 +0200
C0322: 47,0: Operator not preceded by a space
>---------------------------------------------------------------
backend/mockremote.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/mockremote.py b/backend/mockremote.py
index 8635f70..d903d28 100755
--- a/backend/mockremote.py
+++ b/backend/mockremote.py
@@ -44,7 +44,7 @@ rsync = '/usr/bin/rsync'
DEF_REMOTE_BASEDIR = '/var/tmp'
DEF_TIMEOUT = 3600
DEF_REPOS = []
-DEF_CHROOT= None
+DEF_CHROOT = None
DEF_USER = 'mockbuilder'
DEF_DESTDIR = os.getcwd()
10 years, 7 months
[copr] master: C0322: 45, 0: Operator not preceded by a space (1a2763f)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 1a2763fa26dcf6a96551f874a725a20d5f875c25
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Sep 19 14:09:09 2013 +0200
C0322: 45,0: Operator not preceded by a space
>---------------------------------------------------------------
backend/mockremote.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/mockremote.py b/backend/mockremote.py
index e6ffca1..8635f70 100755
--- a/backend/mockremote.py
+++ b/backend/mockremote.py
@@ -42,7 +42,7 @@ mockchain = '/usr/bin/mockchain'
rsync = '/usr/bin/rsync'
DEF_REMOTE_BASEDIR = '/var/tmp'
-DEF_TIMEOUT=3600
+DEF_TIMEOUT = 3600
DEF_REPOS = []
DEF_CHROOT= None
DEF_USER = 'mockbuilder'
10 years, 7 months
[copr] master: C0322: 44, 0: Operator not preceded by a space (4ef9cb5)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 4ef9cb5df1723f47396b999fcb8319de0ae55fd7
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Sep 19 14:08:47 2013 +0200
C0322: 44,0: Operator not preceded by a space
>---------------------------------------------------------------
backend/mockremote.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/mockremote.py b/backend/mockremote.py
index 66020e9..e6ffca1 100755
--- a/backend/mockremote.py
+++ b/backend/mockremote.py
@@ -41,7 +41,7 @@ mockchain = '/usr/bin/mockchain'
# rsync path
rsync = '/usr/bin/rsync'
-DEF_REMOTE_BASEDIR='/var/tmp'
+DEF_REMOTE_BASEDIR = '/var/tmp'
DEF_TIMEOUT=3600
DEF_REPOS = []
DEF_CHROOT= None
10 years, 7 months
[copr] master: C0322: 42, 0: Operator not preceded by a space (1de48c7)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 1de48c7d284246f71a8b9129974ae515f9a0c374
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Sep 19 14:08:25 2013 +0200
C0322: 42,0: Operator not preceded by a space
>---------------------------------------------------------------
backend/mockremote.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/mockremote.py b/backend/mockremote.py
index 346d8f1..66020e9 100755
--- a/backend/mockremote.py
+++ b/backend/mockremote.py
@@ -39,7 +39,7 @@ import traceback
# where we should execute mockchain from on the remote
mockchain = '/usr/bin/mockchain'
# rsync path
-rsync='/usr/bin/rsync'
+rsync = '/usr/bin/rsync'
DEF_REMOTE_BASEDIR='/var/tmp'
DEF_TIMEOUT=3600
10 years, 7 months
[copr] master: C0322: 40, 0: Operator not preceded by a space (8768129)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 87681298f2eb47852f4bbee6b10e02cac7c33cd5
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Sep 19 14:07:55 2013 +0200
C0322: 40,0: Operator not preceded by a space
>---------------------------------------------------------------
backend/mockremote.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/mockremote.py b/backend/mockremote.py
index 8d1dcc3..346d8f1 100755
--- a/backend/mockremote.py
+++ b/backend/mockremote.py
@@ -37,7 +37,7 @@ import socket
import traceback
# where we should execute mockchain from on the remote
-mockchain='/usr/bin/mockchain'
+mockchain = '/usr/bin/mockchain'
# rsync path
rsync='/usr/bin/rsync'
10 years, 7 months
[copr] master: W0311:575, 0: Bad indentation. Found 12 spaces, expected 8 (813a5e2)
by Miroslav Suchý
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 813a5e2b35b4272f1150d2dcad5dda098d74021f
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Sep 19 14:07:22 2013 +0200
W0311:575,0: Bad indentation. Found 12 spaces, expected 8
>---------------------------------------------------------------
backend/mockremote.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/mockremote.py b/backend/mockremote.py
index 308c21a..8d1dcc3 100755
--- a/backend/mockremote.py
+++ b/backend/mockremote.py
@@ -572,7 +572,7 @@ def parse_args(args):
sys.exit(1)
if opts.packages_file and os.path.exists(opts.packages_file):
- args.extend(read_list_from_file(opts.packages_file))
+ args.extend(read_list_from_file(opts.packages_file))
#args = list(set(args)) # poor man's 'unique' - this also changes the order
# :(
10 years, 7 months