Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
yup
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
yup.spec
@@ -11,7 +11,7 @@ # norootforbuild Name: yup -%if 0%{suse_version} < 1010 +%if 0%{?suse_version} < 1010 BuildRequires: libidn-devel openssl-devel %define curl_name curl %define curl_version 7.15.5 @@ -33,7 +33,7 @@ Source7: Advanced_SLES10_Patching_0.2.pdf Source8: YUP-SLE10SP1-notes.pdf Source9: switch-enterprise-nu-mirror -%if 0%{suse_version} < 1010 +%if 0%{?suse_version} < 1010 Source10: %{curl_name}-%{curl_version}.tar.bz2 Patch2: %{curl_name}-%{curl_version}-lfs.patch Patch3: %{curl_name}-%{curl_version}-aliasing.patch @@ -63,11 +63,11 @@ Eberhard Moenkeberg Matthias Eckermann -%if 0%{suse_version} < 1010 +%if 0%{?suse_version} < 1010 %endif %prep -%if 0%{suse_version} < 1010 +%if 0%{?suse_version} < 1010 %setup -T -c -n %{curl_name}-%{curl_version} -a 10 cd %{curl_name}-%{curl_version} %patch2 @@ -83,7 +83,7 @@ pod2man --center=" " --release="%{version}-%{release}" --date="$(date)" %{S:2} > yup.$$$$; perl -p -e 's/.if n .na/.\\\".if n .na/;' yup.$$$$ > yup.1; rm -f yup.$$$$ -%if 0%{suse_version} < 1010 +%if 0%{?suse_version} < 1010 cd %{curl_name}-%{curl_version} autoreconf -fi CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ @@ -102,7 +102,7 @@ if [ -n "$RPM_BUILD_ROOT" ] ; then [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT fi -%if 0%{suse_version} < 1010 +%if 0%{?suse_version} < 1010 cd %{curl_name}-%{curl_version} make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} if [ -n "$RPM_BUILD_ROOT" ] ; then @@ -128,7 +128,7 @@ install %{S:6} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.yup2zlm install %{S:1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.yup install -m 644 yup.1 $RPM_BUILD_ROOT/usr/share/man/man1/yup.1 -%if 0%{suse_version} < 1010 +%if 0%{?suse_version} < 1010 sed -i -e "s,/usr/bin/curl,/usr/bin/curl-yup,g" $RPM_BUILD_ROOT/usr/sbin/yup sed -i -e "s,/usr/bin/curl,/usr/bin/curl-yup,g" $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.yup sed -i -e "s,/usr/bin/curl,/usr/bin/curl-yup,g" $RPM_BUILD_ROOT/usr/share/man/man1/yup.1 @@ -146,7 +146,7 @@ %attr(644, root, root) /usr/share/man/man1/yup.1.gz %attr(600, root, root) /var/adm/fillup-templates/sysconfig.yup %doc COPYING.GPL -%if 0%{suse_version} < 1010 +%if 0%{?suse_version} < 1010 %doc %{curl_name}-%{curl_version}/{CHANGES,README,COPYING} %doc %{curl_name}-%{curl_version}/docs/{BUGS,CONTRIBUTE,FAQ,FEATURES,INTERNALS,MANUAL,RESOURCES,TODO,TheArtOfHttpScripting} %{_prefix}/bin/curl-yup