Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions build/rpm/openfire.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ Version: %{OPENFIRE_VERSION}
Release: %{OPENFIRE_RELEASE}
BuildRoot: %{_builddir}/%{name}-root
Source0: %{OPENFIRE_SOURCE}
%ifarch noarch
# Note that epoch is set here to 1, this appears to be consistent with non-Redhat
Copy link
Contributor Author

@stokito stokito Jul 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

epoch is set here to 1

Could you explain what does the comment mean? It looks like very outdated.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't recall if we once had to mess with the RPM epoch due to some release issue or not. I also am unsure if it is needed anymore or not, but I thought once you bumped the epoch, you can't go back? shrug

# jres as well due to an ancient problem with java-1.5.0-ibm jpackage RPM
Requires: java >= 1:17.0.0
%endif
Group: Applications/Communications
Vendor: Igniterealtime Community
Packager: Igniterealtime Community
Expand Down Expand Up @@ -45,12 +43,6 @@ rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{prefix}
# Copy over the main install tree.
cp -R . $RPM_BUILD_ROOT%{homedir}
%ifnarch noarch
# Set up distributed JRE
pushd $RPM_BUILD_ROOT%{homedir}
gzip -cd %{SOURCE1} | tar xvf -
popd
%endif
# Set up the init script.
mkdir -p $RPM_BUILD_ROOT/etc/init.d
cp $RPM_BUILD_ROOT%{homedir}/bin/extra/redhat/openfire $RPM_BUILD_ROOT/etc/init.d/openfire
Expand Down Expand Up @@ -151,9 +143,6 @@ exit 0
%doc %{homedir}/changelog.html
%{_sysconfdir}/init.d/openfire
%config(noreplace) %{_sysconfdir}/sysconfig/openfire
%ifnarch noarch
%{homedir}/jre
%endif

%changelog
* %{OPENFIRE_BUILDDATE} Igniterealtime Community <[email protected]> %{OPENFIRE_VERSION}-%{OPENFIRE_RELEASE}
Expand Down