Skip to content
Permalink
Browse files

Initial RPM sources update for QGIS3

  • Loading branch information
daniviga committed Oct 1, 2017
1 parent df71901 commit 15e5419a74fd8943170ec5384a4b2e20e5ba4eea
Showing with 172 additions and 739 deletions.
  1. +3 −0 rpm/buildrpms.sh
  2. +4 −4 rpm/default.cfg
  3. +145 −693 rpm/qgis.spec.template
  4. +13 −0 rpm/sources/qgis-lib64.patch
  5. +3 −28 rpm/sources/qgis-mime.xml
  6. +4 −14 rpm/sources/qgis-server-httpd.conf
@@ -91,6 +91,8 @@ patch=$(grep -e 'SET(CPACK_PACKAGE_VERSION_PATCH' ../CMakeLists.txt |

version=$(echo $major.$minor.$patch)

timestamp=$(date +'%s')

print_info "Building version $version-$RELVER"

if [ "$build_only" -ne "1" ]
@@ -107,6 +109,7 @@ then
# Create spec file
cat qgis.spec.template | sed -e s/%{_version}/$version/g \
| sed -e s/%{_relver}/$RELVER/g \
| sed -e s/%{_timestamp}/$timestamp/g \
| tee qgis.spec 1>/dev/null
# Build source package
mock --buildsrpm --spec qgis.spec --sources ./sources --define "_relver $RELVER" --define "_version $version" --resultdir=$OUTDIR
@@ -10,10 +10,10 @@ OUTDIR="result/"

# Which arches to build for. Check /etc/mock for possible options
ARCHS=(
"fedora-21-i386"
"fedora-21-x86_64"
"fedora-22-i386"
"fedora-22-x86_64"
"fedora-26-i386"
"fedora-26-x86_64"
"fedora-27-i386"
"fedora-27-x86_64"
)

# Which git branch to export. Normally take the current

0 comments on commit 15e5419

Please sign in to comment.
You can’t perform that action at this time.