3 Commits

2 changed files with 12 additions and 14 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 27 22:43:32 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Modernize specfile
-------------------------------------------------------------------
Tue Oct 22 13:02:58 UTC 2013 - sndirsch@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package xorg-x11
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,12 +12,12 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: xorg-x11
Url: http://xorg.freedesktop.org/
URL: http://xorg.freedesktop.org/
Version: 7.6_1
Release: 0
## Recommends of packages that we split away from xorg-x11
@@ -143,28 +143,21 @@ This package is a compatibility metapackage. It requires the
X.Org core applications packages.
%prep
%setup -q -T -c '%{name}'
%autosetup -p1 -Tc %name
cp %{SOURCE0} .
%build
%install
pushd $RPM_BUILD_ROOT
%{__tar} xjf '%{S:200}'
popd
tar -C "%{buildroot}" -xjf '%{S:200}'
# Compatibility symlink (Bug #223524)
mkdir -p "${RPM_BUILD_ROOT}%{_bindir}"
%{__ln_s}nf . "${RPM_BUILD_ROOT}%{_bindir}/X11"
%clean
rm -rf "$RPM_BUILD_ROOT"
mkdir -p "%{buildroot}/%{_bindir}"
ln -snf . "%{buildroot}/%{_bindir}/X11"
%files
%defattr(-,root,root)
%doc README.meta
%files essentials
%defattr(-,root,root)
%dir %{_datadir}/X11
%{_datadir}/X11/nls/
%{_bindir}/X11