[libcdio-paranoia] remove sed changes on non-installed file

Adrian Reber adrian at fedoraproject.org
Fri Jan 11 16:27:18 UTC 2013


commit ee7e0f7de77384ba0fc24f59723baafbfe5a2468
Author: Adrian Reber <adrian at lisas.de>
Date:   Fri Jan 11 17:27:12 2013 +0100

    remove sed changes on non-installed file
    
    - fix -devel subpackage Require

 libcdio-paranoia.spec |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/libcdio-paranoia.spec b/libcdio-paranoia.spec
index 81bb130..7a5dd32 100644
--- a/libcdio-paranoia.spec
+++ b/libcdio-paranoia.spec
@@ -1,6 +1,6 @@
 Name: libcdio-paranoia
 Version: 10.2+0.90
-Release: 5%{?dist}
+Release: 6%{?dist}
 Summary: CD paranoia on top of libcdio
 Group: System Environment/Libraries
 License: GPLv2+ and LGPLv2+
@@ -33,7 +33,7 @@ with cdparanoia-III-10.2's license. And also, libcdio is just too large.
 %package devel
 Summary: Header files and libraries for %{name}
 Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
 
 %description devel
 This package contains header files and libraries for %{name}.
@@ -63,9 +63,6 @@ cp %{SOURCE2} .
 	--disable-rpath
 make %{?_smp_mflags}
 
-# another multilib fix; remove the architecture information from version.h
-sed -i -e "s,%{version}.*$,%{version}\\\",g" include/cdio/paranoia/version.h
-
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 
@@ -105,6 +102,10 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so.*
 
 
 %changelog
+* Fri Jan 11 2013 Adrian Reber <adrian at lisas.de> - 10.2+0.90-6
+- remove sed changes on non-installed file
+- fix -devel subpackage Require
+
 * Sat Dec 22 2012 Adrian Reber <adrian at lisas.de> - 10.2+0.90-5
 - provide include files also in the paranoia directory (like in upstream's git)
 


More information about the scm-commits mailing list