summaryrefslogtreecommitdiff
path: root/newmoon/newmoon.spec
diff options
context:
space:
mode:
Diffstat (limited to 'newmoon/newmoon.spec')
-rw-r--r--newmoon/newmoon.spec30
1 files changed, 12 insertions, 18 deletions
diff --git a/newmoon/newmoon.spec b/newmoon/newmoon.spec
index 7bd8079..f2e6d48 100644
--- a/newmoon/newmoon.spec
+++ b/newmoon/newmoon.spec
@@ -4,10 +4,10 @@
%global stackrpms_custom 1
# derive from inside the source tree or from https://repo.palemoon.org/MoonchildProductions/Pale-Moon/releases
# git submodule | awk -v "name=platform" '$2 == name {gsub("-","",$1); print $1}'
-#%%global submodule_platform_tag RELBASE_20210817
+%global submodule_platform_tag RB_20220510
%global badname palemoon
%global git_commit db5ee3c1968212742b4ed8b9883069ea7b03f0e1
-%global tarballdir %{badname}-%{git_commit}
+%global tarballdir pale-moon
# additional repos to get python27 and devtoolset-7
# for el6 and el7: Software Collection;, for x86_64 only
@@ -32,7 +32,7 @@
%define scl_buildreq devtoolset-7-toolchain
%endif
-# suppress binary strippping on el6 which fails for some reason
+# suppress binary stripping on el6 which fails for some reason
%if 0%{?el6}
%global __os_install_post %{nil}
%endif
@@ -44,26 +44,24 @@ Name: newmoon
Name: newmoon
%endif
Summary: Newmoon web browser
-Version: 29.4.4
+Version: 31.0.0
Release: 1
Group: Networking/Web
License: MPLv2.0
URL: http://linux.palemoon.org/
-#Source0: https://repo.palemoon.org/MoonChildProductions/Pale-Moon/archive/%%{version}_Release.tar.gz
-Source0: https://gitlab.com/opensource-tracking/palemoon/-/archive/%{git_commit}/palemoon-%{git_commit}.tar.gz
-#Source1: https://repo.palemoon.org/MoonchildProductions/UXP/archive/%%{submodule_platform_tag}.tar.gz
+Source0: https://repo.palemoon.org/MoonChildProductions/Pale-Moon/archive/%{version}_Release.tar.gz
+#Source0: https://gitlab.com/opensource-tracking/palemoon/-/archive/%%{git_commit}/palemoon-%%{git_commit}.tar.gz
+Source1: https://repo.palemoon.org/MoonchildProductions/UXP/archive/%{submodule_platform_tag}.tar.gz
Source2: newmoon-mozconfig
Source3: newmoon.desktop
Source4: newmoon-mimeinfo.xml
%if 0%{stackrpms_custom}
Source5: bgstack15-newmoon-prefs.js
Source6: bluemoon-icons.tgz
-Source7: nm-gcc-11.patch
Patch0: small-icons.patch
Patch1: pm-fedora.patch
Patch2: pm-to-nm.patch
-Patch3: revert-mach-file.patch
%endif
Packager: B. Stack <bgstack15@gmail.com>
@@ -115,7 +113,7 @@ and themes to make the browser truly your own.
%prep
%setup -q -n %{tarballdir}
-#tar -C platform --strip-components=1 -zxf %%{SOURCE1} # git submodule
+tar -C platform --strip-components=1 -zxf %{SOURCE1} # git submodule
%{__cp} %{SOURCE2} ./.mozconfig
%if 0%{?fedora} >= 30
sed -i -r -e '/enable-optimize/s/"\s*$/ -Wno-format-overflow"/' ./.mozconfig
@@ -125,14 +123,6 @@ sed -i -r -e '/enable-optimize/s/"\s*$/ -Wno-format-overflow"/' ./.mozconfig
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
-__gccver="$( gcc --version 2>&1 | grep -oE '[0-9]*\.[0-9]\.[0-9]'| head -n1 | grep -oE '^[0-9]+' )"
-if test "${__gccver}" == "11" ; then
- # For gcc 11
- cd platform
- patch -p1 < %{SOURCE7}
- cd ..
-fi
! test -d %{badname}/branding/unofficial.unbuilt && {
cp -pr %{badname}/branding/unofficial %{badname}/branding/unofficial.unbuilt && \
@@ -310,6 +300,10 @@ update-mime-database -n ${_datadir}/mime 1>/dev/null 2>&1 & :
%doc AUTHORS LICENSE
%changelog
+* Sun May 22 2022 B. Stack <bgstack15@gmail.com> - 30.0.0-1
+- update version
+- remove revert-mach-file patch
+
* Thu Jan 20 2022 B. Stack <bgstack15@gmail.com> - 29.4.4-1
- update version
bgstack15