Browse Source

apt:
- remove patch200, add BR: swig >= 2.0.4
- add patch201 to fix python-apt


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5058 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 13 years ago
parent
commit
8dff71f60b
1 changed files with 9 additions and 4 deletions
  1. 9 4
      a/apt/apt-vl.spec

+ 9 - 4
a/apt/apt-vl.spec

@@ -11,7 +11,7 @@
 
 Name: apt
 Version: 0.5.15lorg3.95
-Release: 12.%{snapver}%{?_dist_release}
+Release: 13.%{snapver}%{?_dist_release}
 Summary: Advanced front-end for rpm (APT - Advanced Package Tool)
 Summary(ja): RPM の高機能なフロントエンド (APT - アドバンスドパッケージツール)
 Group: Applications/Administration
@@ -79,8 +79,8 @@ Patch160: apt-0.5.15lorg3.93-ignore-scriptlets-failure.patch
 Patch170: apt-0.5.15lorg3.95-lua-rex.patch
 # handle not only legacy PreReq but also Requires(pre,post) as PreDepends
 Patch180: apt-0.5.15lorg3.95.git522-handle-requires-prepost.patch
-# add swig2 pregenerated files
-Patch200: apt-0.5.15lorg3.95.git522-swig2-pregenerated-files.patch
+# fix python-apt
+Patch201: apt-0.5.15lorg3.95-remove-obsolete-const-vars.patch
 
 # revert patch
 # http://apt-rpm.org/scm/?p=apt.git;a=commit;h=33283508cae4d598062561fe7c096238649adcba
@@ -115,6 +115,7 @@ BuildRequires: lua-devel
 %if %{with_python}
 BuildRequires: python
 BuildRequires: python-devel
+BuildRequires: swig >= 2.0.4
 %endif
 
 %description
@@ -182,7 +183,7 @@ This package contains the python binding for apt libraries.
 %patch160 -p1
 %patch170 -p1
 %patch180 -p1
-%patch200 -p1
+%patch201 -p1
 
 %patch210 -p1
 
@@ -381,6 +382,10 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
+* Sat Oct 29 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.15lorg3.95-13.git522
+- remove patch200, add BR: swig => 2.0.4
+- add patch201 to fix python-apt
+
 * Sun Jun 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.15lorg3.95-12.git522
 - modify apt.conf
   - Acquire::Retiries "3";