Hello community, here is the log from the commit of package compton for openSUSE:Factory checked in at 2018-07-06 10:44:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/compton (Old) and /work/SRC/openSUSE:Factory/.compton.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "compton" Fri Jul 6 10:44:24 2018 rev:4 rq:620949 version:0.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/compton/compton.changes 2016-03-11 09:38:21.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.compton.new/compton.changes 2018-07-06 10:44:29.615076345 +0200 @@ -1,0 +2,8 @@ +Thu May 17 00:38:29 UTC 2018 - avin...@opensuse.org + +- Update to revision 316eac0. Changes since d7f95b5: + * close config file after using it +- remove _service in favor of github archive tarball +- cleanup with spec-cleaner + +------------------------------------------------------------------- Old: ---- _service compton-0.1.0.tar.xz New: ---- compton-0.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ compton.spec ++++++ --- /var/tmp/diff_new_pack.NklfSs/_old 2018-07-06 10:44:29.943075954 +0200 +++ /var/tmp/diff_new_pack.NklfSs/_new 2018-07-06 10:44:29.943075954 +0200 @@ -1,7 +1,7 @@ # # spec file for package compton # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,23 @@ # +%define rev 316eac0613bf342ff91cc645a6c3c80e6b9083fb Name: compton Version: 0.1.0 Release: 0 Summary: A compositor for X11 License: MIT Group: System/X11/Utilities -Url: https://github.com/chjj/compton -Source: %{name}-%{version}.tar.xz +URL: https://github.com/chjj/compton +Source: https://github.com/chjj/compton/archive/%{rev}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: asciidoc BuildRequires: gcc-c++ BuildRequires: git +# For the /usr/share/icons/hicolor/** directories. +BuildRequires: hicolor-icon-theme BuildRequires: libxslt-tools BuildRequires: make -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(libconfig) @@ -43,36 +46,30 @@ BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xrender) +Requires: hicolor-icon-theme +Requires(post): desktop-file-utils +Requires(pre): desktop-file-utils %if 0%{?suse_version} BuildRequires: update-desktop-files %endif -Requires(pre): desktop-file-utils -Requires(post): desktop-file-utils -# For the /usr/share/icons/hicolor/** directories. -BuildRequires: hicolor-icon-theme -Requires: hicolor-icon-theme -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Compton was forked from Dana Jansens' fork of xcompmgr and refactored. %prep -%setup +%setup -q -n %{name}-%{rev} %build # Export the COMPTON_VERSION variable (you may also pass it to make directly) export COMPTON_VERSION=%{version}-%{release} -export CFLAGS="$RPM_OPT_FLAGS" -%__make -%__make docs +export CFLAGS="%{optflags}" +make %{?_smp_mflags} +make %{?_smp_mflags} docs %install +%make_install %if 0%{?suse_version} -%makeinstall -%suse_update_desktop_file compton Utility DesktopUtility -%endif -%if 0%{?fedora_version} -make DESTDIR=$RPM_BUILD_ROOT install +%suse_update_desktop_file %{name} Utility DesktopUtility %endif %post @@ -82,13 +79,13 @@ %desktop_database_postun %files -%defattr(-,root,root,-) -%doc README.md LICENSE -%{_bindir}/compton -%{_bindir}/compton-trans -%{_mandir}/man1/compton.1.gz -%{_mandir}/man1/compton-trans.1.gz +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_bindir}/%{name}-trans +%{_mandir}/man1/%{name}.1%{?ext_man} +%{_mandir}/man1/%{name}-trans.1%{?ext_man} %{_datadir}/applications/*.desktop -%{_datadir}/icons/hicolor/*/apps/compton.* +%{_datadir}/icons/hicolor/*/apps/%{name}.* %changelog