!7 Add auto generated files to .gitignore

Merge pull request !7 from tanyulong2021/master
This commit is contained in:
openeuler-ci-bot 2021-12-23 06:39:52 +00:00 committed by Gitee
commit 50e598d60c
2 changed files with 50 additions and 1 deletions

View File

@ -0,0 +1,43 @@
From 058604320d5612715ad1b06bdbd9893261dae7d1 Mon Sep 17 00:00:00 2001
From: tanyulong <tanyulong@kylinos.cn>
Date: Tue, 21 Dec 2021 16:16:44 +0800
Subject: [PATCH] Add auto generated files to .gitignore
---
.gitignore | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 .gitignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6e9efad
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,24 @@
+# Ignore the following files
+*~
+*.[oa]
+*.diff
+*.kate-swp
+*.kdev4
+.kdev_include_paths
+*.kdevelop.pcs
+*.moc
+*.moc.cpp
+*.orig
+*.user
+.*.swp
+.swp.*
+Doxyfile
+Makefile
+avail
+random_seed
+/build*/
+CMakeLists.txt.user*
+*.unc-backup*
+.cmake/
+/.clang-format
+/compile_commands.json
--
2.30.0

View File

@ -1,12 +1,14 @@
Name: attica Name: attica
Version: 0.4.2 Version: 0.4.2
Release: 18 Release: 19
Summary: Implementation of the Open Collaboration Services API Summary: Implementation of the Open Collaboration Services API
License: LGPLv2+ License: LGPLv2+
URL: http://www.kde.org URL: http://www.kde.org
Source0: http://download.kde.org/stable/attica/attica-%{version}.tar.bz2 Source0: http://download.kde.org/stable/attica/attica-%{version}.tar.bz2
patch1: 0001-Add-auto-generated-files-to-.gitignore.patch
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkgconfig(QtNetwork) >= 4.7 BuildRequires: pkgconfig(QtNetwork) >= 4.7
@ -24,6 +26,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%prep %prep
%setup -q %setup -q
%patch1 -p1
%build %build
@ -61,6 +64,9 @@ test "$(pkg-config --modversion libattica)" = "%{version}"
%changelog %changelog
* Tue Dec 21 2021 tanyulong <tanyulong@kylinos.cn> - 0.4.2-19
- Add auto generated files to .gitignore
* Mon Dec 12 2020 huanghaitao <huanghaitao8@huawei.com> - 0.4.2-18 * Mon Dec 12 2020 huanghaitao <huanghaitao8@huawei.com> - 0.4.2-18
- Remove the release suffix - Remove the release suffix