Source0: https://github.com/systemd/systemd/archive/v%{version}.tar.gz
Source1: pamconsole-tmp.conf
Source2: %{name}-rpmlintrc
-Source3: 500.systemd_upgrade.sh
-Source4: test-runner.c
+Source3: test-runner.c
Source1001: systemd.manifest
BuildRequires: gperf
BuildRequires: intltool >= 0.40.0
%prep
%setup -q
cp %{SOURCE1001} .
-cp %{SOURCE4} .
+cp %{SOURCE3} .
%build
%autogen
mkdir -p %{buildroot}/%{_localstatedir}/log/journal
-# Upgrade script from 2.4 to 3.0
-install -m 755 -d %{buildroot}%{_datadir}/upgrade/scripts
-install -m 755 %{SOURCE3} %{buildroot}%{_datadir}/upgrade/scripts
-
ln -sf ./libsystemd.pc %{buildroot}%{_libdir}/pkgconfig/libsystemd-daemon.pc
ln -sf ./libsystemd.pc %{buildroot}%{_libdir}/pkgconfig/libsystemd-id128.pc
ln -sf ./libsystemd.pc %{buildroot}%{_libdir}/pkgconfig/libsystemd-journal.pc
%{_localstatedir}/log/journal
-%{_datadir}/upgrade/scripts/500.systemd_upgrade.sh
-
%files -n libsystemd
%manifest %{name}.manifest
%license LICENSE.LGPL2.1