Accepting request 46522 from home:dimstar:branches:GNOME:Factory
Copy from home:dimstar:branches:GNOME:Factory/libproxy via accept of submit request 46522 revision 3. Request was accepted with message: Forwarding to openSUSE:Factory OBS-URL: https://build.opensuse.org/request/show/46522 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=51
This commit is contained in:
parent
30feafa464
commit
f8e8abf7a0
@ -28,7 +28,7 @@
|
||||
%if 0%{?suse_version} > 1110
|
||||
%define xulrunner_ver 191
|
||||
%else
|
||||
%define xulrunner_ver 181
|
||||
%define xulrunner_ver 190
|
||||
%endif
|
||||
%endif
|
||||
Url: http://code.google.com/p/libproxy/
|
||||
@ -37,15 +37,14 @@ Url: http://code.google.com/p/libproxy/
|
||||
Name: libproxy-plugins
|
||||
Group: System/Libraries
|
||||
Summary: Libproxy provides consistent proxy configuration to applications
|
||||
%if 0%{?build_snapshot}
|
||||
%define svn_rev .svn.739
|
||||
%endif
|
||||
Version: 0.4.5%{?svn_rev}
|
||||
%if ! 0%{?build_snapshot}
|
||||
%define version_ext -%{version}
|
||||
%endif
|
||||
Version: 0.4.5
|
||||
Release: 1
|
||||
Source: http://libproxy.googlecode.com/files/%{_name}%{?version_ext}.tar.bz2
|
||||
%if 0%{?build_snapshot}
|
||||
%define _sourcename %{_name}
|
||||
%else
|
||||
%define _sourcename %{_name}-%{version}
|
||||
%endif
|
||||
Source: http://libproxy.googlecode.com/files/%{_sourcename}.tar.bz2
|
||||
# Script used for automatic snapshot updates
|
||||
Source98: update-from-svn.sh
|
||||
Source99: baselibs.conf
|
||||
@ -74,11 +73,11 @@ BuildRequires: libkde4-devel
|
||||
BuildRequires: libqt4-devel
|
||||
%endif
|
||||
%else
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?have_mono}
|
||||
BuildRequires: mono-devel
|
||||
%endif
|
||||
BuildRequires: perl
|
||||
BuildRequires: python-devel
|
||||
%endif
|
||||
|
||||
%{!?python_sitelib: %global python_sitelib %(%__python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
@ -286,7 +285,7 @@ about network configuration changes.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_name}%{?version_ext}
|
||||
%setup -q -n %{_sourcename}
|
||||
mkdir build
|
||||
|
||||
%build
|
||||
|
@ -37,15 +37,14 @@ Url: http://code.google.com/p/libproxy/
|
||||
Name: libproxy
|
||||
Group: System/Libraries
|
||||
Summary: Libproxy provides consistent proxy configuration to applications
|
||||
%if 0%{?build_snapshot}
|
||||
%define svn_rev .svn.739
|
||||
%endif
|
||||
Version: 0.4.5%{?svn_rev}
|
||||
%if ! 0%{?build_snapshot}
|
||||
%define version_ext -%{version}
|
||||
%endif
|
||||
Version: 0.4.5
|
||||
Release: 1
|
||||
Source: http://libproxy.googlecode.com/files/%{_name}%{?version_ext}.tar.bz2
|
||||
%if 0%{?build_snapshot}
|
||||
%define _sourcename %{_name}
|
||||
%else
|
||||
%define _sourcename %{_name}-%{version}
|
||||
%endif
|
||||
Source: http://libproxy.googlecode.com/files/%{_sourcename}.tar.bz2
|
||||
# Script used for automatic snapshot updates
|
||||
Source98: update-from-svn.sh
|
||||
Source99: baselibs.conf
|
||||
@ -286,7 +285,7 @@ about network configuration changes.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_name}%{?version_ext}
|
||||
%setup -q -n %{_sourcename}
|
||||
mkdir build
|
||||
|
||||
%build
|
||||
|
@ -19,8 +19,7 @@ SVNREV=$(svn info | awk '/Revision:/ { print $2 }')
|
||||
popd
|
||||
|
||||
# Adjust the version information and svn rev in the spec file to what we get from the svn checkout.
|
||||
sed -i "s/%define.*svn_rev.*/%define svn_rev .svn.$SVNREV/" $MODULE.spec
|
||||
sed -i "s/Version:.*/Version: ${VERSION}%{?svn_rev}/" $MODULE.spec
|
||||
sed -i "s/Version:.*/Version: ${VERSION}.svn.$SVNREV/" $MODULE.spec
|
||||
|
||||
tar cjf $MODULE.tar.bz2 $MODULE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user