delete redundant files

This commit is contained in:
yanan-rock 2020-01-08 09:51:02 +08:00
parent 3f95d168f9
commit 2b98bd8ef4
2 changed files with 7 additions and 19 deletions

View File

@ -1,11 +1,10 @@
Name: libxkbcommon
Version: 0.8.4
Release: 2
Release: 3
Summary: X.Org X11 XKB parsing library
License: MIT
URL: https://www.x.org
Source0: https://xkbcommon.org/download/%{name}-%{version}.tar.xz
Source1: make-git-snapshot.sh
BuildRequires: autoconf automake libtool pkgconfig(xcb-xkb) >= 1.10
BuildRequires: xorg-x11-util-macros byacc flex bison libX11-devel
@ -84,6 +83,12 @@ autoreconf -v --install || exit 1
%changelog
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.8.4-3
- Type: enhancement
- ID: NA
- SUG: NA
- DESC:delete redundant files
* Mon Sep 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.4-2
- Type: enhancement
- ID: NA

View File

@ -1,17 +0,0 @@
#!/bin/sh
DIRNAME=libxkbcommon-$( date +%Y%m%d )
rm -rf $DIRNAME
git clone git://anongit.freedesktop.org/git/xorg/lib/libxkbcommon $DIRNAME
cd $DIRNAME
if [ -z "$1" ]; then
git log | head -1
else
git checkout $1
fi
git log | head -1 | awk '{ print $2 }' > ../commitid
git repack -a -d
cd ..
tar jcf $DIRNAME.tar.bz2 $DIRNAME
rm -rf $DIRNAME