From 0927be1fe69913613c3c1d4c1e81150d91c721f6 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Feb 24 2015 22:00:29 +0000 Subject: Rename packages from foo-2.0 to foo2 --- diff --git a/phodav.spec b/phodav.spec index 95c90cd..5aac6fa 100644 --- a/phodav.spec +++ b/phodav.spec @@ -1,11 +1,11 @@ Name: phodav Version: 2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A WebDAV server using libsoup Group: Applications/Internet License: LGPLv2+ URL: https://wiki.gnome.org/phodav -Source0: http://download.gnome.org/sources/%{name}/0.3/%{name}-%{version}.tar.xz +Source0: http://download.gnome.org/sources/%{name}/2.0/%{name}-%{version}.tar.xz Patch0: 0001-Add-version-prefix-to-gettext-and-doc-directories.patch BuildRequires: systemd-devel BuildRequires: systemd-units @@ -20,19 +20,19 @@ BuildRequires: autoconf automake libtool %description phởdav is a WebDAV server implementation using libsoup (RFC 4918). -%package -n libphodav-2.0 +%package -n libphodav2 Summary: A library to serve files with WebDAV -%description -n libphodav-2.0 +%description -n libphodav2 phởdav is a WebDAV server implementation using libsoup (RFC 4918). This package provides the library. -%package -n libphodav-2.0-devel +%package -n libphodav2-devel Summary: A library to -Requires: libphodav-2.0%{?_isa} = %{version}-%{release} +Requires: libphodav2%{?_isa} = %{version}-%{release} -%description -n libphodav-2.0-devel -The libphodav-2.0-devel package includes the header files for libphodav-2.0. +%description -n libphodav2-devel +The libphodav2-devel package includes the header files for libphodav2. %package -n chezdav Summary: A simple WebDAV server program @@ -71,8 +71,8 @@ rm -f %{buildroot}%{_libdir}/*.la %find_lang phodav-2.0 --with-gnome -%post -n libphodav-2.0 -p /sbin/ldconfig -%postun -n libphodav-2.0 -p /sbin/ldconfig +%post -n libphodav2 -p /sbin/ldconfig +%postun -n libphodav2 -p /sbin/ldconfig %post -n spice-webdavd %systemd_post spice-webdavd.service @@ -83,11 +83,11 @@ rm -f %{buildroot}%{_libdir}/*.la %postun -n spice-webdavd %systemd_postun_with_restart spice-webdavd.service -%files -n libphodav-2.0 -f phodav-2.0.lang +%files -n libphodav2 -f phodav-2.0.lang %doc NEWS COPYING %{_libdir}/libphodav-2.0.so.0* -%files -n libphodav-2.0-devel +%files -n libphodav2-devel %dir %{_includedir}/libphodav-2.0/ %{_includedir}/libphodav-2.0/* %{_libdir}/libphodav-2.0.so @@ -105,6 +105,10 @@ rm -f %{buildroot}%{_libdir}/*.la %{_unitdir}/spice-webdavd.service %changelog +* Tue Feb 24 2015 Marc-André Lureau - 2.0-3 +- Rename packages from foo-2.0 to foo2 to be more compliant with other + Fedora packages names. Fixes: rhbz#1195913 + * Tue Feb 24 2015 Marc-André Lureau - 2.0-2 - Fix gettext and doc to be under -2.0 directories. Fixes: rhbz#1195913