From e539fefe39cbe54101e7f4b1c253f885f84ca152 Mon Sep 17 00:00:00 2001 From: tanyulong2021 Date: Mon, 1 Nov 2021 14:38:07 +0800 Subject: [PATCH] Add .gitattributes --- 0001-Add-gitattributes-file.patch | 22 ++++++++++++++++++++++ ukui-power-manager.spec | 7 ++++++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 0001-Add-gitattributes-file.patch diff --git a/0001-Add-gitattributes-file.patch b/0001-Add-gitattributes-file.patch new file mode 100644 index 0000000..443536b --- /dev/null +++ b/0001-Add-gitattributes-file.patch @@ -0,0 +1,22 @@ +From 055ab233005f8795ae2346034d5521434d973804 Mon Sep 17 00:00:00 2001 +From: tanyulong +Date: Mon, 1 Nov 2021 14:34:37 +0800 +Subject: [PATCH] Add .gitattributes + +--- + .gitattributes | 3 +++ + 1 file changed, 3 insertions(+) + create mode 100644 .gitattributes + +diff --git a/.gitattributes b/.gitattributes +new file mode 100644 +index 0000000..df0353f +--- /dev/null ++++ b/.gitattributes +@@ -0,0 +1,3 @@ ++debian/changelog ++debian/compat ++debian/source/format +-- +2.30.0 + diff --git a/ukui-power-manager.spec b/ukui-power-manager.spec index 3b735a8..dc063cc 100644 --- a/ukui-power-manager.spec +++ b/ukui-power-manager.spec @@ -1,13 +1,14 @@ %define debug_package %{nil} Name: ukui-power-manager Version: 2.0.3 -Release: 2 +Release: 3 Summary: power management tool for the UKUI desktop License: GPL-2+ LGPL-2+ GFDL-1.1+ URL: http://www.ukui.org Source0: %{name}-%{version}.tar.gz patch0: 0001-fix-Log-print-error-correction.patch +patch1: 0001-Add-gitattributes-file.patch BuildRequires: qt5-qtbase-devel,intltool,libcanberra-devel,dbus-glib-devel,libgcrypt-devel,glib2-devel,gtk3-devel,libnotify-devel,libtool, libtool-ltdl,upower-devel,libwnck3-devel,libX11-devel,libXext-devel,perl-XML-Parser,libXrandr-devel,pkg-config,xmlto,yelp-tools,qt5-qtcharts-devel,qt5-qtx11extras-devel,gsettings-qt-devel, gnome-keyring, libgnome-keyring-devel BuildRequires:mate-common >= 1.18 @@ -45,6 +46,7 @@ This package contains the architecture independent files. %prep %setup -q %patch0 -p1 +%patch1 -p1 ./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 -enable-introspection --enable-compile-warnings=yes --enable-egl-device --enable-wayland --enable-native-backend %build @@ -410,6 +412,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/help/zh_CN/ukui-power-manager/legal.xml %changelog +* Mon Nov 1 2021 tanyulong - 2.0.3-3 +- Add .gitattributes file + * Thu Oct 28 2021 tanyulong -2.0.3-2 - fix Log print error correction -- Gitee