From 77dc8f300ef6bf7926128a1ba6dc22383ac14869 Mon Sep 17 00:00:00 2001 From: tanyulong2021 Date: Tue, 21 Dec 2021 16:19:56 +0800 Subject: [PATCH] Add auto generated files to .gitignore --- ...d-auto-generated-files-to-.gitignore.patch | 43 +++++++++++++++++++ attica.spec | 8 +++- 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 0001-Add-auto-generated-files-to-.gitignore.patch diff --git a/0001-Add-auto-generated-files-to-.gitignore.patch b/0001-Add-auto-generated-files-to-.gitignore.patch new file mode 100644 index 0000000..2b6f5da --- /dev/null +++ b/0001-Add-auto-generated-files-to-.gitignore.patch @@ -0,0 +1,43 @@ +From 058604320d5612715ad1b06bdbd9893261dae7d1 Mon Sep 17 00:00:00 2001 +From: tanyulong +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 + diff --git a/attica.spec b/attica.spec index a624084..43c91c9 100644 --- a/attica.spec +++ b/attica.spec @@ -1,12 +1,14 @@ Name: attica Version: 0.4.2 -Release: 18 +Release: 19 Summary: Implementation of the Open Collaboration Services API License: LGPLv2+ URL: http://www.kde.org 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: gcc-c++ BuildRequires: pkgconfig(QtNetwork) >= 4.7 @@ -24,6 +26,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %prep %setup -q +%patch1 -p1 %build @@ -61,6 +64,9 @@ test "$(pkg-config --modversion libattica)" = "%{version}" %changelog +* Tue Dec 21 2021 tanyulong - 0.4.2-19 +- Add auto generated files to .gitignore + * Mon Dec 12 2020 huanghaitao - 0.4.2-18 - Remove the release suffix