Add .gitattributes

This commit is contained in:
tanyulong2021 2021-11-01 14:38:07 +08:00
parent 0686d689d6
commit e539fefe39
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,22 @@
From 055ab233005f8795ae2346034d5521434d973804 Mon Sep 17 00:00:00 2001
From: tanyulong <tanyulong@kylinos.cn>
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

View File

@ -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 <tanyulong@kylinos.cn> - 2.0.3-3
- Add .gitattributes file
* Thu Oct 28 2021 tanyulong <tanyulong@kylinos.cn> -2.0.3-2
- fix Log print error correction