Author: slaanesh
Update of /cvs/nonfree/rpms/lpf-skype/F-19
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv4733
Modified Files:
lpf-skype.spec skype.spec.in
Log Message:
* Wed Dec 04 2013 Simone Caronni <negativo17(a)gmail.com> - 4.2.0.11-11
- Review fixes.
Index: lpf-skype.spec
===================================================================
RCS file: /cvs/nonfree/rpms/lpf-skype/F-19/lpf-skype.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- lpf-skype.spec 4 Dec 2013 07:45:38 -0000 1.7
+++ lpf-skype.spec 4 Dec 2013 15:17:04 -0000 1.8
@@ -1,9 +1,12 @@
+%define debug_package %{nil}
+
# %%global will not work here, lazy evaluation needed.
%define target_pkg %(t=%{name}; echo ${t#lpf-})
Name: lpf-skype
Version: 4.2.0.11
-Release: 9%{?dist}
+Release: 11%{?dist}
+
Summary: Skype Messaging and Telephony Client package bootstrap
License: MIT
@@ -15,14 +18,15 @@
Source2: LICENSE
BuildRequires: desktop-file-utils
-BuildRequires: lpf >= 0-11
-Requires: lpf >= 0-11
+BuildRequires: lpf >= 0.13
+Requires: lpf >= 0.13
%description
Bootstrap package allowing the lpf system to build the non-redistributable skype
package.
+The skype package is available only for i686 systems.
%prep
%setup -cT
@@ -61,6 +65,12 @@
%changelog
+* Wed Dec 04 2013 Simone Caronni <negativo17(a)gmail.com> - 4.2.0.11-11
+- Review fixes.
+
+* Wed Dec 04 2013 Simone Caronni <negativo17(a)gmail.com> - 4.2.0.11-10
+- Making build require 0-11 for now.
+
* Wed Dec 04 2013 Simone Caronni <negativo17(a)gmail.com> - 4.2.0.11-9
- Remove double BuildArch, add ExclusiveArch.
Index: skype.spec.in
===================================================================
RCS file: /cvs/nonfree/rpms/lpf-skype/F-19/skype.spec.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- skype.spec.in 21 Nov 2013 10:51:48 -0000 1.1
+++ skype.spec.in 4 Dec 2013 15:17:04 -0000 1.2
@@ -1,5 +1,7 @@
-%define debug_package %{nil}
-%define __spec_install_post /usr/lib/rpm/brp-compress
+# Binary package, no debuginfo should be generated
+%global debug_package %{nil}
+# Avoid binary manipulation or the main executable gets corrupted
+%global __spec_install_post /usr/lib/rpm/brp-compress
Name: skype
Version: 4.2.0.11
@@ -27,11 +29,12 @@
%package data
Summary: Skype Messaging and Telephony Client data files
-BuildArch: noarch
+BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description data
-This package contains icons, sounds and support files for the main Skype package.
+This package contains icons, sounds and support files for the main Skype
+package.
%prep
%setup -q
@@ -39,6 +42,7 @@
#!/bin/sh
PULSE_LATENCY_MSEC=30 skype-bin
EOF
+sed -i 's/\r$//' LICENSE
%build
# Nothing to build
@@ -70,19 +74,20 @@
%post data
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-update-mime-database /usr/share/mime &> /dev/null || :
+/usr/bin/update-desktop-database &> /dev/null || :
%postun data
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
-update-mime-database /usr/share/mime &> /dev/null || :
+/usr/bin/update-desktop-database &> /dev/null || :
%posttrans data
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
+# Always replace the prelink information, the binary gets corrupted otherwise
%config %{_sysconfdir}/prelink.conf.d/%{name}-%{_arch}.conf
%{_bindir}/%{name}
%if 0%{?fedora} >= 20
@@ -91,6 +96,7 @@
%files data
%doc LICENSE README third-party_attributions.txt
+# DBus information comes from upstream
%config %{_sysconfdir}/dbus-1/system.d/%{name}.conf
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
Show replies by date