From 7e3c32666fd9624e304765b0ed0923eb90e31d7f Mon Sep 17 00:00:00 2001 From: Ferry Huberts Date: Wed, 14 Jan 2015 13:19:45 +0100 Subject: package.sh: add fedora Fedora builds Cura by using ```mock```, thereby enabling it to build RPMs for every distribution that ```mock``` has a configuration file for. In pratice this means that Fedora can build RPMs for several versions of Fedora, CentOS and RHEL. Cura can be built under a regular user account, there is no need to have root privileges. In fact, having root privileges is very much discouraged. However, the user account under which the build is performed needs to be a member of the 'mock' group. Specify only 'fedora' to build RPMs for the current system. ./package.sh fedora Additionally specify any number of mock configurations (ls -1 /etc/mock/*.cfg) to build RPMs for those configurations. ./package.sh fedora fedora-21-x86_64.cfg fedora-21-i386.cfg ... Since only the filename of the mock configurations is used, this also works: ./package.sh fedora /etc/mock/fedora-21-x86_64.cfg ... Signed-off-by: Ferry Huberts --- scripts/linux/fedora/.gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 scripts/linux/fedora/.gitignore (limited to 'scripts/linux/fedora/.gitignore') diff --git a/scripts/linux/fedora/.gitignore b/scripts/linux/fedora/.gitignore new file mode 100644 index 0000000000..ea03173056 --- /dev/null +++ b/scripts/linux/fedora/.gitignore @@ -0,0 +1,2 @@ +/RPMS/ +/SRPMS/ -- cgit v1.2.3