Description : Changed the spec file for systemd v231
authorwchang kim <wchang.kim@samsung.com>
Thu, 10 Nov 2016 02:49:47 +0000 (11:49 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 26 Jan 2024 16:49:49 +0000 (17:49 +0100)
Change-Id: I50cc42956efb6093286b8bacdc3af4789c8b8fa0
Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
packaging/systemd.spec [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 31d57b5..ce7af8c
@@ -20,12 +20,12 @@ License:        LGPL-2.1+ and MIT and GPL-2.0+
 Summary:        A System and Service Manager
 Url:            http://www.freedesktop.org/wiki/Software/systemd
 Group:          Base/Startup
-Source0:        http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
+Source0:        http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.gz
 Source1:        pamconsole-tmp.conf
 Source2:        %{name}-rpmlintrc
 Source1001:     systemd.manifest
 Source3:        systemd_upgrade.sh
-Source4:        test-runner.c
+#Source4:        test-runner.c
 BuildRequires:  gperf
 BuildRequires:  intltool >= 0.40.0
 BuildRequires:  libacl-devel
@@ -104,19 +104,19 @@ initialization at boot.
 'systemd-analyze plot' renders an SVG visualizing the parallel start of units
 at boot.
 
-%package tests
-License:        LGPL-2.1+ and Apache-2.0
-Summary:        Set of tests for sd-bus component
-Requires:       %{name} = %{version}
+#%package tests
+#License:        LGPL-2.1+ and Apache-2.0
+#Summary:        Set of tests for sd-bus component
+#Requires:       %{name} = %{version}
 
-%description tests
-This package is part of 'dbus-integratnion-tests' framework and contains set of tests
-for sd-bus component (DBUS API C library).
+#%description tests
+#This package is part of 'dbus-integratnion-tests' framework and contains set of tests
+#for sd-bus component (DBUS API C library).
 
 %prep
 %setup -q
 cp %{SOURCE1001} .
-cp %{SOURCE4} .
+#cp %{SOURCE4} .
 
 %build
 %autogen
@@ -164,7 +164,7 @@ make %{?_smp_mflags} \
         userunitdir=%{_unitdir_user}
 
 # compile test-runner for 'dbus-integration-test' framework
-%__cc %{_builddir}/%{name}-%{version}/test-runner.c -o %{_builddir}/%{name}-%{version}/systemd-tests
+#%__cc %{_builddir}/%{name}-%{version}/test-runner.c -o %{_builddir}/%{name}-%{version}/systemd-tests
 
 %install
 %make_install
@@ -268,10 +268,10 @@ rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-gpt-auto-gen
 rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-hibernate-resume-generator
 
 # Preapre tests for 'dbus-integration-test' framework
-install -D -m 755 %{_builddir}/%{name}-%{version}/systemd-tests %{buildroot}%{_prefix}/lib/dbus-tests/runner/systemd-tests
-mkdir -p %{buildroot}%{_prefix}/lib/dbus-tests/test-suites/systemd-tests/
-mv %{_builddir}/%{name}-%{version}/test-bus-* %{buildroot}%{_prefix}/lib/dbus-tests/test-suites/systemd-tests/
-rm %{buildroot}%{_prefix}/lib/dbus-tests/test-suites/systemd-tests/test-bus-policy
+#install -D -m 755 %{_builddir}/%{name}-%{version}/systemd-tests %{buildroot}%{_prefix}/lib/dbus-tests/runner/systemd-tests
+#mkdir -p %{buildroot}%{_prefix}/lib/dbus-tests/test-suites/systemd-tests/
+#mv %{_builddir}/%{name}-%{version}/test-bus-* %{buildroot}%{_prefix}/lib/dbus-tests/test-suites/systemd-tests/
+#rm %{buildroot}%{_prefix}/lib/dbus-tests/test-suites/systemd-tests/test-bus-policy
 
 # Shell Completion
 %if ! %{?WITH_BASH_COMPLETION}
@@ -554,9 +554,9 @@ fi
 %manifest %{name}.manifest
 %{_bindir}/systemd-analyze
 
-%files tests
-%manifest %{name}.manifest
-%{_prefix}/lib/dbus-tests/test-suites/systemd-tests/
-%{_prefix}/lib/dbus-tests/runner/systemd-tests
+#%files tests
+#%manifest %{name}.manifest
+#%{_prefix}/lib/dbus-tests/test-suites/systemd-tests/
+#%{_prefix}/lib/dbus-tests/runner/systemd-tests
 
 %docs_package