+%define lfmaj 1
+%define lfmin 0
+
Summary: SOPE.
Name: sope%{sope_major_version}%{sope_minor_version}
Version: %{sope_version}
%package core
Summary: Core libraries of the SOPE application server
Group: Development/Libraries
-Requires: sope%{sope_major_version}%{sope_minor_version}-xml libfoundation10
+Requires: sope%{sope_major_version}%{sope_minor_version}-xml libfoundation%{lfmaj}%{lfmin}
AutoReqProv: off
%description core
%package mime
Summary: SOPE libraries for MIME processing
Group: Development/Libraries
-Requires: sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation10
+Requires: sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation%{lfmaj}%{lfmin}
AutoReqProv: off
%description mime
%package appserver
Summary: SOPE application server libraries
Group: Development/Libraries
-Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-mime libfoundation10
+Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-mime libfoundation%{lfmaj}%{lfmin}
AutoReqProv: off
%description appserver
%package ldap
Summary: SOPE libraries for LDAP access
Group: Development/Libraries
-Requires: sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation10
+Requires: sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation%{lfmaj}%{lfmin}
AutoReqProv: off
%description ldap
%package ical
Summary: SOPE libraries for iCal handling
Group: Development/Libraries
-Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core libfoundation10
+Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core libfoundation%{lfmaj}%{lfmin}
AutoReqProv: off
%description ical
%package gdl1
Summary: GNUstep database libraries for SOPE
Group: Development/Libraries
-Requires: sope%{sope_major_version}%{sope_minor_version}-core libfoundation10
+Requires: sope%{sope_major_version}%{sope_minor_version}-core libfoundation%{lfmaj}%{lfmin}
AutoReqProv: off
%description gdl1