Skip to content

Commit

Permalink
Merge branch 'jb38578' into 'master'
Browse files Browse the repository at this point in the history
Rename systemd-docs to system-doc. JB#38578

See merge request mer-core/systemd!17
  • Loading branch information
Tomin1 committed Jan 23, 2019
2 parents 073f3b7 + 6cac3b4 commit 473679e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion rpm/systemd.changes
Expand Up @@ -45,7 +45,7 @@
* Mon Aug 27 2012 Marko Saukko <marko.saukko@jollamobile.com> - 187
- Fix tty1 autostart by excluding the file in /etc/systemd/system/getty.target.wants/

* Tue Aug 23 2012 Carsten Munk <carsten.munk@jollamobile.com> - 187
* Thu Aug 23 2012 Carsten Munk <carsten.munk@jollamobile.com> - 187
- Prep for user sessions:
- make sure video owns tty and input devices, for xorg startup
- don't start tty1 automatically
Expand Down
21 changes: 8 additions & 13 deletions rpm/systemd.spec
Expand Up @@ -77,8 +77,6 @@ Provides: udev = %{version}
Obsoletes: udev < 184
Provides: systemd-sysv = %{version}
Obsoletes: systemd-sysv < %{version}
Provides: systemd-sysv-docs = %{version}
Obsoletes: systemd-sysv-docs < %{version}

Provides: systemd-console-ttyMFD2 = %{version}
Obsoletes: systemd-console-ttyMFD2 <= 187
Expand Down Expand Up @@ -166,13 +164,14 @@ Obsoletes: libudev-devel < %{version}
Development headers and auxiliary files for developing applications linking
to libudev or libsystemd.

%package docs
Summary: System and session manager man pages
%package doc
Summary: System and session manager documentation
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: %{name}-docs

%description docs
This package includes the man pages for systemd.
%description doc
%{summary}.

%package tests
Summary: Systemd tests
Expand Down Expand Up @@ -250,7 +249,6 @@ CONFIGURE_OPTS=(
--disable-libcurl \
--disable-libidn \
--disable-libiptc \
--disable-manpages \
--disable-libcryptsetup \
--disable-quotacheck \
--disable-firstboot \
Expand Down Expand Up @@ -323,8 +321,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/sysctl.d
mkdir -p %{buildroot}%{_sysconfdir}/modules-load.d
mkdir -p %{buildroot}%{_sysconfdir}/binfmt.d

# Don't ship documentation in the wrong place
rm %{buildroot}/%{_docdir}/systemd/*
mv %{buildroot}/%{_docdir}/systemd{,-%{version}}/

mkdir -p %{buildroot}/etc/systemd/system/basic.target.wants

Expand Down Expand Up @@ -444,7 +441,6 @@ rm -f /.readahead > /dev/null 2>&1 || :
#%dir %{_sysconfdir}/init.d
%{_rpmconfigdir}/macros.d/macros.systemd
%dir %{_sysconfdir}/xdg/systemd
#%{_sysconfdir}/init.d/README
%{_sysconfdir}/rpm/macros.systemd
/bin/systemctl
/bin/systemd-notify
Expand Down Expand Up @@ -517,7 +513,6 @@ rm -f /.readahead > /dev/null 2>&1 || :
#%{_datadir}/systemd/language-fallback-map
/%{_lib}/systemd
%{_datadir}/dbus-1/*/org.freedesktop.systemd1.*
%{_defaultdocdir}/systemd
%{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
%{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
#%{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
Expand Down Expand Up @@ -558,9 +553,9 @@ rm -f /.readahead > /dev/null 2>&1 || :
/lib/systemd/system/default.target
/lib/systemd/system/user@.service

%files docs
%files doc
%defattr(-,root,root,-)
#%doc %{_mandir}/man?/*
%{_docdir}/%{name}-%{version}

%files tests
%defattr(-,root,root,-)
Expand Down

0 comments on commit 473679e

Please sign in to comment.