Accepting request 83727 from Base:System

- Remove redundant tags/sections from specfile
  (cf. packaging guidelines) (forwarded request 83220 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/83727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dbus-1?expand=0&rev=74
This commit is contained in:
Sascha Peilicke 2011-09-20 10:51:15 +00:00 committed by Git OBS Bridge
commit 8ffbe2c21a
4 changed files with 12 additions and 14 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
(cf. packaging guidelines)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 1 14:37:16 CEST 2011 - vuntz@opensuse.org Mon Aug 1 14:37:16 CEST 2011 - vuntz@opensuse.org

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: dbus-1-x11 Name: dbus-1-x11
@ -31,7 +30,6 @@ BuildRequires: doxygen libexpat-devel libzio pkg-config update-desktop-files
BuildRequires: audit-devel BuildRequires: audit-devel
Version: 1.5.6 Version: 1.5.6
Release: 1 Release: 1
AutoReqProv: on
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: dbus-1-64bit Obsoletes: dbus-1-64bit
@ -105,9 +103,6 @@ mv $tdir/bin/dbus-launch %{buildroot}/%{_bindir}
mv $tdir/%{_mandir}/man1/dbus-launch.1* %{buildroot}/%{_mandir}/man1 mv $tdir/%{_mandir}/man1/dbus-launch.1* %{buildroot}/%{_mandir}/man1
rm -rf $tdir rm -rf $tdir
%clean
%{__rm} -rf %{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/dbus-launch %{_bindir}/dbus-launch

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
(cf. packaging guidelines)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 1 14:37:16 CEST 2011 - vuntz@opensuse.org Mon Aug 1 14:37:16 CEST 2011 - vuntz@opensuse.org

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: dbus-1 Name: dbus-1
@ -29,7 +28,6 @@ BuildRequires: doxygen libexpat-devel libzio pkg-config update-desktop-files
BuildRequires: audit-devel BuildRequires: audit-devel
Version: 1.5.6 Version: 1.5.6
Release: 1 Release: 1
AutoReqProv: on
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: dbus-1-64bit Obsoletes: dbus-1-64bit
@ -56,19 +54,15 @@ PreReq: permissions /usr/sbin/groupadd /usr/sbin/useradd /sbin/insserv /
%package -n dbus-1-devel %package -n dbus-1-devel
Summary: Developer package for D-Bus Summary: Developer package for D-Bus
Requires: %{name} = %{version} glibc-devel Requires: %{name} = %{version} glibc-devel
AutoReqProv: on
Group: Development/Libraries/Other Group: Development/Libraries/Other
%package -n dbus-1-devel-doc %package -n dbus-1-devel-doc
Summary: Developer documentation package for D-Bus Summary: Developer documentation package for D-Bus
Requires: %{name} = %{version} Requires: %{name} = %{version}
Group: Development/Libraries/Other Group: Development/Libraries/Other
AutoReqProv: on
%if 0%{?suse_version} >= 1120 %if 0%{?suse_version} >= 1120
BuildArch: noarch BuildArch: noarch
%endif %endif
@ -164,9 +158,6 @@ install -m 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/ConsoleKit/run-session.d
mkdir -p %{buildroot}%{_localstatedir}/lib/dbus mkdir -p %{buildroot}%{_localstatedir}/lib/dbus
touch %{buildroot}/%{_localstatedir}/lib/dbus/machine-id touch %{buildroot}/%{_localstatedir}/lib/dbus/machine-id
%clean
%{__rm} -rf %{buildroot}
%pre %pre
/usr/sbin/groupadd -r messagebus 2> /dev/null || : /usr/sbin/groupadd -r messagebus 2> /dev/null || :
/usr/sbin/useradd -r -o -s /bin/false -c "User for D-Bus" -d /var/run/dbus -g messagebus messagebus 2> /dev/null || : /usr/sbin/useradd -r -o -s /bin/false -c "User for D-Bus" -d /var/run/dbus -g messagebus messagebus 2> /dev/null || :