Browse Source

Strip version specifier

bryan 2 weeks ago
parent
commit
b4cfa16081
1 changed files with 1 additions and 1 deletions
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

@@ -838,7 +838,7 @@ build_rpm() {
   # Create spec file
   cat <<-EOF > "$OUTPUT_DIR/SPECS/mediacenter.spec"
 		Name:  mediacenter$MC_MVERSION
-		Version: $MC_VERSION
+		Version: ${MC_VERSION%%-*}
 		Release: 1
 		Summary: JRiver Media Center
 		Group:   Applications/Media