2008-09-12 20:37:28 +02:00
|
|
|
Index: macros.in
|
|
|
|
===================================================================
|
|
|
|
--- macros.in.orig
|
2008-07-05 00:53:44 +02:00
|
|
|
+++ macros.in
|
2008-09-12 20:37:28 +02:00
|
|
|
@@ -1205,7 +1205,8 @@ done \
|
|
|
|
# %{perl_sitearch}/Image
|
2008-07-05 00:53:44 +02:00
|
|
|
# %dir %{perl_sitearch}/auto/Image
|
|
|
|
#
|
2008-09-12 20:37:28 +02:00
|
|
|
-%requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
|
|
|
+%requires_eq() %(echo '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
|
|
|
+%requires_ge() %(echo '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
2008-07-05 00:53:44 +02:00
|
|
|
%perl_sitearch %(eval "`%{__perl} -V:installsitearch`"; echo $installsitearch)
|
|
|
|
%perl_sitelib %(eval "`%{__perl} -V:installsitelib`"; echo $installsitelib)
|
|
|
|
%perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
|