Use release instead of hardcode

This commit is contained in:
kwizart 2010-11-24 12:12:58 +01:00
parent ceb3a49042
commit 3e4f93b902

View File

@ -15,7 +15,7 @@
Name: libproxy
Version: 0.4.6
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A library handling all the details of proxy configuration
Group: System Environment/Libraries
@ -48,12 +48,12 @@ BuildRequires: dbus-devel
#Obsoletes of disabled subpackages
%{!?_with_mozjs:
Provides: %{name}-mozjs = %{version}-101
Obsoletes: %{name}-mozjs < %{version}-101
Provides: %{name}-mozjs = %{version}-%{release}
Obsoletes: %{name}-mozjs < %{version}-%{release}
}
%{!?_with_webkit:
Provides: %{name}-webkit = %{version}-101
Obsoletes: %{name}-webkit < %{version}-101
Provides: %{name}-webkit = %{version}-%{release}
Obsoletes: %{name}-webkit < %{version}-%{release}
}
@ -248,7 +248,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Nov 24 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.4.6-2
* Wed Nov 24 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.4.6-3
- Fix mozjs/webkit obsoletion - rhbz#656849
- Workaround unreliable Version field in pkg-config - rhbz#656484