Accepting request 255089 from KDE:Qt
1 OBS-URL: https://build.opensuse.org/request/show/255089 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sip?expand=0&rev=81
This commit is contained in:
commit
02bf17b961
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 11 17:01:01 UTC 2014 - termim@gmail.com
|
||||
|
||||
- Update to 4.16.3
|
||||
- This is a minor functional release including the implementation of
|
||||
__qualname__ for class enums.
|
||||
- run spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 31 08:45:44 UTC 2014 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -17,9 +17,8 @@
|
||||
|
||||
|
||||
%define python_sip_api 11.1
|
||||
|
||||
Name: python-sip
|
||||
Version: 4.16.2
|
||||
Version: 4.16.3
|
||||
Release: 0
|
||||
Summary: SIP tool to use python sip bindings
|
||||
License: GPL-2.0 or GPL-3.0 or SUSE-SIP
|
||||
@ -33,7 +32,7 @@ Patch1: build-compare.diff
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: python
|
||||
BuildRequires: python-devel
|
||||
Provides: python-sip(api) = %python_sip_api
|
||||
Provides: python-sip(api) = %{python_sip_api}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%py_requires
|
||||
|
||||
@ -49,7 +48,7 @@ Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
Requires: c++_compiler
|
||||
Requires: python-devel
|
||||
Requires(post): update-alternatives
|
||||
Requires(post): update-alternatives
|
||||
Provides: python-sip-bin = %{version}
|
||||
Obsoletes: python-sip-bin < %{version}
|
||||
|
||||
@ -77,15 +76,15 @@ make %{?_smp_mflags}
|
||||
sip_major=$(grep "define SIP_API_MAJOR_NR" siplib/sip.h.in | awk '{print $3}')
|
||||
sip_minor=$(grep "define SIP_API_MINOR_NR" siplib/sip.h.in | awk '{print $3}')
|
||||
|
||||
if test "%python_sip_api" != "$sip_major.$sip_minor"; then
|
||||
if test "%{python_sip_api}" != "$sip_major.$sip_minor"; then
|
||||
echo "API version was changed to $sip_major.$sip_minor"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "%%requires_python_sip_api Requires: python-sip(api) = $sip_major.$sip_minor" > macros.%name
|
||||
echo "%%requires_python_sip_api Requires: python-sip(api) = $sip_major.$sip_minor" > macros.%{name}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
mkdir -p %{buildroot}%{_datadir}/sip
|
||||
|
||||
# For alternatives
|
||||
@ -94,7 +93,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
touch %{buildroot}%{_sysconfdir}/alternatives/sip
|
||||
ln -s -f %{_sysconfdir}/alternatives/sip %{buildroot}/%{_bindir}/sip
|
||||
|
||||
install -m 644 -D macros.%name %{buildroot}/%{_sysconfdir}/rpm/macros.%name
|
||||
install -m 644 -D macros.%{name} %{buildroot}/%{_sysconfdir}/rpm/macros.%{name}
|
||||
|
||||
# Point to the correct location for the documentation files
|
||||
sed -i 's/"doc" directory/"doc" directory of package %{name}-devel/' README
|
||||
@ -116,7 +115,7 @@ fi
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc NEWS LICENSE* doc/
|
||||
%config %{_sysconfdir}/rpm/macros.%name
|
||||
%config %{_sysconfdir}/rpm/macros.%{name}
|
||||
%{_bindir}/sip-%{py_ver}
|
||||
%ghost %{_sysconfdir}/alternatives/sip
|
||||
%{_bindir}/sip
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 11 17:01:01 UTC 2014 - termim@gmail.com
|
||||
|
||||
- Update to 4.16.3
|
||||
- This is a minor functional release including the implementation of
|
||||
__qualname__ for class enums.
|
||||
- run spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 31 08:45:26 UTC 2014 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -17,9 +17,11 @@
|
||||
|
||||
|
||||
%define python_sip_api 11.1
|
||||
|
||||
%if 0%{?suse_version} == 1220
|
||||
%define py3_incdir %{_includedir}/python3.2mu
|
||||
%endif
|
||||
Name: python3-sip
|
||||
Version: 4.16.2
|
||||
Version: 4.16.3
|
||||
Release: 0
|
||||
Summary: SIP tool to use python sip bindings
|
||||
License: GPL-2.0 or GPL-3.0 or SUSE-SIP
|
||||
@ -32,13 +34,10 @@ Patch0: disable-rpaths.diff
|
||||
Patch1: build-compare.diff
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: python3-devel
|
||||
Provides: python3-sip(api) = %python_sip_api
|
||||
Requires(pre): python3
|
||||
Requires(pre): python3-base
|
||||
Provides: python3-sip(api) = %{python_sip_api}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} == 1220
|
||||
%define py3_incdir %{_includedir}/python3.2mu
|
||||
%endif
|
||||
|
||||
%description
|
||||
SIP is a tool that makes it very easy to create Python bindings for C
|
||||
@ -52,7 +51,7 @@ Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
Requires: c++_compiler
|
||||
Requires: python3-devel
|
||||
Requires(post): update-alternatives
|
||||
Requires(post): update-alternatives
|
||||
Provides: python3-sip-bin = %{version}
|
||||
Obsoletes: python3-sip-bin < %{version}
|
||||
|
||||
@ -80,15 +79,15 @@ make %{?_smp_mflags}
|
||||
sip_major=$(grep "define SIP_API_MAJOR_NR" siplib/sip.h.in | awk '{print $3}')
|
||||
sip_minor=$(grep "define SIP_API_MINOR_NR" siplib/sip.h.in | awk '{print $3}')
|
||||
|
||||
if test "%python_sip_api" != "$sip_major.$sip_minor"; then
|
||||
if test "%{python_sip_api}" != "$sip_major.$sip_minor"; then
|
||||
echo "API version was changed to $sip_major.$sip_minor"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "%%requires_python3_sip_api Requires: python3-sip(api) = $sip_major.$sip_minor" > macros.%name
|
||||
echo "%%requires_python3_sip_api Requires: python3-sip(api) = $sip_major.$sip_minor" > macros.%{name}
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
%make_install
|
||||
mkdir -p %{buildroot}%{_datadir}/sip
|
||||
|
||||
# For alternatives
|
||||
@ -100,7 +99,7 @@ ln -s -f %{_sysconfdir}/alternatives/sip %{buildroot}/%{_bindir}/sip
|
||||
# Point to the correct location for the documentation files
|
||||
sed -i 's/"doc" directory/"doc" directory of package %{name}-devel/' README
|
||||
|
||||
install -m 644 -D macros.%name %{buildroot}/%{_sysconfdir}/rpm/macros.%name
|
||||
install -m 644 -D macros.%{name} %{buildroot}/%{_sysconfdir}/rpm/macros.%{name}
|
||||
|
||||
%post devel
|
||||
# Lower priority than the python 2.x version for now
|
||||
@ -120,7 +119,7 @@ fi
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc NEWS LICENSE* doc/
|
||||
%config %{_sysconfdir}/rpm/macros.%name
|
||||
%config %{_sysconfdir}/rpm/macros.%{name}
|
||||
%{_bindir}/sip-%{py3_ver}
|
||||
%ghost %{_sysconfdir}/alternatives/sip
|
||||
%{_bindir}/sip
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a55a2324a46ab42e42ae57c52ef06583b17d25c987973fe2e7ff2e8a649294ce
|
||||
size 793663
|
3
sip-4.16.3.tar.gz
Normal file
3
sip-4.16.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fd8a65693612f1d0c5dcd41881cd92496d770b3b9e03a138e533e3afc892f421
|
||||
size 794305
|
Loading…
Reference in New Issue
Block a user