Compare commits

..

4 Commits

Author SHA1 Message Date
Arjan van de Ven 463112629b packages update 2024-08-13 15:18:01 +00:00
Arjan van de Ven 0fd1fc5a1d packages update 2024-07-30 16:29:55 +00:00
William Douglas 0e9a2b7e82 Force git attributes for vendor directories
Avoid cases where user git settings cause files to have different line
endings than the package and cause hash mismatches when building.

Signed-off-by: William Douglas <william.douglas@intel.com>
2024-07-25 12:45:07 -07:00
William Douglas 398fb69708 Always remove the pumpAutospec file
Remove pumpAutospec even if the package hasn't yet become a git repo
yet.

Signed-off-by: William Douglas <william.douglas@intel.com>
2024-07-24 15:36:47 -07:00
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ preautospec-checks:
#help to autospec.
#help For more information, see the project at https://github.com/clearlinux/autospec
autospec: preautospec-checks pullrebase localreponotice clean-old-content
git rm --ignore-unmatch pumpAutospec
git rm --ignore-unmatch pumpAutospec || rm -f pumpAutospec
@if [ -e $(SPECFILE) ] && ! grep -q "# Generated by: autospec.py" $(SPECFILE) ; then \
echo "Specfile already exists and was not created by autospec.py! Aborting."; \
exit 1; \
+8 -6
View File
@@ -355,6 +355,7 @@ R-drc
R-dreamerr
R-dtplyr
R-dtw
R-duckdb
R-dygraphs
R-dynamicTreeCut
R-dynlm
@@ -660,6 +661,7 @@ R-mvnormtest
R-mvoutlier
R-mvtnorm
R-nanoarrow
R-nanoparquet
R-natserv
R-ncbit
R-ncdf4
@@ -883,6 +885,7 @@ R-sessioninfo
R-setRNG
R-sets
R-sf
R-sfd
R-sfsmisc
R-sgeostat
R-shape
@@ -1307,7 +1310,6 @@ cmocka
cmrt
cmus
cnf
cni
cni-plugins
cockpit
codec2
@@ -1559,7 +1561,6 @@ freeglut
freeipmi
freetype
fribidi
fritzing-app
frozen
fs
fsarchiver
@@ -1588,8 +1589,6 @@ gdm
geany
geany-plugins
geary
gedit
gedit-plugins-gnome
geeqie
gegl
gengetopt
@@ -3440,7 +3439,6 @@ perl-Test-Without-Module
perl-Test-YAML
perl-Test-utf8
perl-Test2-Plugin-NoWarnings
perl-Test2-Suite
perl-Text-Autoformat
perl-Text-Brew
perl-Text-CSV
@@ -3712,6 +3710,7 @@ pypi-acme
pypi-adal
pypi-aiodns
pypi-aiofiles
pypi-aiohappyeyeballs
pypi-aiohttp
pypi-aiohttp_cors
pypi-aiosignal
@@ -4795,6 +4794,7 @@ qemu
qemu-guest-additions
qgit
qhull
qmapshack
qml-box2d
qpdf
qqc2-desktop-style
@@ -4894,7 +4894,6 @@ re2c
readline
rebootmgr
recode
redis-native
redis2-nginx-module
redland
redsocks
@@ -4909,6 +4908,7 @@ rng-tools
robin-map
roboto
rofi
routino
rpcbind
rpcsvc-proto
rpm
@@ -5134,6 +5134,7 @@ v4l-utils
vala
valgrind
valijson
valkey
vbox-integration
vid.stab
vifm
@@ -5147,6 +5148,7 @@ virt-manager
virt-viewer
vkd3d
vlc
volk
volume_key
vpnc
vsqlite
+2
View File
@@ -76,6 +76,8 @@ def update_cargo_vendor(path, name, git):
cargo_vendors = subprocess.run('cargo vendor', cwd=path, shell=True,
check=True, stdout=subprocess.PIPE,
universal_newlines=True).stdout
with open(os.path.join(vendor_path, ".gitattributes"), "w", encoding='utf8') as gafile:
gafile.write("* text=false\n")
subprocess.run(f"cp -a {backup_vendor_git} {vendor_git}", cwd=path,
shell=True, check=True, stdout=subprocess.DEVNULL)
repo = Repo(vendor_path)