Skip to content

Commit

Permalink
Locate module in apache2/mod_ical.so or httpd/modules/mod_ical.so
Browse files Browse the repository at this point in the history
depending on platform.
  • Loading branch information
minfrin committed Jan 27, 2023
1 parent a731c2c commit c135733
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

Changes with v1.0.0

*) Locate module in apache2/mod_ical.so or httpd/modules/mod_ical.so
depending on platform. [Graham Leggett]

*) Align const when handling query arguments. [Graham Leggett]

*) Add ICalUid and the uid query parameter to enable an explicit
Expand Down
10 changes: 6 additions & 4 deletions mod_ical.spec
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
# RPM Spec file for mod_ical

Name: mod_ical
Version: 0.0.8
Version: 1.0.0
Release: 1%{?dist}
Summary: Apache iCal/jCal/xCal filter module
License: ASL 2.0
Group: System Environment/Daemons
Source: https://github.com/minfrin/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
Url: https://github.com/minfrin/%{name}
BuildRequires: gcc, pkgconfig(apr-1), pkgconfig(apr-util-1), pkgconfig(libical), pkgconfig(json-c), pkgconfig(libxml-2.0)
Requires: httpd
%if 0%{?is_opensuse}
Requires: apache2
BuildRequires: apache2-devel
%else
%if 0%{?mgaversion}
%if 0%{?mgaversion}%{?mdkversion}
Requires: apache
BuildRequires: apache-devel
%else
Requires: httpd
BuildRequires: httpd-devel
%endif
%endif
Expand All @@ -35,7 +37,7 @@ RFC6321 xCal / RFC7265 jCal.
%make_install

%files
%if 0%{?is_opensuse}
%if 0%{?mdkversion}%{?is_opensuse}
%{_libdir}/apache2/mod_ical.so
%else
%{_libdir}/httpd/modules/mod_ical.so
Expand Down
8 changes: 5 additions & 3 deletions mod_ical.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ Group: System Environment/Daemons
Source: https://github.com/minfrin/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
Url: https://github.com/minfrin/%{name}
BuildRequires: gcc, pkgconfig(apr-1), pkgconfig(apr-util-1), pkgconfig(libical), pkgconfig(json-c), pkgconfig(libxml-2.0)
Requires: httpd
%if 0%{?is_opensuse}
Requires: apache2
BuildRequires: apache2-devel
%else
%if 0%{?mgaversion}
%if 0%{?mgaversion}%{?mdkversion}
Requires: apache
BuildRequires: apache-devel
%else
Requires: httpd
BuildRequires: httpd-devel
%endif
%endif
Expand All @@ -35,7 +37,7 @@ RFC6321 xCal / RFC7265 jCal.
%make_install

%files
%if 0%{?is_opensuse}
%if 0%{?mdkversion}%{?is_opensuse}
%{_libdir}/apache2/mod_ical.so
%else
%{_libdir}/httpd/modules/mod_ical.so
Expand Down

0 comments on commit c135733

Please sign in to comment.