Switch to unversioned docdirs

https://bugzilla.redhat.com/show_bug.cgi?id=993784
This commit is contained in:
Kalev Lember 2013-08-22 20:46:12 +02:00
parent d51aa0ef11
commit 314361c37d

View File

@ -92,7 +92,6 @@ autoreconf -i -f
%if 0%{?with_session_selector} %if 0%{?with_session_selector}
--enable-session-selector \ --enable-session-selector \
%endif %endif
--docdir=%{_datadir}/doc/%{name}-%{version} \
--enable-systemd --enable-systemd
make %{?_smp_mflags} V=1 make %{?_smp_mflags} V=1
@ -103,8 +102,6 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
mv $RPM_BUILD_ROOT%{_datadir}/applications/session-properties.desktop \ mv $RPM_BUILD_ROOT%{_datadir}/applications/session-properties.desktop \
$RPM_BUILD_ROOT%{_datadir}/applications/gnome-session-properties.desktop $RPM_BUILD_ROOT%{_datadir}/applications/gnome-session-properties.desktop
cp -p AUTHORS COPYING NEWS README $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
%find_lang %{po_package} %find_lang %{po_package}
%check %check
@ -130,13 +127,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%{_datadir}/xsessions/* %{_datadir}/xsessions/*
%files -f %{po_package}.lang %files -f %{po_package}.lang
%doc %dir %{_datadir}/doc/%{name}-%{version} %doc AUTHORS COPYING NEWS README
%doc %{_datadir}/doc/%{name}-%{version}/AUTHORS
%doc %{_datadir}/doc/%{name}-%{version}/COPYING
%doc %{_datadir}/doc/%{name}-%{version}/NEWS
%doc %{_datadir}/doc/%{name}-%{version}/README
%doc %dir %{_datadir}/doc/%{name}-%{version}/dbus
%doc %{_datadir}/doc/%{name}-%{version}/dbus/*
%doc %{_mandir}/man*/* %doc %{_mandir}/man*/*
%{_datadir}/applications/gnome-session-properties.desktop %{_datadir}/applications/gnome-session-properties.desktop
%dir %{_datadir}/gnome-session %dir %{_datadir}/gnome-session
@ -156,6 +147,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%changelog %changelog
* Thu Aug 22 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90-1 * Thu Aug 22 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90-1
- Update to 3.9.90 - Update to 3.9.90
- Switch to unversioned docdirs (#993784)
* Sat Aug 10 2013 Ray Strode <rstrode@redhat.com> 3.9.5-2 * Sat Aug 10 2013 Ray Strode <rstrode@redhat.com> 3.9.5-2
- Remove vendor from desktop-file-install - Remove vendor from desktop-file-install